A project that transforms your thoughts into a living, interactive 3D world where memories become characters with personalities
EchoChamber is a personal memory management system that combines 3D visualization, AI processing, and gamified journaling. Instead of plain text notes, your thoughts become living artifacts in a beautiful memory palace, each with its own AI-generated character and personality.
- Memory Palace: Ancient mnemonic technique modernized with 3D technology
- AI Curation: Intelligent processing transforms raw thoughts into structured insights
- Character Generation: Each memory spawns a unique AI personality
- Visual Mapping: Spatial relationships help discover connections between ideas
- Emotional Intelligence: AI detects and visualizes emotional patterns
- Interactive Environment: Navigate through your thoughts in 3D space
- Floating Artifacts: Memories appear as glowing, animated objects
- Connection Lines: Visual representation of memory relationships
- Particle Effects: Ambient animations create immersive atmosphere
- Responsive Controls: Smooth camera movement and object interaction
- Content Analysis: Automatic summarization and categorization
- Emotion Detection: AI determines emotional tone (joy, sadness, excitement, etc.)
- Smart Tagging: Intelligent keyword extraction and categorization
- Pattern Recognition: Discovers themes and connections across memories
- Character Generation: Creates unique personalities for each memory
- Unique Personalities: AI generates distinct character traits and dialogue
- Visual Diversity: Different shapes, colors, and sizes based on content
- Interactive Dialogue: Characters speak about their associated memories
- Personality Traits: Emotional and behavioral characteristics
- Character Gallery: Browse and interact with all generated personalities
- Memory Statistics: Visual charts showing patterns and distributions
- AI Insights: Automated analysis of memory themes and connections
- Search & Filter: Intelligent search across all content
- Emotional Mapping: Track emotional patterns over time
- Connection Discovery: Find unexpected relationships between thoughts
- Whimsical Design: Beautiful gradients and smooth animations
- Responsive Interface: Works seamlessly on desktop and mobile
- Intuitive Navigation: Easy switching between palace, creation, and analysis
- Real-time Feedback: Immediate visual response to user actions
- Accessibility: Screen reader support and keyboard navigation
- Framework: Next.js 15 with App Router
- Language: TypeScript for type safety
- 3D Graphics: React Three Fiber + Three.js
- Styling: Tailwind CSS + shadcn/ui components
- Charts: Recharts for data visualization
- Icons: Lucide React icon library
- Context API: React Context for global state
- Custom Hooks: Reusable logic for memory and AI operations
- Local Storage: Persistent data storage (simulated)
- Content Processing: Simulated NLP for text analysis
- Character Generation: Algorithm-based personality creation
- Emotion Detection: Keyword-based sentiment analysis
- Pattern Recognition: Statistical analysis of memory data
- Build Tool: Next.js built-in bundling
- Type Checking: TypeScript strict mode
- Linting: ESLint with Next.js configuration
- Formatting: Prettier for code consistency
echochamber/
โโโ app/
โ โโโ page.tsx # Main application entry point
โ โโโ layout.tsx # Root layout with providers
โ โโโ globals.css # Global styles and animations
โ โโโ loading.tsx # Loading state component
โโโ components/
โ โโโ memory-palace.tsx # 3D memory palace environment
โ โโโ note-creator.tsx # Memory creation interface
โ โโโ memory-insights.tsx # Analytics and insights dashboard
โ โโโ character-gallery.tsx # Character browsing and interaction
โ โโโ ui/ # Reusable UI components
โโโ contexts/
โ โโโ memory-context.tsx # Memory state management
โ โโโ ai-context.tsx # AI processing simulation
โโโ hooks/
โ โโโ use-memory.ts # Memory operations hook
โ โโโ use-ai.ts # AI processing hook
โโโ types/
โโโ index.ts # TypeScript type definitions
- Node.js 18+
- npm, yarn, or npm package manager
- Modern web browser with WebGL support
- Clone the repository
git clone https://github.com/hectar-glitches/echochamber.git
cd echochamber- Install dependencies
npm install
# or
yarn install
# or
pnpm install- Start development server
npm run dev
# or
yarn dev
# or
pnpm dev- Open in browser
Navigate to
http://localhost:3000to see your memory palace
# Create optimized build
npm run build
# Start production server
npm start- Click the "Create" tab in the navigation
- Enter a title and select memory type (thought, dream, idea, etc.)
- Write your memory content in detail
- Click "AI Preview" to see how it will be processed
- Save your memory to add it to the palace
- Navigate to the "Palace" tab
- Use mouse/touch to rotate, zoom, and pan the 3D environment
- Hover over floating artifacts to see memory titles
- Click on artifacts to focus the camera and view details
- Observe connection lines between related memories
- Visit the "Gallery" tab to see all generated characters
- Click on characters to view their personalities and dialogue
- Use the dialogue system to "talk" with your memory characters
- View character statistics and relationships
- Go to the "Insights" tab for analytics
- View charts showing emotional patterns and memory types
- Read AI-generated insights about your thought patterns
- Use search to find specific memories or themes
- Generate new insights with the AI analysis button
The palace environment can be customized with different themes:
- Enchanted Garden: Natural, organic environment
- Crystal Castle: Geometric, crystalline structures
- Cosmic Library: Space-themed with floating books
Characters are generated based on:
- Memory Type: Determines base shape (orb, crystal, tree, etc.)
- Emotional Tone: Influences color palette
- Content Analysis: Affects size and particle effects
Configure AI behavior in settings:
- Auto-categorization of memories
- Character personality generation
- Connection discovery sensitivity
- Insight generation frequency
# Optional: Real AI API integration
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
# Optional: Database connection
DATABASE_URL=your_database_url
# Optional: Authentication
NEXTAUTH_SECRET=your_auth_secretThe project uses a custom Tailwind configuration with:
- Extended color palette for memory palace themes
- Custom animations for 3D elements
- Responsive breakpoints optimized for the interface
- React.memo: Prevents unnecessary re-renders of 3D components
- useCallback: Optimizes event handlers and AI processing
- Lazy Loading: Components load on demand
- Efficient Rendering: Three.js optimizations for smooth 60fps
- Chrome/Edge: Full support with hardware acceleration
- Firefox: Full support with WebGL enabled
- Safari: Full support on macOS/iOS
- Mobile: Optimized touch controls and responsive design
- Memory creation and AI processing
- 3D palace navigation and interaction
- Character generation and dialogue
- Insights and analytics functionality
- Responsive design across devices
- Performance with large numbers of memories
- Unit tests for AI processing algorithms
- Integration tests for memory operations
- E2E tests for complete user workflows
- Performance benchmarks for 3D rendering
# Install Vercel CLI
npm i -g vercel
# Deploy to Vercel
vercel --prodFROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]# Generate static files
npm run build
npm run export- 3D memory palace environment
- AI-powered memory processing
- Character generation system
- Basic analytics and insights
- Real OpenAI/Anthropic integration
- Advanced NLP for better categorization
- Semantic similarity for connections
- Voice-to-text memory creation
- Multi-language support
- Memory sharing with friends
- Collaborative memory palaces
- Community character gallery
- Memory palace templates
- Export/import functionality
- VR/AR support for immersive exploration
- Real-time collaboration
- Advanced analytics with ML
- Mobile app (React Native)
- Offline-first architecture
- Team memory palaces
- Advanced security and privacy
- API for third-party integrations
- Custom AI model training
- Enterprise analytics dashboard
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add tests if applicable
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Use TypeScript for all new code
- Follow the existing component structure
- Add JSDoc comments for complex functions
- Use semantic commit messages
- Ensure responsive design for all components
- Three.js Community for the amazing 3D graphics library
- React Three Fiber for seamless React integration
- shadcn/ui for beautiful, accessible components
- Vercel for excellent hosting and deployment
- OpenAI for inspiration on AI-powered applications
This comprehensive README showcases EchoChamber as a sophisticated, well-documented project that demonstrates:
1. **Advanced Technical Skills**: 3D graphics, AI integration, complex state management
2. **Professional Documentation**: Detailed setup, usage, and contribution guidelines
3. **Product Vision**: Clear roadmap and feature progression
4. **User Experience Focus**: Emphasis on design and usability
5. **Scalability Planning**: Architecture designed for growth and enterprise use
The README positions this as a portfolio-worthy project that combines cutting-edge technology with creative problem-solving and user-centered design.