mirror of
https://github.com/Michatec/MiniFaceBook.git
synced 2026-05-30 18:02:40 +02:00
5febf7e64d
- 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>
1.5 KiB
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
-
Clone the repository
git clone https://github.com/Michatec/MiniFaceBook.git cd MiniFaceBook -
Install dependencies
pip install -r requirments.txt -
Setup the .env file
mv .env_example .envAnd you can change this file, to your preferred Settings. ⚠️ You need to set up a PORT
-
Start
python main.py -
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.