MariNet is a social learning platform built with Flask, allowing users to connect, post content, join academic clubs, and engage with a built-in AI Tutor powered by Gemini AI.
- ✅ User Authentication (Register/Login/Logout)
- 📝 Post System with image support and voting (upvote/downvote)
- 🧠 AI Tutor powered by Gemini (math, science, history, etc.)
- 👥 Group System with posts, membership, and admin roles
- 🔔 Notifications (mentions, group interactions)
- 🗳️ Voting system for both user and group posts
- 🧪 Responsive UI using Bootstrap 5 + custom CSS
- 📁 Image Uploads with secure file handling
- 💬 Anonymous Chat Room with unique identities
- Backend: Python, Flask, Flask-SQLAlchemy, Flask-Login
- Frontend: Bootstrap 5, Jinja2 templates, JavaScript
- AI: Gemini API (Google Generative Language API)
- Database: SQLite
- Other: Socket.IO for real-time chat
bash
- git clone https://github.com/rionte/marinet.git
- cd marinet
pip install -r requirements.txt
- Set up Gemini API key: Your Google Generative Language API key
- Secret Key: A strong random string
- flask run
- Email: admin@marinet.edu
- Password: admin123