Overview
Built with Next.js 16 and React 19, the web app provides a responsive, real-time interface for collecting, organizing, and rediscovering your ideas and inspirations.Technology Stack
- Next.js 16.1.6 (App Router)
- React 19.2.4
- Convex for real-time backend
- Better Auth for authentication
UI Framework
- Tailwind CSS 4
- shadcn/ui components
- Ant Design components
- Lucide React icons
Key Features
Real-Time Synchronization
The web app uses Convex for real-time data synchronization, ensuring your cards are always up-to-date across all devices.Card Management
Create Cards
Add cards through multiple methods:
- Direct text input
- URL saving with automatic metadata extraction
- File uploads (images, videos, audio, documents)
- Drag-and-drop interface
Advanced Capabilities
Image Processing
Image Processing
- EXIF data extraction
- Color palette detection
- Image optimization with @cf-wasm/photon
- Thumbnail generation
Media Support
Media Support
- Video uploads and previews
- Audio file support
- Document handling
- Automatic media transcription
Link Metadata
Link Metadata
- Automatic URL metadata extraction
- Open Graph data parsing
- Preview generation
- Duplicate detection
Installation & Setup
Prerequisites
- Node.js 18+ or Bun
- A Convex account for the backend
- Better Auth configured
Development
Environment Configuration
Create a.env.local file in the web app directory:
Platform-Specific Features
Desktop Auth Integration
The web app includes a special authentication flow for the Tauri desktop app:Command Palette
Keyboard-first navigation usingcmdk:
Keyboard Shortcuts
Cmd/Ctrl + K- Open command palette- Quick navigation to cards, settings, and actions
- Fast card creation and search
Masonry Grid Layout
Responsive masonry grid for displaying cards of varying sizes and types:- Optimized for performance with virtualization
- Drag-and-drop reordering
- Responsive breakpoints
Global Drag & Drop
Drag files directly from your desktop to create cards:Technology Details
React Compiler
The web app uses the experimental React Compiler for optimized performance:Image Optimization
Utilizes Cloudflare’s WebAssembly Photon library for client-side image processing:- Fast client-side resizing
- Color palette extraction
- EXIF data preservation
Analytics
Integrated with Vercel Analytics for performance monitoring and user insights.Error Tracking
Sentry integration for comprehensive error tracking and monitoring:Architecture
App Router Structure
Component Organization
- UI Components: shadcn/ui components in
components/ui/ - Card Components:
CardModal,CardItem,AddCardForm - Layout Components:
MasonryGrid,DragOverlay - Search:
SearchBarwith real-time filtering
Hooks
useCardActions- Card CRUD operationsuseCardModal- Card detail modal stateuseGlobalDragDrop- Global drag-and-drop handling
Deployment
The web app is optimized for deployment on Vercel:The web app requires a deployed Convex backend. Deploy Convex first, then configure the web app with the Convex deployment URL.
Learn More
Backend
Learn about the Convex backend architecture
Architecture
Understand the system architecture
Next.js
Official Next.js documentation
Convex
Official Convex documentation