Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notnite/sprouttracker
Dalamud plugin to track game progression
https://github.com/notnite/sprouttracker
Last synced: 4 days ago
JSON representation
Dalamud plugin to track game progression
- Host: GitHub
- URL: https://github.com/notnite/sprouttracker
- Owner: NotNite
- Created: 2023-11-03T21:35:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T13:51:50.000Z (4 months ago)
- Last Synced: 2024-07-17T17:05:17.229Z (4 months ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SproutTracker
[Dalamud](https://github.com/goatcorp/Dalamud) plugin to track game progression.
## Server setup
Create a .env file in `server/` with the following values:
```ini
PORT=3000
DATABASE_URL="file:./database.db"
DISCORD_TOKEN="redacted"
ADMIN_KEY="redacted"
XIVAPI_KEY="redacted"
```Then, run these commands to build and start the server:
- `npm i -D`
- `npm run prisma-generate`
- `npm run build`
- `npm run prisma-db-push`
- `NODE_ENV=production npm run start`The `ADMIN_KEY` can then be used to create a new user:
```bash
$ curl -H "Authorization: Bearer " -H "Content-Type: application/json" -X POST -d'{"username":"notnite"}' http://localhost:3000/admin/create
{"username":"notnite","key":""}
```This key can be distributed to your friends to track their progress.