build: vendor dependencies as submodules

This commit is contained in:
ookami125 2026-06-24 23:51:21 -04:00
parent 252bc8140b
commit bc1eb5a08e
8 changed files with 23 additions and 8 deletions

View file

@ -26,7 +26,7 @@ apps/echo/ Phase 1 gate: io_uring echo server on the buffer pool
apps/leech/ Phase 3 gate: verified single-peer download
apps/swarm/ tracker/DHT discovery, magnets, and concurrent peers
apps/nautctl/ thin CLI frontend over daemon RPC
plugins/webui/ daemon plugin that serves ../torrent-ui as the web panel
plugins/webui/ daemon plugin that serves web/torrent-ui as the web panel
tests/unit/ unit + concurrency tests
```
@ -124,11 +124,11 @@ For tooling and plugin methods, the generic form remains
### Web panel
The web panel is a daemon plugin, not part of `nautctl`. It serves the static
frontend from `../torrent-ui/public` by default and adapts that UI's `/api/*`
frontend from `web/torrent-ui/public` by default and adapts that UI's `/api/*`
contract to Naut's daemon RPC surface:
```sh
NAUT_WEBUI_ROOT=../torrent-ui/public \
NAUT_WEBUI_ROOT=web/torrent-ui/public \
NAUT_AUTH_PASSWORD='change-me' \
./build/nautd --socket /tmp/nautd.sock --plugin ./build/naut_webui.so
# open http://127.0.0.1:8080
@ -139,7 +139,7 @@ Configuration:
```sh
NAUT_WEBUI_HOST=127.0.0.1 # default
NAUT_WEBUI_PORT=8080 # default
NAUT_WEBUI_ROOT=../torrent-ui/public
NAUT_WEBUI_ROOT=web/torrent-ui/public
NAUT_AUTH_USER=admin # default
NAUT_AUTH_PASSWORD=change-me # generated and logged if omitted
NAUT_WEBUI_SAVE_PATH=/downloads # default add-torrent destination