Files
trackers/README.md

32 lines
639 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Trackers
Опрашивает ссылки со списками torrent-трекеров,
соединяет их в один список. Поддерживает кеширование,
http, file источники.
Учебный проект.
## Запуск
```shell
trackers --config config.toml
```
Получение списка трекеров:
```shell
curl http://127.0.0.1:8080/list
```
## Конфигурация
Источники для трекеров описываются в toml-конфиге:
```toml
port = 8080
sources = [
"https://example.com",
"file:///home/user/local-file.txt",
]
```