# /files/

Drop ISOs, images and other files here — they become instantly
downloadable at `https://burnt-synapse.ru/files/<name>`.

This folder is owned by `kerr`, so plain `cp` / `mv` works, no sudo needed:

    cp my-image.iso /var/www/burnt-synapse/files/

Subfolders work too (autoindex is recursive).

## RSS feed

An RSS 2.0 feed of everything in this folder is at
`https://burnt-synapse.ru/files/feed.xml` — point an RSS reader (or a
webhook/notify script) at it to get told when new ISOs/files land. It is
regenerated by `/usr/local/bin/files-feed.sh` via kerr's crontab every 5
minutes; items are newest-first by file mtime. `feed.xml`, `*.sha256`,
hidden files and `README.md` are excluded.

## Checksums

Every file gets a sibling `<name>.sha256` (standard `sha256sum -c` format)
generated automatically by `/usr/local/bin/files-checksums.sh` via kerr's
crontab every 5 minutes. Verify with:

    sha256sum -c <name>.sha256

Newly-copied files (mtime within the last 60 seconds) wait one cycle for
the copy to finish before being hashed; unchanged files are never
re-hashed.
