Proactive memory intelligence that tells you what to do next.
Rewind is built on top of Supermemory API to provide an intelligent layer that doesn't just store your memoriesβit tells you what to do with them.
π Live Demo: https://rewind-mu.vercel.app
This project was built as part of a hackathon team. Below are the components I personally designed and implemented:
-
Retention Scoring System
- Designed and implemented the retention scoring formula to quantify memory decay
- Built rolling 7-day and 30-day retention windows to distinguish short-term vs long-term forgetting patterns
-
Dashboard Chatbot
- Designed the chatbot prompt and interaction logic for user-facing insights
- Integrated Pinecone-based semantic memory retrieval to surface relevant historical context during conversations
-
Learning Pattern Analysis
- Implemented logic to detect learning and forgetting trends across user activity
- Enabled proactive reminders and recommendations based on retention signals
-
Evaluation & Iteration
- Validated retention outputs using simulated user timelines
- Iterated on scoring thresholds to improve stability and interpretability
Collaboration: Built alongside a teammate during a time-boxed hackathon environment, with clear ownership over the above components.
High-level dashboard showing memory stats, retention signals, activity trends, and proactive recommendations.
Centralized memory view with categorization, filtering, review status, and time-based organization.
Natural-language semantic search over stored memories using vector-based retrieval.
Conversational AI interface that answers user questions by retrieving and reasoning over relevant past memories.
- Supermemory Chat: You ask β it answers (reactive)
- Rewind: It TELLS you what you're forgetting (proactive)
- "You have an interview in 3 days. Last time you prepped 5 days before. Start now?"
- Automatic deadline tracking with urgency ranking
- Unreviewed content detection
- NEW: Email digests with daily/weekly summaries
- Discovers your best study times correlated with quiz performance
- Identifies gaps in your knowledge automatically
- Tracks consistency with streak detection
- NEW: Retention trend analysis (improving/declining/stable)
- NEW: Knowledge gap detection per subject
- NEW: Review habit tracking
- NEW: AI-generated questions from your memories
- NEW: Retention score tracking per memory
- NEW: Subject-based quizzes
- NEW: Self-assessment with detailed results
- NEW: Conversations automatically become memories
- NEW: Smart detection of learning content
- NEW: Metadata extraction (type, subject, priority)
- NEW: 6 pre-built templates (Study, Interview, Algorithm, Meeting, Concept, Tip)
- NEW: First-person writing style enforcement
- NEW: Structured metadata extraction
- Study Mode: Quiz tracking, spaced repetition, weak topic detection
- Job Search Mode: Interview pipeline, company research, prep tracking
- Meeting Mode: Action items, context from past meetings
- Visual timeline of when you learned something
- When you last reviewed it
- When you should review it again
- Frontend: Next.js 14 + TypeScript + Tailwind CSS
- Memory Engine: Supermemory API
- Fonts: Space Grotesk, Syne, Inter
- Icons: Lucide React
- Charts: Recharts
- Date Utils: date-fns
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Add your SUPERMEMORY_API_KEY to .env.local
# Run development server
npm run devOpen http://localhost:3000 to see the landing page.
memoryos/
βββ app/
β βββ landing/ # Landing page
β βββ dashboard/ # Main dashboard
β βββ api/
β β βββ memories/ # Memory CRUD operations
β β βββ search/ # Search endpoint
β β βββ dashboard/ # Dashboard stats & patterns
βββ components/
β βββ dashboard/ # Dashboard UI components
βββ lib/
β βββ supermemory.ts # Supermemory client
β βββ patterns.ts # Pattern detection engine
βββ types/
βββ index.ts # TypeScript types
The pattern detector analyzes your memories to provide:
- Urgent Alerts: Approaching deadlines, unreviewed high-priority items
- Attention Alerts: Knowledge gaps, interview prep imbalances
- On Track Alerts: Consistency streaks, momentum indicators
- Behavioral Patterns: Best study times, retention rates, activity trends
SUPERMEMORY_API_KEY=your_api_key_here
NEXT_PUBLIC_USER_ID=user_123
GROQ_API_KEY=your_groq_api_key_here # For AI features (chat, quiz)
# Optional - for email sending
SENDGRID_API_KEY=your_sendgrid_key
# or
RESEND_API_KEY=your_resend_keyGet Groq API key (free): https://console.groq.com/
const memory = await fetch('/api/memories', {
method: 'POST',
body: JSON.stringify({
content: "Studied k-means clustering algorithm",
metadata: {
type: 'study',
subject: 'Machine Learning',
priority: 'high',
deadline: '2025-11-05T10:00:00Z'
}
})
});const results = await fetch('/api/search', {
method: 'POST',
body: JSON.stringify({
query: 'clustering algorithms',
limit: 10
})
});Built with Supermemory API - the memory infrastructure for AI apps.