CredUNITY is a web application that allows users to create and join groups for sharing subscription costs of OTT (Over-The-Top) platforms like Disney+Hotstar, SonyLIV, and Zee5.
In today's digital entertainment landscape, subscription costs for multiple OTT platforms can add up quickly. CredUNITY provides a solution by enabling users to form groups, split subscription costs, and manage payments together. The platform includes real-time chat, payment tracking, and transparent contribution management.
- User Authentication: Secure registration and login system with email, phone, and username support
- Group Management: Create, join, and manage subscription sharing groups
- Multi-Platform Support: Support for Disney+ Hotstar, SonyLIV, and Zee5 plans
- Real-time Chat: Built-in group chat using Socket.IO for communication between members
- Wallet System: Track contributions and manage payments for each group
- Digital Receipts: Generate individual and group receipts for payments
- Invite System: Join private groups with invite links or discover public groups
CredUNITY/
│
├── logs/ # Log files directory
│
├── src/ # Source code
│ ├── api/ # API endpoints
│ ├── config/ # Configuration settings
│ ├── core/ # Core application logic
│ ├── db/ # Database operations and models
│ ├── routes/ # Route handlers
│ ├── static/ # Static files (CSS, JS, images)
│ ├── templates/ # HTML templates
│ └── utils/ # Utility functions
│
├── instance/ # Instance-specific data
├── main.py # Application entry point
├── credunity.db # SQLite database
├── install.bat # Installation script for Windows
├── install.sh # Installation script for Linux
├── requirements.txt # Python dependencies
└── README.md # Project documentation
- Clone the repository
- Run
install.bat - Select option 1 for first-time setup or option 2 to run directly
- Access the application at
http://localhost:5050
- Clone the repository
- Make the installation script executable:
chmod +x install.sh - Run
./install.sh - Select option 1 for first-time setup or option 2 to run directly
- Access the application at
http://localhost:5050
-
Clone the repository:
git clone https://github.com/Gopal-dutta/CredUNITY cd CredUNITY -
Create a virtual environment:
python -m venv env -
Activate the virtual environment:
- Windows:
env\Scripts\activate.bat - Linux/Mac:
source env/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt -
Initialize the database:
python -c "from src.db.db_init import init_database; from src.config.config import DATABASE; init_database(DATABASE)" -
Run the application:
python main.py -
Access the application at
http://localhost:5050
- Register or log in to your account
- Navigate to "Create Group" from the dashboard
- Select the OTT platform, subscription plan, and group size
- Set visibility (public or private)
- Share the generated invite link with friends
- Use the "Join Group" feature to browse available public groups
- Or paste a private invite link in the "Join by Invite" section
- Follow the prompts to confirm joining the group
- Navigate to your group's page
- Go to the "Wallet" section
- Enter the amount you'd like to contribute
- Track contributions from all group members
- Backend: Flask 3.0.2 with Python 3.10
- Database: SQLite3
- Real-time Communication: Socket.IO with eventlet
- Async Support: Eventlet for non-blocking I/O
- Frontend: HTML, CSS, JavaScript with Flask templating
- Logging: Rotating file logs for application, database, and Socket.IO
To set up a development environment:
- Follow the installation instructions above
- Make code changes in the appropriate directories within
src/ - Run the application with debug mode:
python -c "import os; os.environ['DEBUG'] = 'True'; from main import app, socketio; socketio.run(app, debug=True)"
This project is licensed under the terms of the license included in the LICENSE file.
- Gopal Dutta , Anshul , Dipanshu Sharma, Chaitany Agrawal and Anubhav Bannerjee
- Flask and Socket.IO communities
- Python community