Files
MiniFaceBook/README.md
T
Michatec 5febf7e64d feat(shop): implement CSRF protection and improve UI/UX
- Add CSRF token validation to the shop purchase process to prevent cross-site request forgery.
- Implement a unique constraint on `UserShopItem` to prevent duplicate purchases of the same item.
- Refactor the shop template with a modern, responsive grid layout and improved visual feedback for owned items.
- Enhance CSS with better dark/light mode support, including improved navbar styling and scrollbar customization.
- Add `.env_example` and update documentation for environment variable setup.
- Integrate `python-dotenv` for environment variable management.
- Improve logging configuration for the application.
- Update `.gitignore` to include `venv/` and `.env`.

Co-authored-by: Copilot <copilot@github.com>
2026-04-26 20:49:42 +02:00

1.5 KiB

MiniFacebook

MiniFacebook is a minimalist social network built with Flask, SQLAlchemy, and Bootstrap. It allows you to share posts, images, videos, and messages with friends—ad-free and privacy-focused.

Features

  • Share posts, images, videos, and documents
  • Friend requests and friends list
  • Activity notifications
  • Realtime notifications
  • Shop for premium features (e.g., gold frames, extra uploads)
  • Admin panel with user management
  • Multilingual (German/English)
  • Dark and light mode
  • Gravatar Addon
  • Discord login and linking
  • Support ticket system
  • Password reset via email
  • Responsive design for desktop and mobile

Installation

  1. Clone the repository

    git clone https://github.com/Michatec/MiniFaceBook.git
    cd MiniFaceBook
    
  2. Install dependencies

    pip install -r requirments.txt
    
  3. Setup the .env file

    mv .env_example .env
    

    And you can change this file, to your preferred Settings. ⚠️ You need to set up a PORT

  4. Start

    python main.py
    
  5. Optional:

    Go to routes/example_oauth.py

    Paste Your Client ID and Client Secret from the Discord Dev portal.

    And rename it to oauth.py

Help to translate

https://poeditor.com/join/project/emzEV5JvvI

License

This project is licensed under the GNU General Public License v3.0.