Rekap makes your wallet come alive — it’s like your on-chain activity having a conversation with you. Witty insights, dynamic visuals, and shareable moments turn your crypto journey into something fun and memorable.
- app/ — Next.js 14 (App Router) UI, wallet flow, API routes
- server/ — Bun server for aggregation/analytics + Docker artifacts
Prerequisites: Node 18+, Bun (for server/), pnpm or npm, and a Solana wallet for testing.
cd app
bun install # or npm install
bun run dev # or npm run devcd server
bun install
bun run index.tsServer: http://localhost:8787 (see code for exact port if changed)
Create .env.local in app/ as needed. Common variables:
- NEXT_PUBLIC_ZERION_API_KEY that enables richer wallet data
- Any additional keys your custom roast backend requires (see
app/src/app/api/roast/route.ts)
For the Bun server, create .env in server/ if you need API keys or secrets there.
In app/:
- dev — run Next.js in development
- build — build production bundle
- start — start production server
In server/:
- bun run index.ts — start the Bun server
- Dockerfiles and docker-compose.yml are provided for containerized runs
app/→ any Next.js host (Vercel recommended). Ensure env vars are set and/api/*routes are enabled.server/→ Dockerized. Use the providedDockerfileanddocker-compose.yml. Seeserver/DEPLOYMENT.mdfor tips.
- Frontend: Next.js App Router, edge‑friendly API routes,
@solana/wallet-adapterfor connect/sign - Backend: Bun server for aggregation and analytics helpers
- UX: Confetti poppers from top edges on completion,
favicon.icowired via metadata
- Redirected back to
/? Sign the message on the landing page first (signature gate). - Empty roasts? Check API keys and response shape used in
app/src/app/your-2025-solana-roast/[wallet]/page.tsx.
MIT — see LICENSE if present.
