Winternet is a web application built using Flask. It is a social media framework meant to facilate access of self-hosting your own social media. It is minimal and includes no bloat whatsoever. I tested it on a 1 GHZ Pentium computer and it worked just fine. If you want to see it in live it is hosted here: https://winternet.pythonanywhere.com
- User authentication and session management
- Subscribe to other users
- Like hashtags
- View a feed of posts from subscriptions and liked hashtags
-
Clone the repository:
git clone https://github.com/yourusername/Winternet.git cd Winternet
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Set up environment variables:
export FLASK_APP=flask_app.py export FLASK_ENV=development
-
Run the application:
flask run
- Navigate to
http://127.0.0.1:5000/
in your web browser or the host url. - Register or log in to your account.
- Subscribe to other users and like hashtags.
- View your personalized feed.
There is a long list of CSV files to create and manage, including:
-
[likedhashtags.csv] Stores liked hashtags for users.
-
[posts.csv]: Stores posts.
locked.csv users.csv profile.csv groups.csv posts.csv group_posts.csv messages.csv subscriptions.csv restricted.csv sudo.csv likedhashtags.csv videos.csv group_members.csv images.csv signed.csv servers.csv
You will need to create these in the root directory
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the GPL 3.0 License. See the LICENSE
file for more details.