Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zac-garby/magicalinternetpoints
https://github.com/zac-garby/magicalinternetpoints
hacktoberfest
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zac-garby/magicalinternetpoints
- Owner: zac-garby
- Created: 2021-09-30T17:17:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T09:29:19.000Z (8 months ago)
- Last Synced: 2024-02-27T19:28:18.639Z (8 months ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 355 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# magicalinternetpoints
A way to reward and acknowledge all that time you've spent doing
nothing of use on the internet!## Running the server
You'll need
- A database, `magicalinternetpoints.sqlite3`
- You can make this from `schema.sql` with the command `sqlite3 magicalinternetpoints.sqlite3 < schema.sql`.
- It'll be empty, but for any functionality you'll want to add some sites and point sources.
- A GitHub OAuth app, and a Reddit OAuth app
- A `.env` file, exporting environment variables:
- `MIP_PORT`, the port to run the server on
- `MIP_BASEURL`, the base URL on which the server will run
- `GITHUB_TOKEN`, the GitHub OAuth ID
- `GITHUB_SECRET`, the GitHub OAuth secret
- `REDDIT_TOKEN`, the Reddit OAuth ID
- `REDDIT_SECRET`, the Reddit OAuth secretThen, run `source .env && go run .`