A simple command-line blog database built in Python.
This project allows users to create, view, and search blog posts stored in a text file (BD.txt).
It uses Colorama for colored terminal output and provides a clean, interactive CLI experience.
You can download the latest .exe build from the Releases page.
- Windows users: Download
blog_database.exeand run it directly. - No need to install Python or dependencies.
- Create a new folder (e.g.,
BlogDB). - Place
blog_database.exeinside that folder. - Run
blog_database.exe. - A
BD.txtfile will be generated in the same folder to store your blogs.
-
Add New Blog
- Enter title, author, co-author, and multiline blog content.
- Auto-generates index and date for each post.
-
View All Posts
- Displays all blogs with formatted colors for readability.
-
Search Blogs
- Search by Author
- Search by Co-Author
- Search by Date
-
File Handling
- Automatically creates
BD.txtif missing. - Shows disclaimer and countdown before redirecting to menu.
- Automatically creates
-
Exit Flow
- Graceful exit with countdown timer.
- Python 3.x
- Libraries:
coloramadatetime(built-in)os(built-in)re(built-in)time(built-in)
Install dependencies:
pip install colorama