Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.