Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kettek/itchio-gamejam-external-voting
Externally hosted itch.io game jam voting with average-based results instead of weighted
https://github.com/kettek/itchio-gamejam-external-voting
Last synced: 19 days ago
JSON representation
Externally hosted itch.io game jam voting with average-based results instead of weighted
- Host: GitHub
- URL: https://github.com/kettek/itchio-gamejam-external-voting
- Owner: kettek
- License: gpl-3.0
- Created: 2023-06-09T22:50:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-23T11:54:52.000Z (12 months ago)
- Last Synced: 2024-04-30T08:07:30.174Z (8 months ago)
- Language: Go
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# External itch.io GameJam Voting System
This project is a standalone go program that can be used to manually manage voting for itch.io with no weighting algorithms, just averages.## Setup
Create a `config.json` file with at least the following:```json
{
"Address": ":3000",
"GameJam": "my-game-jam",
"ClientID": "",
"OAuthRedirect": "",
"VotingEnabled": true,
"VotingFinished": false
}
```**Address** is the address + port to listen for HTTP connections on.
**GameJam** is the game jam's name, as derived from the jam's URL. e.g, "https://itch.io/jam/ebiten-game-jam" -> "ebiten-game-jam"
**ClientID** is the ClientID of the OAuth Application created under the developer's/host's itch.io Settings.
**OAuthRedirect** is the OAuth redirect URL. This should be the location where the jam voting is accessible from, but with "auth" appended. e.g, "https://kettek.net/jams/ebiten-jam" -> "https://kettek.net/jams/ebiten-jam/auth"
**VotingEnabled** allows voting to be done by users that have logged in.
**VotingFinished** prevents any further voting and shows the averaged results on the entries index.
## Running
You can either build and run the go application or just issue `go run .`. This will read the config.json file, set up needed databases, collect information of the jam, then start the server.