my donation page
Go to file
Ben Harris 1ba813eb69 fix some links 2022-11-10 11:38:15 -05:00
_static remove glyphicons and local copy of bootstrap 2022-11-10 11:37:47 -05:00
contrib Merge pull request #16 from Perflyst/remove-cdn 2019-12-30 12:06:03 -07:00
emails yeet pystache 2021-06-24 10:39:35 -04:00
fosspay require at least $5 2022-01-09 16:39:14 -05:00
scripts require at least $5 2022-01-09 16:39:14 -05:00
templates fix some links 2022-11-10 11:38:15 -05:00
.gitignore Initial commit 2015-09-04 22:51:20 -04:00
LICENSE Initial commit 2015-09-04 22:51:20 -04:00
Makefile have Makefile `cp -r` the _static contents 2020-04-27 11:32:31 -04:00 Update README to reflect IRC's move to libera 2021-06-20 10:54:38 -04:00 Fix a signal bug on python post 3.8 version 2020-12-06 09:39:36 -05:00
config.ini.example Change example domains to 2019-12-24 17:12:22 +01:00 Use the configured currency during the cronjob 2020-04-27 11:32:31 -04:00
invoice Add support for invoices 2019-02-06 09:05:58 -05:00
requirements.txt Update requirements.txt 2021-10-06 08:22:17 +02:00

fosspay Donate with fosspay

Donation collection for FOSS groups and individuals.

  • Supports one-time and monthly donations
  • Process cards with Stripe
  • Flexible and customizable

It works for individuals (like me) and it works for organizations. Expect to spend about an hour or two setting up everything and then you're good to go.

For support, visit #cmpwn on or file a GitHub issue.

Before you start

You will need a number of things set up before you start:

  1. An approved Stripe account
  2. A mail server
  3. A domain name and an SSL certificate
  4. A web server to host fosspay on


Install these things:

  • Python 3
  • pip (python 3)
  • PostgreSQL

You're responsible for setting up PostgreSQL yourself. Prepare a connection string for later.

Clone the git repository on the server that you want to host fosspay on:

git clone
cd fosspay

Install the Python packages:

sudo pip3 install -r requirements.txt

Compile the static assets:


Create a configuration file:

cp config.ini.example config.ini

Edit config.ini to your liking. Then, you can run the following to start up the development server:


Log into http://your-domain:5000, and you will receive further instructions.


Once you have everything configured, you will need to switch from the dev server into something more permanent. Install gunicorn on your server and use the systemd unit provided in contrib/. You will also probably want to run this through nginx instead of directly exposing gunicorn to the web, see contrib/nginx.conf. Neither the nginx configuration or the systemd unit are immediately ready to use - read them and change them to suit your needs.

Using nginx or something like it is necessary for SSL support, and you must serve your site with https for Stripe to work.