Live site: https://nspulse.xyz
Stats dashboard for NS, including info on monthly events, member countries and talents. Built using QuickDapp.
Requires:
Install dependencies
bun iStart the database server in a separate terminal:
docker compose up --buildSetup database schema:
bun run db pushGet an Anthropic API key and place it in .env.local:
ANTHROPIC_API_KEY=
Run the dev server:
bun run devHot-module reload is now enabled (except for changes to .env files). Access the site at http://localhost:5173
Event data is fetched directly from the NS calendar and then processed via Claude.
- Use DiscordChatExporter to export:
#receptionchannel ->./data/reception.csv
- Run
bun run scripts/parseReceptionCsv.ts - Check that
./src/shared/stats/reception.jsonexists.
Note: If the script fails halfway you can re-run it and it will resume from where it left off. To force a fresh run delete the .parseReception.progress file in the root folder.
- Use DiscordChatExporter to export:
#discussionchannel ->./data/discussion.csv
- Run
bun run scripts/parseDiscussionCsv.ts - Check that
./src/shared/stats/discussion.jsonexists.
Note: If the script fails halfway you can re-run it and it will resume from where it left off. To force a fresh run delete the .parseDiscussion.progress file in the root folder.
The Docker Build & Push workflow auto-runs on main branch pushes, building the nspulse image. This then gets deployed to DigitalOcean.
MIT — see LICENSE.md
