A web app for first-generation college students featuring an AI chatbot, live chat room, and user authentication.
- Python 3.10+
- An OpenAI API key
-
Clone the repo and install dependencies:
pip install flask flask-socketio openai python-dotenv werkzeug
-
Create a
.envfile in the project root:OPENAI_API_KEY=sk-your-key-here -
Run the app:
python main.py
-
Open http://127.0.0.1:5000 in your browser.
The SQLite database (users.db) is created automatically on first run — no setup needed.
- Login / Sign Up — User accounts stored in a local SQLite database
- Homepage — AI chatbot popup powered by GPT-3.5-turbo (requires OpenAI key)
- Live Chatroom — Real-time messaging via Socket.IO at
/room