Repository navigation
nerostr v2 is a rewrite: the relay, the paywall and the admin API are now one Go program behind one port, replacing the v1 nerostr + strfry + plugin setup.
Coming from v1?
v2 is not an image update, so pin your v1 images until you migrate (pluja/nerostr:v0.0.71).
The migration guide covers it.
The attached migrate-v1.sh does the migration for you while v1 keeps serving: members and events carry over, and v1's files stay in place, so you can roll back.
The script can also move you to a view-only wallet, which v2 is happy with, so the server no longer holds your spend key.
Highlights
- One binary, one port, with LMDB for events and SQLite for members.
- A fresh Monero subaddress per invoice. Partial payments add up, and late payments are still credited.
- Anyone can reply to, react to, zap and DM members, while the feed shows members' posts only.
- A welcome DM for new members, and nostr DMs to you when payments stop being processed.
- NIP-11 fee info, NIP-86 member management from any client, plus NIP-09, 40, 42, 45, 70 and 77.
- Rate limits, a flood guard against looping bots, and non-root, read-only containers.
Installing
No clone needed: download docker-compose.yml and example.env from this release and the images are pulled from GHCR.
See Self-hosting. The 2 image tag and the releases/latest download links start with this release.
Container image
ghcr.io/pluja/nerostr:2.0.0
Multi-arch (amd64, arm64), with SBOM and build provenance. Verify with:
gh attestation verify oci://ghcr.io/pluja/nerostr:2.0.0 --owner pluja
Compose files
docker-compose.yml, example.env and migrate-v1.sh are attached.
See the README for setup,
and the migration guide for v1 installs.
Binaries
Static Linux binaries are attached. Check them with sha256sum -c SHA256SUMS and
gh attestation verify nerostr_v2.0.0_linux_amd64.tar.gz --owner pluja.
What's Changed
- Update README.md by @cod3cow in #10
- nerostr v2: rewrite as a single khatru relay by @pluja in #15
- Bump tonistiigi/xx from 1.9.0 to 1.10.0 by @dependabot[bot] in #16
New Contributors
- @cod3cow made their first contribution in #10
- @pluja made their first contribution in #15
- @dependabot[bot] made their first contribution in #16
Full Changelog: v0.0.71...v2.0.0