MirrorCore is a visual consciousness interface for exploring thoughts, beliefs, emotions, and growth patterns. It features a FastAPI backend and a modern React frontend built with Vite and Tailwind CSS.
- FastAPI backend for future extensibility
- React frontend with Vite for fast development
- Tailwind CSS for modern styling
- Lucide icons for a beautiful UI
- In-memory state management for thoughts, beliefs, emotions, patterns, and dreams
- Pattern and contradiction detection
- Dream generation based on top beliefs
- Create and activate a Python virtual environment:
python -m venv .venv .venv\Scripts\activate
- Install FastAPI and Uvicorn:
pip install fastapi uvicorn
- Run the backend:
uvicorn mirrorcore_api:app --reload --port 8000
- Open a new terminal and navigate to the
frontend
directory:cd frontend
- Install dependencies:
npm install
- Start the development server:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass npm run dev
- Open your browser to http://localhost:5173
mirrorcore_api.py
,mirrorcore.py
,mirrorcore_ui.py
: Backend codefrontend/
: React frontendfrontend/src/MirrorCore.jsx
: Main UI component
MIT