Say My Brain
Welcome to Say My Brain, a personal second-brain application designed to help you save, organize, and interact with links from around the web.
Upload content from platforms like YouTube, X (Twitter), and Instagram, and use the integrated Gemini AI to ask questions and gain insights from your saved knowledge.
Features
Save & Organize
Easily save links from various platforms in a clean, card-based UI.
Automatic Previews
Automatically fetch metadata like titles, descriptions, and thumbnails using oEmbed APIs and fallback scraping.
AI-Powered Chat
Engage with Gemini AI to summarize or ask questions about your saved content.
Modern UI/UX
Sleek, animated, and fully responsive interface built with Next.js, Tailwind CSS, and Framer Motion.
Containerized Development
Entire app stack can be run using a single docker-compose command.
How It Works
The application follows a client-server architecture containerized using Docker.
1. Frontend (Next.js)
- • Built with React and Tailwind CSS
- • Users add links via the UI, which calls backend APIs
2. Backend (Express)
- • Node.js server fetches metadata (via oEmbed or scraping)
- • Stores data in PostgreSQL via Prisma ORM
3. Database (PostgreSQL)
- • Stores metadata like title, description, thumbnails, platform, etc.
4. AI Interaction (Gemini)
- • When prompted, the backend retrieves saved context and sends it + your prompt to Gemini Pro API for a smart response
