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