Add media archive and slopbot design docs

This commit is contained in:
Fisto
2026-09-16 07:47:28 +02:00
parent 677afc747f
commit b59b9db461
10 changed files with 453 additions and 197 deletions
+32
View File
@@ -0,0 +1,32 @@
# media-scrape
The media archive feature. Contained here on purpose: the daemon mounts it, but the logic does not
spread through `poc/src/`.
## Layout
```
media-scrape/
README.md this file
src/ scrape engine, store, extractor, Web UI routes, MCP tools
slopbot/ the bot core (discord.js backend)
test/ unit tests against the mock core and a fake bot REST
db/ runtime data, ignored by git
```
`db/` holds one directory per scrape: `scrape.json`, `index.db`, `media/`, `thumbs/`. It is
configurable with `VESKSLOP_MEDIA_DB_DIR` and never committed. See
[../docs/media.md](../docs/media.md).
The daemon imports this folder. discord.js is declared in `poc/package.json`, like the MCP SDK.
## Docs
- [../docs/media.md](../docs/media.md) — the feature, storage, limits, Web UI
- [../docs/media-scraper.md](../docs/media-scraper.md) — the walk, pacing, schema
- [../docs/slopbot.md](../docs/slopbot.md) — the bot core and its setup
- [../docs/media-mcp.md](../docs/media-mcp.md) — the MCP surface
## Status
Design approved 2026-09-16. Implementation checkpoints live in [../CURRENT.md](../CURRENT.md).