Nostr Recap Archive: the kit
Everything behind the archive of Nomishka's Weekly Nostr Recap: the code, all 103 editions as data, and a prompt so an AI agent can keep it updated and publish it on your own key.
Data included: No. 1 to No. 103 (newest edition 2026-11-23); fetch.py adds newer ones. The zip contains the scripts, the looks, the data and the docs.
Where all the reports are
| What | Where |
|---|---|
| The recaps as published | On Nostr, from npub19hs0lg9vyd0lghayeju5fnflx0melawjrl8etuqln9gkhd4mwtxq2t5jcn: long-form articles (kind 30023) since August 2025, long notes (kind 1) before. No. 12, 26 and 38 only as per-section posts on @nostrrecap. |
| All editions split into sections, with structured items (releases, events, highlights, stats) | data/editions.json (5.0 MB) |
| The raw recap events (latest version of each) | data/raw/reports.json (3.8 MB) |
| Every note the recaps link to, keyed by event id | data/raw/notes.json (3.1 MB) |
| Profiles (kind 0) of everyone mentioned, keyed by pubkey | data/raw/profiles.json (1.6 MB) |
| Header picture URL to section name, used by the parser | data/section_headers.json (11 KB) |
Run it yourself
- Download and unzip the kit. You need Python 3.11 or newer.
pip install -r requirements.txtpython scripts/fetch.py, thenparse.py, thenbuild.py. The site lands indist/.- Publish
dist/as an nsite with nsyte, signing with your own key or a bunker.
Step by step, including the weekly update and the exact publish command: README.md. How the parser works: DEVELOPMENT.md.
Prompt for your AI agent
Paste this into Claude Code, Codex, Goose or any coding agent that can run commands.
You are helping me, Nomishka, run the **Nostr Recap Archive**: a static website that collects every edition of my Weekly Nostr Recap and publishes it as an nsite (a static site on Blossom servers, announced on Nostr). The code and data are in a kit. **Setup (first time only)** 1. Download https://nostr-recap-kit.pages.dev/nostr-recap-archive-kit.zip and unzip it into a folder called `nostr-recap-archive`. Work inside that folder from now on. 2. Read `README.md` and `DEVELOPMENT.md` before changing anything. 3. Check that Python 3.11 or newer is installed. Create a virtual environment in `.venv` and install `requirements.txt` into it. 4. Install nsyte (https://github.com/sandwichfarm/nsyte, release binary or `deno install`) and check that `nsyte --version` works. **Update the archive (every week, after I publish a new recap)** 1. Run `python scripts/fetch.py`, then `python scripts/parse.py`, then `python scripts/build.py`. Show me the last lines of each command's output. 2. If `parse.py` prints `UNKNOWN HEADER IMAGES`, open each listed picture URL, look at it, and add it to `data/section_headers.json` with the matching section key from `DEVELOPMENT.md` (use `NONE` for a picture that is not a section title). Then run `parse.py` and `build.py` again until the warning is gone. Tell me which pictures you labelled and how. 3. Serve the site with `python -m http.server 8765 -d dist` and check that the home page lists the newest edition and that its edition page opens. Tell me the newest edition number and its date. 4. Check that no private key is in the build: `grep -rl nsec1 dist` must print nothing. Stop and tell me if it prints anything. **Publish (only when I say "publish")** Run this, and let me type my key into the prompt myself (or I give you a `bunker://` URL from my signer). Never ask me to paste my nsec into the chat, never write it to a file, and never print it: ``` nsyte deploy dist --no-config --prompt-sec \ --relays "wss://relay.primal.net,wss://nos.lol,wss://nostr.mom,wss://relay.nsite.lol,wss://relay.damus.io" \ --servers "https://blossom.primal.net,https://nostr.download,https://cdn.hzrd149.com" \ --fallback /404.html --use-fallback-relays --skip-secrets-scan ``` Before the first publish, ask me which key the site should live on. A root nsite replaces any root nsite that key already has, so for my main key add `-d recap` (named site) unless I say otherwise. After publishing, open the site (`https://<my-npub>.nsite.lol/` for a root site; for a named site use the address nsyte prints), wait a few minutes for the gateway cache, and confirm the newest edition is there. Report which relays accepted the event and which refused it. **Rules** - Do not delete anything in `data/`: `fetch.py` merges new events into it, so earlier finds survive a bad relay day. - Keep changes small, and tell me what you changed in plain words. - If a command fails, show me the error and the fix you propose before trying something big.
Also as a file: AGENT-PROMPT.md
Credit
All writing, picks and comments in the recaps are Nomishka's. Kit made with care by Tomek.