A desktop app to remotely manage blog posts on a server using Python, Tkinter, and SFTP. Supports creating, uploading, and deleting blog posts with metadata and image support.
- 🔒 Secure SFTP integration (via
paramiko) - ✍️ Add blog posts with images and metadata
- ❌ Delete old posts with confirmation
- 🖼️ GUI-based interface for ease of use
Windows:
- Download from python.org
- ✅ Be sure to check "Add Python to PATH"
macOS (Homebrew):
brew install python3Linux (Debian/Ubuntu):
sudo apt update
sudo apt install python3 python3-pip
Clone this repository or download the files.
Install required libraries:
pip install paramiko beautifulsoup4
Create a config.txt file in the root directory:
hostname=your.sftp.server.com
port=22
username=your_username
password=your_password
publicFilePath=/path/to/your/webroot/
python3 blogUI.py
A window will open listing existing blog posts.
You can add or remove blog posts using the buttons.
/your/publicFilePath/
├── index.html
├── styles.css
├── posts/
│ ├── meta.json
│ ├── post_*.html
├── images/
│ ├── uploaded_images.jpg
Blog post metadata is stored in posts/meta.json
Blog content is stored as individual HTML files
Images are stored in the images/ folder