Get Started
Install and configure anan2
Install and configure anan2: Manage tasks with escalating push reminders and AI content generation using a React frontend and Convex backend.
Follow the source instructions for anan2. Read the prerequisites and configuration steps before running an example.
Setup
1. Configure Convex
npx convex dev2. Convex Auth (JWT keys)
Generate JWT keys for Convex Auth:
node generateKeys.mjsCopy the output and add to Convex Dashboard Environment Variables:
JWT_PRIVATE_KEY- from outputJWKS- from outputSITE_URL- e.g.http://localhost:5173(or your deployment URL)ADMIN_EMAILS- (optional) comma-separated emails for admin role, e.g.admin@example.com
3. Environment Variables
Convex (set via npx convex env set or Dashboard):
OPENROUTER_API_KEY- For AI content generationOPENAI_API_KEY- For RAG embeddings (text-embedding-3-small)VAPID_PUBLIC_KEY- Web push (fromnpx web-push generate-vapid-keys)VAPID_PRIVATE_KEY- Web push private key
Local (.env.local):
VITE_CONVEX_URL- Convex deployment URLVITE_VAPID_PUBLIC_KEY- Same as VAPID_PUBLIC_KEY (for client subscribe)
4. Run
npm run devCheck the installation
After setup, continue with the first example. If a command fails, compare the runtime version, working directory, and required configuration with the original README before changing dependencies.
Source and help
Source captured: 2026-10-11
