Netzfreiheit / Contact-Your-MEP

Mail or Fax your MEPs
http://www.savetheinternet.eu/
BSD 2-Clause "Simplified" License
9 stars 11 forks source link

pimail - Mail/Faxwidget for the EP

Find a random MEP and write a mail or a fax in your browser.

Installation

pimail depends on:

install with pip install -r requirements.txt

Edit the mail.tmpl and files in static/ to your liking

Edit settings.py (look at settings.py.tmpl for an example file)

Fill data.json with an array of data about the MEPs (or MPs or whatever)

and start with: python pimail.py

this will run a webserver on port 8080

Contribution

Contributions are always welcome! What you can do

embed

you can easily use our widget on your own website. Just copy&paste this html embed code.

Mail: <object data="https://faxjh.savetheinternet.eu/sti/mail/" width="630" height="390" ></object>

Fax: <object data="https://faxjh.savetheinternet.eu/sti/fax/" width="630" height="390" ></object>

Fax: (only polish S&D MEPs) <object data="https://faxjh.savetheinternet.eu/sti/fax/?group=sd&country=pl" width="630" height="390" ></object>

Fax: (only specific MEP) <object data="https://faxjh.savetheinternet.eu/sti/fax/?id=124990" width="630" height="390" ></object>

Twitter: <object data="https://faxjh.savetheinternet.eu/sti/tweet/" width="630" height="390" ></object>

How can I translate this tool

UPDATE: please always work on up-to-date versions of your forked repository. if you forked your repository some time back then better delete it and fork again (or use comand line to update).