8000 GitHub - anshvis/rooma: Your AI home decorator · GitHub
[go: up one dir, main page]

Skip to content
anshvisPublic

About

Your AI home decorator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

rooma

Your AI home decorator

Project Structure

rooma/
├── rooma_ios/              # iOS Swift app
│   └── rooma_ios/
│       ├── Views/          # SwiftUI views
│       ├── Models/         # Data models
│       ├── Services/       # API services
│       ├── ViewModels/     # View models
│       ├── Config/         # App configuration
│       └── rooma_iosApp.swift
├── backend/                # FastAPI backend
│   ├── routers/           # API endpoints (auth, scans, chats)
│   ├── models/            # Database models
│   ├── schemas/           # Request/response schemas
│   ├── core/              # Core utilities (config, security, USDZ)
│   ├── db/                # Database configuration
│   ├── migrations/        # Database migration scripts
│   ├── main.py           # FastAPI app entry point
│   └── requirements.txt  # Python dependencies
└── README.md

Swift App Setup

  1. Open the project in Xcode (you'll need to create an Xcode project and add these files)
  2. Ensure iOS 16.0+ deployment target (required for RoomPlan - this is the lowest possible)
  3. Add RoomPlan framework to your project
  4. Configure Info.plist with camera permissions

Backend Setup

  1. Install Python dependencies:
cd backend
pip install -r requirements.txt
  1. Run the FastAPI server:
uvicorn main:app --reload --host 0.0.0.0 --port 8000
  1. Update the API base URL in rooma_ios/rooma_ios/Config/AppConfig.swift if needed (default: http://10.0.0.87:8000)

Features

  • User authentication (signup/login with JWT)
  • Room scanning using RoomPlan (LiDAR required)
  • USDZ file export and storage (Cloudflare R2)
  • Metadata extraction (dimensions, surfaces, objects, floor plans)
  • Furniture placement and editing on floor plans
  • AI-powered decoration recommendations
  • Product link extraction from AI responses
  • Secure token storage using Keychain

Development Notes

  • For iOS simulator testing, use your Mac's IP address in AppConfig.swift instead of localhost
  • RoomPlan requires a physical device with LiDAR (iPhone 12 Pro and later, iPad Pro)
  • Backend uses Cloudflare R2 for file storage (configure in .env file)
  • Database migrations are in backend/migrations/ and can be run individually
  • Backend runs on port 8000 by default (configurable in run.py)

About

Your AI home decorator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

< 2C0B /div>
0