Draftly
A minimal blog engine built with Flask, styled with Tailwind CSS, and powered by TinyMCE. Work in progress...
🚀Overview
Draftly is a beginner-friendly blog engine designed for simplicity. It allows users to create and manage posts with categories (no tags) through a dashboard. The project uses Flask on the backend, with a focus on delivering clean designs using Tailwind CSS and dynamic post editing with TinyMCE.
🌟Features
- Post Management: Create, update, and delete posts with category support.
- Dashboard Interface: Manage your content easily from an admin dashboard.
- TinyMCE Editor: Rich text editor for creating engaging blog posts.
- Tailwind CSS Styling: Responsive design with minimal custom CSS.
- Blueprints in Flask: Clean structure with modular routes and views.
- SQLite Database: Simple, lightweight database for managing content.
- Still Under Construction: Some features are being idealized!
🛠Installation & Setup
Clone the repository
git clone https://github.com/jydykun/Draftly.git
cd draftly
Set up a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install Dependencies
pip install -r requirements.txt
Initialize Database
python cli.py init-db
Run the Development Server
python cli.py run-debug
🌐Deployment
- Using Render:
- Configure the Start Command:
gunicorn wsgi:app
- Ensure environment variables are properly set (e.g., FLASK_ENV).
- Optionally, use persistent volumes on Render to store your SQLite database.
📋Technologies Used
- Flask: Backend framework to power the blog engine.
- SQLite: Lightweight database to store posts and categories.
- TinyMCE: Rich text editor for creating blog posts.
- Tailwind CSS: Utility-first framework for styling the blog.
- Gunicorn: WSGI server for deployment.
💡To-Do / Future Features
- Role-based access control.
- Post analytics and visitor tracking.
- Implement search functionality across posts.
- Provide commenting functionality.
💡Screenshots
