Build and run cross-platform browser extensions from one codebase.
Please see the introductory blog post for details on the history of this project.
Documentation can be found here.
- Python dependencies:
sudo apt-get install python-setuptools python-pip python-virtualenv - Mercurial:
sudo apt-get install mercurial - Git:
sudo apt-get install git - Java Runtime:
sudo apt-get install default-jre - NSIS:
sudo apt-get install nsis(Only needed if you want to do IE builds)
- Python dependencies:
sudo easy_install pip virtualenv - Mercurial: http://mercurial.selenic.com
- Git: http://git-scm.com
-
Add the following paths: (Control Panel -> System -> Advanced -> Environment Variables)
C:\Python27;C:\Python27\Scripts -
Python setuptools: https://pypi.python.org/pypi/setuptools/1.0#windows
-
Python dependencies:
easy_install pip virtualenv -
Git: http://git-scm.com/download/win (Choose "Run Git from the Windows Command Prompt option!)
-
NSIS: http://nsis.sourceforge.net/ (Version 2.46)
Add the following paths: (Control Panel -> System -> Advanced -> Environment Variables)
C:\Program Files (x86)\NSIS
git clone https://github.com/trigger-corp/browser-extensions.git
cd browser-extensions
virtualenv --no-site-packages ./python-env
source ./python-env/bin/activate
.\python-env\Scripts\activate.bat
cd generate
pip install -r requirements.txt
python setup.py develop
cd ..
source ./python-env/bin/activate
.\python-env\Scripts\activate.bat
Create a directory for your extension, change into it and then run:
forge-extension create
forge-extension build <platform>
Where <platform> is one of chrome, safari, firefox or ie
forge-extension package <platform>
Where <platform> is one of chrome, safari, firefox or ie
https://github.com/rei-colina-experiments/ie-browser-extension-demo Includes setup instructions and an explanation of how background and content scripts work.
forge-module-test-app -o ~/forge-workspace/v2automated/src -t automated all
forge-module-test-app -o ~/forge-workspace/v2interactive/src -t interactive all