https://github.com/notnite/sprouttracker
Dalamud plugin to track game progression
https://github.com/notnite/sprouttracker
Last synced: 4 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T17:09:10.000Z (over 1 year ago)
- Last Synced: 2025-04-29T02:39:57.184Z (about 1 year ago)
- Language: TypeScript
- Size: 53.7 KB
- Stars: 3
- Watchers: 1
- 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.