Introduces per-campaign privacy-mode framing across all donor- and
activist-facing help content, ahead of the campaign-creation UI that
will actually expose the choice.
- FAQ (src/lib/helpContent.ts):
- Rewrite send-bitcoin-onchain, connect-wallet, and
donations-are-public-general to reflect per-campaign addresses
(not npub-derived) and the two-mode model.
- Replace why-not-silent-payments with silent-payments-supported
(yes, via a non-custodial bridge that lets donors keep using any
Bitcoin wallet).
- Replace why-not-rotating-addresses with fast-vs-private-mode and
add what-are-silent-payments, private-mode-reliability, and
choose-mode-as-activist.
- Soften censorship-resistance and why-onchain to acknowledge the
bridge dependency in Private Mode without overclaiming.
- Donor Guide (src/lib/helpContent.ts):
- Fold the silent-payments donor-side note into how-donating-works;
flag the fresh-address-per-visit behaviour so donors don't read it
as a phishing attempt.
- Update why-public to clarify that donor-side advice still applies
on Private Mode campaigns.
- Activist Guide (src/lib/helpContent.ts):
- Rewrite how-receiving-works to introduce the per-campaign choice.
- Add choose-receive-mode (with pros/cons), when-to-use-which,
fast-mode-warning (absorbs the deleted page-level alert), and
private-mode-failure-modes (concrete reliability disclosures).
- Qualify why-public, dont-keep-funds, cashout-overview, and
donors-can-be-seen with mode-specific framing. Cash-out sections
themselves are unchanged.
- Page chrome (src/pages/DonorGuidePage.tsx, ActivistGuidePage.tsx):
- Remove the amber 'Recommended for above-ground activism' alert from
both pages. The state-actor warning now lives in
fast-mode-warning, where it's contextually accurate (Private Mode
is the actual mitigation, not 'read the sections below').
- Drop the now-unused Alert/AlertTriangle imports.
No product code or campaign-creation flow is touched in this commit -
this is content-only, ahead of the UI work.
Agora
Power to the people.
Agora is a Nostr client focused on community ownership, expressive identity, and censorship resistance. This repository (agora-3) is the Agora-branded app built from the Ditto codebase.
What This Repo Is
- Agora product identity (name, theme, assets, native IDs)
- Ditto-derived implementation with broad Nostr feature coverage
- Configurable deployment defaults via
agora.json
Features
- Community-first social client: notes, articles, comments, reposts, reactions, and rich event rendering
- Theming system: built-in presets + custom color/font/background themes that can be shared as events
- Lightning support: zaps with Nostr Wallet Connect and WebLN
- Private messaging: NIP-04 and NIP-17 direct messages
- Mobile app shell: Capacitor-powered Android/iOS wrappers
- Self-hostable: static web build + configurable relay and upload infrastructure
Getting Started
Prerequisites
- Node.js 22+
- npm 10.9.4+
Development
git clone https://gitlab.com/soapbox-pub/agora-3.git
cd agora-3
npm install
npm run dev
Development server: http://localhost:8080
Docker Getting Started
Use Docker Compose when you want the nginx reverse-proxy stack (necessary if you want decryptable media in messages - kind 15s of NIP 17):
git clone https://gitlab.com/soapbox-pub/agora-3.git
cd agora-3
cp .env.example .env
docker compose up --build
Proxy URL: http://localhost:8083
This starts:
viteservice on the internal Docker network (vite:8080)webservice (nginx) on host port8082, proxying to Vite with websocket support
Stop stack:
docker compose down
Production-style container build:
docker compose -f docker-compose.prod.yml up --build
Build
npm run build
Build output: dist/
Validate
npm test
This runs type-checking, linting, unit tests, and production build checks.
Configuration
Build-time config is read from agora.json (gitignored by default so each deployment can provide its own values).
{
"theme": "dark",
"relayMetadata": {
"relays": [
{ "url": "wss://relay.ditto.pub", "read": true, "write": true },
{ "url": "wss://relay.primal.net", "read": true, "write": true },
{ "url": "wss://relay.damus.io", "read": true, "write": true }
]
},
"blossomServers": [
"https://blossom.ditto.pub",
"https://blossom.primal.net/"
]
}
Configuration priority (highest first):
- User settings (local storage)
- Build config (
agora.json) - Hardcoded app defaults
Use a custom config path:
CONFIG_FILE=./my-config.json npm run build
Deployment
Agora builds to static files and can be deployed to any static host.
- GitLab/GitHub Pages
- Netlify/Vercel
- VPS or any web server with SPA routing fallback
For Android:
npm run build
npx cap sync
npx cap open android
Tech Stack
| Layer | Technology |
|---|---|
| Framework | React 18 |
| Build | Vite |
| Language | TypeScript |
| Styling | TailwindCSS 3 + shadcn/ui |
| Routing | React Router |
| Data | TanStack Query |
| Nostr | Nostrify + nostr-tools |
| Mobile | Capacitor |
| Testing | Vitest + React Testing Library |
Contributing
Read CONTRIBUTING.md before opening a merge request.