docs: Astar Hub moved to astar76sites.parore-gila.ts.net
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
9900fcb9db
commit
97124682e1
2 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ Never modify: `data/` contents on the server (`/root/Dezio/data`, live user data
|
|||
- Build and test on this PC: `source ~/.cargo/env; cargo build --release` and `cargo test` (about 227 unit tests). Tests that need the internet are `#[ignore]`d (`cargo test live_ -- --ignored`).
|
||||
- Without `DEZIO_LIVE=1` the binary only lists its commands and exits. **Never run it with the real token on this PC**: the live bot would answer twice.
|
||||
- Local website for testing: `cargo build && DISCORD_BOT_TOKEN=dev-placeholder target/debug/dezio --web-dev` → http://127.0.0.1:8099 (also the `dezio-web-dev` entry in `.claude/launch.json`).
|
||||
- Server: the Chromebook, `ssh [email protected]` (Arch Linux, x86_64). Bot in `/root/Dezio` (binary `dezio`, `assets/`, `web/`, `data/`, `.env`). `dezio-bot.service` runs `/root/Dezio/dezio --headless`, Restart=always; website on 127.0.0.1:8080, public at https://astar76sites.tail7c4f5e.ts.net. Logs: `journalctl -u dezio-bot`.
|
||||
- Server: the Chromebook, `ssh [email protected]` (Arch Linux, x86_64). Bot in `/root/Dezio` (binary `dezio`, `assets/`, `web/`, `data/`, `.env`). `dezio-bot.service` runs `/root/Dezio/dezio --headless`, Restart=always; website on 127.0.0.1:8080, public at https://astar76sites.parore-gila.ts.net. Logs: `journalctl -u dezio-bot`.
|
||||
- The server's line is slow: measured about 425 KB/s down and **114 KB/s (≈ 0.9 Mbit/s) up**, on `wlan0`. `dezio-shape.service` (deploy/shape-upload.sh, installed as `/usr/local/bin/dezio-shape`) caps internet-bound upload at 800 kbit with fq_codel so voice packets go first. Voice and every upload share that.
|
||||
- Discord HTTP client: one twilight `Client` with a 180 s timeout for every call (`src/main.rs`). `/download` retries uploads 3 times (`UPLOAD_RETRIES`), so a file that can't finish in 180 s costs 9+ minutes (seen 2026-11-12: a 9.2 MB video, 3 timeouts, handler took 792 s).
|
||||
- Discord's attachment limit for bots is 10 MiB unless the server is boosted (tier 2: 50 MiB, tier 3: 100 MiB). `media::upload_limit` reads the server's tier; `FALLBACK_UPLOAD_LIMIT` lives in `download/plan.rs`.
|
||||
|
|
@ -64,7 +64,7 @@ Never modify: `data/` contents on the server (`/root/Dezio/data`, live user data
|
|||
- Upload time, not file size, is what breaks: at ~100 KB/s a 10 MiB file needs ~105 s on an idle line and much longer with voice. Any upload path must think in seconds.
|
||||
- Retrying a whole upload that timed out just repeats the timeout. Retry only on errors that can succeed the second time.
|
||||
- yt-dlp, ffmpeg, gallery-dl and curl are child processes fed user links: never pass user text where it can become an option (`--`), keep the private-network check (`safe_redirects`, music's check) on every fetch.
|
||||
- Security testing runs against a **local copy only** (`--web-dev` on 127.0.0.1). Never send attack traffic to https://astar76sites.tail7c4f5e.ts.net or Discord. Never connect to Tor or proxies.
|
||||
- Security testing runs against a **local copy only** (`--web-dev` on 127.0.0.1). Never send attack traffic to https://astar76sites.parore-gila.ts.net or Discord. Never connect to Tor or proxies.
|
||||
- Discord changes can't be tested on this PC; things only the owner checks in Discord are marked 🧑.
|
||||
- `/help` pages and slash registration change when commands are added or removed: run the help-limits test.
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<p align="center">
|
||||
<a href="https://discord.com/oauth2/authorize?client_id=1387839600017412106&scope=bot%20applications.commands&permissions=8"><b>➕ Add to your server</b></a> ·
|
||||
<a href="https://astar76sites.tail7c4f5e.ts.net">Website</a> ·
|
||||
<a href="https://astar76sites.parore-gila.ts.net">Website</a> ·
|
||||
<a href="https://discord.gg/UnSga5DmR7">Support server</a>
|
||||
</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue