Initial commit

This commit is contained in:
askiiart 2024-11-21 13:19:57 -06:00
commit 493d019352
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
9 changed files with 1798 additions and 0 deletions

22
dev-notes.md Normal file
View file

@ -0,0 +1,22 @@
# Dev notes
## Resources
- <https://torznab.github.io/spec-1.3-draft/index.html>
- <https://www.git.je/Mirrors/Sonarr/wiki/Implementing-a-Torznab-indexer>
- for testing: <https://fosstorrents.com/thankyou/?name=debian&cat=Installation%20-%20amd64&id=0&hybrid=0>
---
```rs
struct TorznabToolkitConfig {
auth_func: auth,
search_func: search,
whateverotherfunc: otherfunc,
port: 5309
}
fn launch() -> Result {
rocket::build().mount("/", routes![tt::search, tt:otherfunc])
}
```