Thank you for your interest in contributing to OpenMindWell!
OpenMindWell is a self-hosted, open-source mental health support platform built by Team ZenYukti.
Important: There is no central hosted instance of OpenMindWell. Each deployment is independent:
- Users deploy their own instances with their own infrastructure
- Each instance uses its own Supabase database and HuggingFace API keys
- Users maintain full control over their data and deployment
- No shared public demo exists - this is intentional for privacy and security
- 🐛 Bug Reports: Open GitHub issues
- ✨ Feature Requests: Use issue templates
- 📝 Documentation: Improve this guide
- 💻 Code: Submit pull requests
- 🎨 Design: UI/UX improvements
- 🌍 Localization: Translate to other languages
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/openmindwell.git - Create branch:
git checkout -b feature/your-feature - Make changes and test locally
- Commit:
git commit -m "feat: add new feature" - Push:
git push origin feature/your-feature - Open Pull Request on GitHub
Note:
Please wait for maintainer confirmation or assignment before starting work on an issue. Pull requests opened without prior discussion or assignment may be closed if they do not align with the approved scope, technical approach, or current project priorities.Use Conventional Commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changesstyle:- Code style (formatting, no logic change)refactor:- Code restructuringtest:- Adding testschore:- Maintenance tasks
Examples:
feat: add breathing exercise timer
fix: resolve WebSocket reconnection bug
docs: update deployment guide for Railway
- Node.js 18+
- Supabase account (free tier)
- HuggingFace account (free tier)
- Clone the repository
git clone https://github.com/YOUR_USERNAME/OpenMindWell.git
cd OpenMindWell- Install dependencies
npm install
cd backend && npm install && cd ..
cd frontend && npm install && cd ..-
Set up Supabase
- Create a free account at supabase.com
- Create a new project
- Go to SQL Editor and run
database/schema.sql - Enable Anonymous authentication: Authentication → Providers → Anonymous (toggle ON)
- Disable CAPTCHA for development: Authentication → Settings → Disable CAPTCHA
-
Configure environment variables
Backend (backend/.env):
SUPABASE_URL=your_supabase_project_url
SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_KEY=your_service_role_key
HUGGINGFACE_API_KEY=your_hf_token
FRONTEND_URL=http://localhost:3000
PORT=3001Frontend (frontend/.env):
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_anon_key
VITE_API_BASE_URL=http://localhost:3001
VITE_WS_URL=ws://localhost:3001-
Get API keys
- Supabase: Project Settings → API (URL, anon key, service_role key)
- HuggingFace: huggingface.co/settings/tokens → New Token (Read access)
-
Run the application
# From root directory
npm run dev- Frontend: http://localhost:3000
- Backend: http://localhost:3001
OpenMindWell is a self-hosted application. Each deployment requires:
- Your own Supabase account (free tier available)
- Your own HuggingFace API token (free tier available)
- Hosting platform of your choice
Option 1: Cloud Hosting (Recommended for production)
-
Frontend: Vercel (free tier)
- Import GitHub repository
- Add environment variables from
frontend/.env.example - Deploy automatically from main branch
-
Backend: Render or Railway (free tier)
- Connect GitHub repository
- Set build command:
cd backend && npm install && npm run build - Set start command:
cd backend && npm start - Add environment variables from
backend/.env.example
Option 2: Self-Hosted (Full control)
- Deploy on your own VPS (DigitalOcean, AWS, etc.)
- Use Docker containers (Dockerfile included in backend)
- Run with PM2 or systemd for process management
Option 3: Local Network
- Run on local machine for personal use
- Great for testing and development
Important Notes:
- Each user maintains their own database and API keys
- No central hosted instance exists
- All infrastructure costs are borne by the deployer
- You control data privacy and security
See Project_Guide.md for detailed deployment instructions.
Connect with Team ZenYukti: