Havenly.ai is an intelligent home assistant that helps you transform your space with zero effort. Whether you're looking to make your room more cozy or declutter by selling unused items, Havenly's autonomous agents handle everything โ from analyzing your environment to generating listings, negotiating deals, and managing your space.
- AI Room Analysis: Upload a photo and get personalized decoration suggestions
- Smart Product Search: AI finds relevant furniture and decor items using Tavily API
- Intelligent Chat: Ask questions and get personalized home decoration advice
- Memory System: Remembers your preferences across sessions using Mem0
- Save & Track: Save favorite items and track your decoration journey
- Video Processing: Upload room walkthrough videos for automatic item detection
- AI Item Recognition: Identifies sellable items with timestamps and descriptions
- Smart Pricing: AI estimates market value for each item
- Marketplace Integration: Automatically posts to rental platforms like UseThis
- Listing Generation: Creates compelling descriptions and optimized images
- Python 3.8+
- Node.js 18+
- npm or yarn
-
Clone the repository
git clone https://github.com/yourusername/havenly.ai.git cd havenly.ai -
Set up Python environment
cd backend python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt
-
Configure environment variables Create a
.envfile in the backend directory:# Required API Keys NEBIUS_API_KEY=your_nebius_api_key TAVILY_API_KEY=your_tavily_api_key MEM0_API_KEY=your_mem0_api_key APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1 APPWRITE_PROJECT_ID=your_project_id APPWRITE_API_KEY=your_appwrite_api_key APPWRITE_DATABASE_ID=your_database_id # eBay Integration (Optional) EBAY_APP_ID=your_ebay_app_id EBAY_CERT_ID=your_ebay_cert_id EBAY_DEV_ID=your_ebay_dev_id EBAY_SANDBOX_AUTH_TOKEN=your_sandbox_token EBAY_SANDBOX=true
-
Start the backend server
python main.py
The API will be available at
http://localhost:8000
-
Navigate to frontend directory
cd frontend -
Install dependencies
npm install
-
Start the development server
npm run dev
The app will be available at
http://localhost:5173
- Framework: React 19 with TypeScript
- Styling: Tailwind CSS with custom design system
- Animations: Framer Motion for smooth transitions
- Build Tool: Vite for fast development
- Framework: FastAPI for high-performance API
- AI Services: Nebius AI (DeepSeek-V3) for image analysis and text generation
- Search: Tavily API for product discovery
- Memory: Mem0 for user preference learning
- Database: Appwrite for data storage
- Video Processing: OpenCV for frame extraction and analysis
POST /api/buy/analyze-room- Analyze uploaded room photoPOST /api/buy/chat- Handle intelligent chat messagesPOST /api/buy/save-item- Save product to user's listGET /api/buy/saved-items/{user_id}- Get user's saved items
POST /api/sell/upload-video- Upload room video for processingGET /api/sell/extraction-status/{job_id}- Check processing statusPOST /api/sell/post-to-marketplace- Post items to marketplacePUT /api/sell/update-item- Edit item details
- Room analysis and object detection
- Natural language processing for chat
- Listing generation and pricing
- Real-time product search
- Market data and pricing information
- User preference learning
- Conversation context maintenance
- Personalized recommendations
- User data and preferences storage
- File storage for images and videos
- Authentication and sessions
- Dark Theme: Modern, premium aesthetic
- Glass Morphism: Translucent cards with backdrop blur
- Micro-interactions: Smooth hover effects and animations
- Responsive: Works seamlessly across all devices
- AI-First: Complex tasks handled automatically by AI
havenly.ai/
โโโ backend/
โ โโโ routes/
โ โ โโโ buy_mode.py # Buy mode API endpoints
โ โ โโโ sell_mode.py # Sell mode API endpoints
โ โโโ services/
โ โ โโโ room_analyzer.py # AI room analysis
โ โ โโโ video_processor.py # Video processing
โ โ โโโ product_search.py # Product search API
โ โ โโโ chat_service.py # Intelligent chat
โ โ โโโ mem0_service.py # Memory management
โ โ โโโ appwrite_service.py # Database operations
โ โโโ config.py # Configuration and env vars
โ โโโ main.py # FastAPI application
โ โโโ requirements.txt # Python dependencies
โโโ frontend/
โ โโโ src/
โ โ โโโ components/
โ โ โ โโโ LandingPage.tsx # Main landing page
โ โ โ โโโ BuyMode.tsx # Buy mode interface
โ โ โ โโโ SellMode.tsx # Sell mode interface
โ โ โ โโโ SavedItemsPage.tsx # User's saved products
โ โ โโโ App.tsx # Main app component
โ โ โโโ main.tsx # App entry point
โ โโโ package.json # Node.js dependencies
โ โโโ vite.config.ts # Vite configuration
โโโ README.md # This file
To use Havenly.ai, you'll need API keys from these services:
-
Nebius AI - For AI image analysis and text generation
- Sign up at Nebius AI Studio
-
Tavily API - For product search and market data
- Get your key at Tavily
-
Mem0 (Optional) - For user memory and personalization
- Register at Mem0
-
Appwrite (Optional) - For database and file storage
- Set up at Appwrite Cloud
The FastAPI backend can be deployed to any cloud platform:
# Using uvicorn for production
uvicorn main:app --host 0.0.0.0 --port 8000Build and deploy the React frontend:
npm run build
# Deploy the dist/ folder to your hosting platform- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Join our community discussions
- Real Marketplace Integration: Connect to actual selling platforms
- AR Visualization: See furniture in your room before buying
- Mobile App: Native iOS/Android applications
- Social Features: Share room transformations with friends
- Professional Services: Connect with interior designers
Made with โค๏ธ by the Havenly.ai team
Transform your space with the power of AI! ๐กโจ