A personal blogging platform focused on AI and Python projects, created by TPO (TwoPintOhh).
- User authentication (register, login, logout)
- Create, read, update, and delete blog posts
- Markdown support for rich text formatting
- Image upload for blog posts
- Responsive design using Bootstrap
- Syntax highlighting for code blocks
- Backend: Flask (Python web framework)
- Database: SQLite with SQLAlchemy ORM
- Frontend: HTML, CSS, JavaScript
- CSS Framework: Bootstrap 5
- Markdown Processing: Python-Markdown
- Syntax Highlighting: highlight.js
-
Clone the repository:
git clone https://github.com/TPO-Code/ohtest.git cd ohtest -
Install dependencies:
pip install -r requirements.txt -
Set up environment variables (or create a .env file):
FLASK_APP=app.py FLASK_ENV=development SECRET_KEY=your-secret-key -
Run the application:
flask run
- Register a new account or login with existing credentials
- Create new blog posts using the "New Post" button
- Format your posts using Markdown syntax
- Optionally upload images to accompany your posts
- View, edit, or delete your posts as needed
MIT
TPO (TwoPintOhh) - GitHub