Convert blog (blogspot.com, wordpress.com or another based on Wordpress) to epub using command line or GUI.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Bohdan Bobrowski 1a8043e220 Exceptions 3 weeks ago
blog2epub Exceptions 3 weeks ago
images OSX buildfixes 1 month ago
packages/aur OSX buildfixes 1 month ago
.gitignore OSX buildfixes 1 month ago
LICENSE OSX buildfixes 1 month ago
README.md OSX buildfixes 1 month ago
android.txt OSX buildfixes 1 month ago
blog2epub.appdata.xml OSX buildfixes 1 month ago
blog2epub.desktop OSX buildfixes 1 month ago
blog2epub_linux.spec OSX buildfixes 1 month ago
blog2epub_osx.spec OSX buildfixes 1 month ago
blog2epub_windows.spec OSX buildfixes 1 month ago
blog2epubcli.py Aur package and minor fixes 5 months ago
blog2epubkivy.py Black - code reformat ;-) 1 year ago
build_linux.sh Linux build and aur package 5 months ago
build_osx.sh OSX buildfixes 6 months ago
build_windows.bat OSX buildfixes 1 month ago
buildozer.spec OSX buildfixes 1 month ago
com.bohdanbobrowski.blog2epub.json OSX buildfixes 1 month ago
requirements.txt OSX buildfixes 1 month ago
setup.py OSX buildfixes 1 month ago

README.md

blog2epub

Maintenance MIT license

Convert blog to epub using command line or GUI.

Supported blogs:

  • *.wordpress.com and some blogs based on Wordpress
  • *.blogspot.com

Main features

  • command line (CLI) and graphic user interface (GUI)
  • script downloads all text contents of selected blog to epub file,
  • if it's possible, it includes post comments,
  • images are resized (to 400x300px) and converted to grayscale,
  • one post = one epub chapter,
  • chapters are sorted by date ascending,
  • cover is generated automatically from downloaded images.

Example covers

Installation

  • for macOS users: available app
  • python3 setup.py install

Running froum sources

git clone git@github.com:bohdanbobrowski/blog2epub.git
cd blog2epub
python -m venv venv
source ./venv/bin/activate
pip install -r ./requirements.txt
./blog2epubgui.py

Screenshots of GUI

Linux

macOS

CLI

blog2epub [blog url] <parameters>

Parameters

-l/--limit=[x] - limit epub file to x posts
-s/--skip=[x] - skip x latest posts
-q/--images-quality=[0-100] - included images quality (default is 40)
-n/--no-images - don't include images

Examples

blog2epub starybezpiek.blogspot.com
blog2epub velosov.blogspot.com -l=10
blog2epub poznanskiehistorie.blogspot.com -q=100
blog2epub classicameras.blogspot.com --limit=10 --no-images

TODO list / Planned features

  • cross-platform GUI (Kivy)
  • macos, linux (and maybe windows) app/package
  • mobile app (android)
  • more blog engines and templates supported (wordpress.com etc.)

Release notes

1.2.1

  • Kivy threading fix
  • skip parameter fix
  • Linux build (now I'm working on adding package to various linux package repositories)

1.2.0

  • migration to Kivy :-)
  • some bugfixes in crawler
  • wordpress.com support!

1.1.0

  • migration to Gtk (for better support on multiple platforms)
  • requirements cleanup
  • about dialog
  • macOS dmg installer included

1.0.5

  • gzip html in cache folder
  • atom feed parsing
  • better system notifications, also under linux

1.0.4

  • improved saving GUI settings
  • system notification on finished download

1.0.3

  • saving GUI settings to yaml file
  • first macOS builds (pyinstaller)