# ๐๏ธ Nostr Recap Archive: your kit
Hi Nomishka ๐ This is everything behind the Nostr Recap Archive, the site that collects every
**Weekly Nostr Recap** you have written. Take it, change it, and publish it under your own key.
- ๐ **The archive today:**
- ๐ฆ **This kit:**
- ๐ค **Prefer an AI agent to do it?** Paste [`AGENT-PROMPT.md`](AGENT-PROMPT.md) into Claude Code, Codex,
Goose or any coding agent that can run commands.
## ๐ Where all the reports are
| What | Where |
|---|---|
| Your recaps as published | Nostr, from your key `npub19hs0lg9vyd0lghayeju5fnflx0melawjrl8etuqln9gkhd4mwtxq2t5jcn`: long-form articles (kind 30023) since August 2025, long plain notes (kind 1) before that |
| No. 12, 26 and 38 | Only as one-note-per-section posts on the @nostrrecap account, stitched back together by `fetch.py` |
| All 103 editions, split into sections | [`data/editions.json`](data/editions.json) |
| The raw recap events | [`data/raw/reports.json`](data/raw/reports.json) |
| Every note a recap links to (2,791) | [`data/raw/notes.json`](data/raw/notes.json), keyed by event id |
| Profiles of everyone mentioned | [`data/raw/profiles.json`](data/raw/profiles.json), keyed by pubkey |
The data is a snapshot from 22 November 2026 (No. 1 to No. 103). Running `fetch.py` brings it up to date and keeps everything earlier runs found, so a relay that is down that day never drops an edition.
## ๐ Run it (about 5 minutes)
You need Python 3.11 or newer.
```bash
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python scripts/fetch.py # pull new recaps + the notes they link to (a few minutes)
python scripts/parse.py # split each recap into sections -> data/editions.json
python scripts/build.py # write the static site -> dist/
python -m http.server 8765 -d dist # open http://localhost:8765/
```
`build.py` alone works offline from the included data, so you can look at the site before fetching.
## ๐ Every week, after a new recap
1. Run `fetch.py`, `parse.py` and `build.py`.
2. If `parse.py` prints **UNKNOWN HEADER IMAGES**, you used new header art. Add each new picture URL
to `data/section_headers.json` with its section name, then run `parse.py` and `build.py` again.
Section names are listed in [DEVELOPMENT.md](DEVELOPMENT.md).
3. Publish `dist/` (below).
## ๐ Publish it as an nsite, on your own key
An [nsite](https://nsite.lol) is a static site stored on Blossom servers and announced on Nostr by a key.
It uses [nsyte](https://github.com/sandwichfarm/nsyte):
```bash
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
```
- `--prompt-sec` asks for your key when it runs, so it never lands in your shell history. A bunker
(`--sec "bunker://..."`, for example from Amber) works too and keeps the key off the computer.
- `--skip-secrets-scan` is needed because the scan flags public 64-character ids (pubkeys, note ids).
Before using it, check that no private key is in `dist`: `grep -rl nsec1 dist` must print nothing.
- This deploys a root site for the key you sign with. If that key already has a root nsite, it would be
replaced: use a fresh key for the archive, or add `-d recap` to publish it as a named site instead.
- After the first deploy, open `https://.nsite.lol/` (a named site gets the address nsyte
prints). Gateways cache for a few minutes.
## โ๏ธ Make it yours
- The About page text is in `scripts/build.py` (function building `about.html`). It currently calls
the site an unofficial archive; rewrite it as your own.
- The looks live in `assets/style.css` (Paper) and `assets/themes.css` (Night, Newsprint, Typewriter).
How it works inside (formats, parser, sections): [DEVELOPMENT.md](DEVELOPMENT.md).
Made with ๐งก by Tomek. Questions? DM me on Nostr.