A way to reward and acknowledge all that time you've spent doing nothing of use on the internet!
You'll need
- A database,
magicalinternetpoints.sqlite3
- You can make this from
schema.sql
with the commandsqlite3 magicalinternetpoints.sqlite3 < schema.sql
. - It'll be empty, but for any functionality you'll want to add some sites and point sources.
- You can make this from
- A GitHub OAuth app, and a Reddit OAuth app
- A
.env
file, exporting environment variables:MIP_PORT
, the port to run the server onMIP_BASEURL
, the base URL on which the server will runGITHUB_TOKEN
, the GitHub OAuth IDGITHUB_SECRET
, the GitHub OAuth secretREDDIT_TOKEN
, the Reddit OAuth IDREDDIT_SECRET
, the Reddit OAuth secret
Then, run source .env && go run .