Skip to content

A configuration converter for the FoxyProxy Firefox plugin from v4.6.5 to v5.x

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

foxyproxy/FoxyproxyConfigConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoxyProxy Plugin Configuration Converter

If you're reading this, it's likely that you want to run a local instance of the configuration converter. This is encouraged and advisable; while I can personally guarantee that we don't keep what you upload (nor would we need or want to) on our online instance, we released this tool under an open source license so that you can run it locally and modify it as you see fit. We even include a commandline tool you can use so you don't even need to host the website interface! (Which is a good thing; uwsgi is not for the faint of heart.)

Usage

The quickest way to get started is to make sure Python 2.6+ is installed at the bare minimum. The web interface (app/{views, models, etc.}.py) and commandline interface (app/fpconvert-cli.py) have both been tested with Python 3, and both work just fine.

It's highly recommended that you install the LXML module as well; it offers much safer processing. Since you're only processing one configuration file and it's (presumably) your own, though, this isn't as much of a concern; it'll work just fine with the Python standard library modules.

Commandline Interface

To use the tool from the commandline, simply execute the app/fpconvert-cli.py application - it only takes one (required) argument, the path to your foxyproxy.xml file. See our online instance for more info on where to find that file; it should be in the base of your Firefox profile directory. It has been tested and works in GNU/Linux, macOS, and Windows 10.

Note that if you wish to use Python 3, you must execute it as follows (according to what the binary is called on your system):

python3 fpconvert-cli.py path/to/foxyproxy.xml

Web Interface

The web interface is written in Flask. You'll need to have the module installed for the version of Python you want to use. To run a local instance, simply run:

FLASK_APP=run.py flask run

in the root directory of the project. If you want something more persistent, however, you'll need to use something like uwsgi. Unfortunately, that's a major undertaking that's out-of-scope for this documentation. The web interface, both Flask execution and uwsgi deployment, has only been tested in GNU/Linux.

About

A configuration converter for the FoxyProxy Firefox plugin from v4.6.5 to v5.x

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published