The smokesignal.events web application
README.md

Smoke Signal #

A read-only archive of the events and RSVPs created on smokesignal.events, an event and RSVP management application built on the AT Protocol. The live application was sunset in July 2026; this repository contains the small Rust/Axum site that keeps the ~20,000 archived events and RSVPs browsable.

The archive:

  • Serves archived events, RSVPs, and organizer profiles from a local SQLite database, with full-text search via FTS5.
  • Mirrors new community.lexicon.calendar.event and community.lexicon.calendar.rsvp records from the Jetstream firehose until final shutdown.
  • Links out to external services that implement the same lexicons for anything actionable (creating events, RSVPing).
  • Has no authentication, no write API, and no user-generated mutation of any kind. Retired URLs return HTTP 410 Gone, and every page carries a read-only banner.

Tech Stack #

  • Language: Rust (edition 2024, minimum version 1.98)
  • Web framework: Axum, with server-rendered MiniJinja templates
  • Database: SQLite via SQLx (WAL mode), schema in migrations-sqlite/
  • Ingestion: Jetstream consumer for the two calendar lexicons
  • Frontend: minimal TypeScript bundled with Vite (navbar, viewer-local timestamps, lazy event map)

Building and Running #

# Run the archive (dev mode with template reloading)
EXTERNAL_BASE=localhost CONTENT_STORAGE=./content cargo run --bin smokesignal

# Production build with embedded templates
cargo build --release --bin smokesignal --no-default-features -F embed

# Checks and tests (in-memory SQLite; no external services needed)
cargo check && cargo clippy && cargo test

To populate an archive database, crawl repositories with DIDs on stdin:

cat dids.txt | CONTENT_STORAGE=./content DATABASE_URL=sqlite://smokesignal.db \
  cargo run --bin import_repos

Configuration #

Two environment variables are required:

  • EXTERNAL_BASE — public base host (e.g. smokesignal.events, no scheme)
  • CONTENT_STORAGE — filesystem directory for content blobs

The one optional secret is SERVICE_KEY, a P-256 private key in did:key: form. When set, /.well-known/did.json is signed with HTTP message signatures and publishes the matching verification method; when unset, the archive holds no key material.

See CLAUDE.md for the full list of optional variables (DATABASE_URL, JETSTREAM_HOSTNAME, ENABLE_JETSTREAM, EXTERNAL_EVENT_SERVICES, and others), the architecture overview, and the database schema. The wind-down plan lives in plan_sunset.md.

License #

This project is licensed under the MIT License - see the LICENSE file for details.