Developer Guide
Want to test the latest unreleased changes or contribute to development? This guide shows you how to load Iran Amplifier directly from source in Firefox.
Most users should install from Firefox Add-ons instead.
1 Load the Development Version
Download the latest code from GitHub and load it as a temporary add-on in Firefox.
-
Download the source
Go to the releases page and download the latest
.zipfile, or clone the repository:git clone https://github.com/4iranorg/amplifier-ext.git -
Open Firefox debugging
Type
about:debuggingin Firefox's address bar and press Enter. -
Load the extension
Click "This Firefox" in the sidebar, then click "Load Temporary Add-on".
-
Select the manifest
Navigate to the extension folder and select the
manifest.jsonfile.
2 Get an API Key
An API key is like a password that lets the extension use AI services. You'll need one from either OpenAI or Anthropic.
3 First-Time Setup
When you first install the extension, a setup wizard will guide you through configuration.
-
Review privacy notice
The extension explains how your data is handled. TL;DR: Everything stays on your device.
-
Choose your talking points
Select which facts and human rights issues the AI can reference in responses.
-
Choose calls to action
Select which policy demands you want to advocate for.
-
Enter your API key
Paste the API key you copied earlier. This is stored locally on your device only.
That's it! You're ready to start amplifying voices for Iranian freedom.
4 Using the Extension
-
Go to X (Twitter)
Open x.com in Firefox.
-
Find a post about Iran
Look for posts discussing Iranian civil society, human rights, or related topics.
-
Click the Amplify button
You'll see an "Amplify" button appear near posts. Click it to generate response suggestions.
-
Review and post
Choose a response, edit if you like, then click Reply or Quote to post. You're always in control.
Need Help?
If you run into issues, check the GitHub Issues page or open a new issue describing your problem.