# bitSimp Sitemap

## Pages

### Public Pages

- [Home Feed](https://bitsimp.com) — Browse content, filter by tag, infinite scroll
- [About](https://bitsimp.com/about) — Platform overview: anonymous, P2P, Bitcoin-only
- [Public Profile](https://bitsimp.com/:account) — View any creator's profile and posts
- [Post Detail](https://bitsimp.com/p/:postId) — View post content, files, and comments

### Authenticated Pages

- [Account](https://bitsimp.com/account) — Edit alias, manage upload quota, view balance
- [Create Post](https://bitsimp.com/create) — Form with file uploads (images, video, audio, PDF)
- [Edit Post](https://bitsimp.com/p/:postId/edit) — Owner-only post editing
- [Transactions History](https://bitsimp.com/transactions) — Earnings and purchase history table

### Admin

- [Admin Dashboard](https://bitsimp.com/admin) — Role-gated dashboard overview
- [Admin Transactions](https://bitsimp.com/admin/transactions) — All platform transactions
- [Admin Users](https://bitsimp.com/admin/users) — User management and balances

## Documentation

- [Project README (AGENTS.md)](https://github.com/dyegolara/bitsimp/blob/main/AGENTS.md) — Full project overview, stack, architecture, and conventions
- [Balance Calculations](https://github.com/dyegolara/bitsimp/blob/main/docs/balance-calculations.md) — Balance formula, invariants, and payment rules
- [Fedi Integration](https://github.com/dyegolara/bitsimp/blob/main/docs/fedi-integration.md) — Fedi Mini App: WebLN and LNURL-auth
- [Auth Flow](https://github.com/dyegolara/bitsimp/blob/main/src/components/Auth/AGENTS.md) — LNURL-auth and NIP-07 Nostr authentication details
- [API Routes](https://github.com/dyegolara/bitsimp/blob/main/src/app/api/AGENTS.md) — Complete API documentation

## API Endpoints

- `/api/auth/[...nextAuth]` — NextAuth.js session and CSRF
- `/api/auth/nostr/nip-07/challenge` — Nostr auth challenge issuance
- `/api/auth/nostr/nip-07/verify` — Nostr signature verification
- `/api/auth/nostr/nip-07/login` — Single-call Nostr verify + login
- `/api/auth/lightning/lnurl-auth/validate` — LNURL-auth secp256k1 signature callback
- `/api/posts` — List posts with pagination and filters
- `/api/posts/[postId]` — Single post with access control
- `/api/me` — Current user balance and profile
- `/api/comments` — Paginated comments for a post
- `/api/trpc/[trpc]` — Typed tRPC procedure handler
- `/api/opennode/withdrawal` — OpenNode withdrawal webhook
- `/api/video` — next-video asset handler

## Sitemap

See the full [XML sitemap](/sitemap.xml) for all pages.
