tracks lexicons and how many times they appeared on the jetstream
1a webapp and server that monitors the jetstream and tracks the different
2lexicons as they are created or deleted. it shows you which collections are most
3active on the network.
4
5for backend it uses rust with fjall as db, the frontend is built with sveltekit.
6
7see [here](https://gaze.systems/nsid-tracker) for a hosted instance of it.
8
9## performance / storage
10
11it uses about 50MB of space for 620M recorded events (events being just
12timestamp in seconds and deleted boolean for now). and around 50-60ms for
13querying 300-400k events.
14
15this is on a machine with AMD EPYC 7281 (32) @ 2.100GHz.
16
17## running
18
19### with nix
20
21- build the server: `nix build git+https://tangled.sh/@poor.dog/nsid-tracker#server`
22- build the client: `nix build git+https://tangled.sh/@poor.dog/nsid-tracker#client`
23
24### manually
25
26you'll need rust and bun.
27
28then:
29
30```bash
31# start the backend
32cd server && cargo run
33
34# in another terminal, start the frontend
35cd client && bun install && bun run -b dev
36```
37
38the frontend will be available at `http://localhost:5173` and the backend at `http://localhost:3713`.