ConvoRoom is a real-time communication platform that facilitates collaborative conversations enhanced with AI assistance.
- React with Vite for fast development
- Tailwind CSS for styling
- WebSocket client for real-time communication
- Django framework
- Langchain with Google Generative AI (Gemini)
- MongoDB for message storage
ConvoRoom/
βββ backend/
β βββ api/ - API endpoints and WebSocket consumers
β βββ requirements.txt - Python dependencies
βββ frontend/
β βββ src/
β β βββ components/ - React components
β β βββ pages/ - Main application pages
β β βββ css/ - Style sheets
β βββ public/ - Static assets
β βββ package.json - Node.js dependencies
βββ .env - Environment variables
βββ .gitignore
βββ README.md
- Python 3.x
- Node.js 16+ and npm
- MongoDB database
- Google API key for Gemini AI
- Clone the repository
git clone https://github.com/AdarsHH30/ConvoRoom-AI.git
cd ConvoRoom- Set up Python environment
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate
cd backend
pip install -r requirements.txt- Install Node.js dependencies
cd ../frontend
pnpm installCreate a .env file in the backend directory with necessary environment variables:
DATABASE_URL=mongodb://username:password@host:port/database
GOOGLE_API_KEY=your_google_gemini_api_key
SECRET_KEY=your_django_secret_key
Create a .env file in the frontend directory with these variables:
VITE_API_URL=http://localhost:8000/api
VITE_WS_URL=ws://localhost:8000/ws
Adjust the URLs according to your production environment when deploying.
- Start the backend server:
cd backend
python manage.py runserver- In a separate terminal, start the frontend development server:
cd frontend
pnpm dev-
Open your browser and navigate to
http://localhost:5173(or the port shown in your terminal) -
Create a new room or join an existing room using its ID
- Create a new room instantly with one click
- Join existing rooms by entering a room ID
- Access your recently visited rooms
- AI assistance by addressing messages to the AI
- Code sharing with syntax highlighting
- Markdown formatting in messages
- Copy message content with a single click
Adarsh Hegde
LinkedIn: https://www.linkedin.com/in/adarsh30/
Portfolio: https://www.adarshhegde.tech/
GitHub: https://github.com/AdarsHH30
Twitter: https://x.com/Adarsh13673751