Convert blog to epub using command line or GUI.
- *.blogspot.com
- *.wordpress.com and some blogs based on WordPress
- 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 downsized (to maximum 800/600px) and converted to grayscale,
- one post = one epub chapter,
- chapters are sorted by date ascending,
- cover is generated automatically from downloaded images.
Checkout for latest available builds.
git clone git@github.com:bohdanbobrowski/blog2epub.git
cd blog2epub
poetry install
poetry run blog2epubgui
poetry run build_gui_windows
poetry run build_gui_macos
And then to create dmg image with app:
./make_macos_dmg.sh
Before you start, you'll need to install buildozer following this installation documentation.
poetry shell
buildozer -v android
poetry run blog2epub [blog url] <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
poetry run blog2epub starybezpiek.blogspot.com
poetry run blog2epub velosov.blogspot.com -l=10
poetry run blog2epub poznanskiehistorie.blogspot.com -q=100
poetry run blog2epub classicameras.blogspot.com --limit=10 --no-images
pytest ./tests
pytest --cov=blog2epub ./tests
pytest --cov=blog2epub --cov-report=html ./tests
- custom destination folder
- UI improvements (better scaling, more rely on KivyMD default features)
- mypy and ruff pipeline job (via github Actions)
- Android build
- begin unit testing
- crawlers refactor - some part is done
And finally, a list known bugs and future plans for some new functions and enhancements: BACKLOG.md
- 1.0 - somewhat working
- 2.0 - fully working project, 90% unit tested and available builds for Android/Windows/Linux/MacOS