Add the media scrape engine, store, and puppet walker
This commit is contained in:
@@ -59,6 +59,8 @@ media-scrape/db/
|
||||
- The database is an index. It holds the scrape state, the messages seen, the media items, and the
|
||||
link between a media item and its source messages. Source channel, author, and timestamp are
|
||||
indexed so filters can be added later without a re-scrape.
|
||||
- Storage uses `node:sqlite` (experimental in Node 22, prints a warning). If its API changes,
|
||||
`better-sqlite3` is the fallback; it needs a native build, so that switch is an owner install.
|
||||
- The file name in `media/` is the SHA-256 of the bytes, never the original name. The original
|
||||
name is metadata.
|
||||
- Deleting a scrape is deleting its directory. Nothing is shared between scrapes.
|
||||
|
||||
Reference in New Issue
Block a user