···99axum-metrics = "0.2"
1010bincode = "1.3.3"
1111clap = { version = "4.5.26", features = ["derive"] }
1212+ctrlc = "3.4.5"
1213flume = { version = "0.11.1", default-features = false }
1314fs4 = { version = "0.12.0", features = ["sync"] }
1415links = { path = "../links" }
···1819rocksdb = { version = "0.23.0", optional = true }
1920serde = { version = "1.0.215", features = ["derive"] }
2021tinyjson = "2.5.1"
2222+tokio-util = "0.7.13"
2123zstd = "0.13.2"
22242325[dependencies.tokio]
+12-5
link_aggregator/readme.md
···7575- [x] custom path for db storage
7676- [x] api server to look up backlink count
7777- [ ] other useful endpoints for the api server
7878- - [ ] show all nisd/path links to target
7878+ - [x] show all nisd/path links to target
7979 - [ ] get backlinking dids
8080 - [ ] paging for all backlinking dids
8181 - [ ] get count + most recent dids
8282 - [ ] get count with any dids from provided set
8383-- [ ] write this readme
8383+- [~] write this readme
8484- [ ] fix it sometimes getting stuck
8585 - seems to unstick in my possibly-different repro (letting laptop fall asleep) after a bit.
8686 - [ ] add a detection for no new links coming in after some period
···9898- [ ] deadletter queue of some kind for failed db writes
9999 - [ ] also for valid json that was rejected?
100100- [x] get it running on raspi
101101-- [ ] get an estimate of disk usage per day after a few days of running
101101+- [~] get an estimate of disk usage per day after a few days of running
102102- [ ] make the did_init check only happen on test config (or remove it)
103103- [ ] actual error types (thiserror?) for lib-ish code
104104- [ ] clean up the main readme
105105- [x] web server metrics
106106- [ ] tokio metrics?
107107-- [ ] handle shutdown cleanly -- be nice to rocksdb
107107+- [x] handle shutdown cleanly -- be nice to rocksdb
108108- [x] add user-agent to jetstream request
109109-- [ ] possibly add tracing stuff also to complement metrics (at least for web reqs)
109109+110110+data fixes
111111+- [ ] add rkey to linkers 🤦♀️
112112+- [ ] links:
113113+ - [ ] pull `$type`/`type` from object children of arrays (distinguish replies, quotes, etc)
114114+ - [ ] actually define the format (deal with in-band dots etc)
115115+ - [ ] _could_ throw cid neighbour into the target. probably should? but it's a lot of high volume uncompressible bytes
116116+ - and it could be looked up from the linker's doc