Convert blog (blogspot.com, wordpress.com...) or any website to epub using GUI, CLI or Python. https://github.com/bohdanbobrowski/blog2epub
Find a file
Bohdan Bobrowski 5ea5981a30 v1.2.6
2024-03-29 23:53:35 +01:00
.github/workflows Create jekyll.yml 2023-10-28 21:55:16 +02:00
assets Updating windows screenshot 2023-10-30 00:10:24 +01:00
blog2epub Skip and atom feed bug 2024-03-29 23:46:33 +01:00
packages/aur OSX buildfixes 2023-02-25 11:38:28 +01:00
.gitignore Changelog as blog 2023-10-29 10:05:31 +01:00
.pylintrc Refactor 2023-10-25 10:52:48 +02:00
android.txt OSX buildfixes 2023-02-25 11:38:28 +01:00
blog2epub.appdata.xml OSX buildfixes 2023-02-25 11:38:28 +01:00
blog2epub.desktop OSX buildfixes 2023-02-25 11:38:28 +01:00
blog2epub_linux.spec OSX buildfixes 2023-02-25 11:38:28 +01:00
blog2epub_macos.spec New fonts in spec files 2023-10-28 13:11:26 +02:00
blog2epub_windows.spec New fonts in spec files 2023-10-28 13:11:26 +02:00
blog2epubcli.py Refactor 2023-10-25 10:52:48 +02:00
blog2epubkivy.py Refactor 2023-10-25 10:52:48 +02:00
build_linux.sh Linux build and aur package 2022-10-21 14:40:48 +02:00
build_macos.sh Improving macos build - dmg now contains Applications folder shortcut to ease installation 2023-10-19 18:42:38 +02:00
build_windows.bat Windows build - first attempts 2023-10-20 09:51:03 +02:00
buildozer.spec OSX buildfixes 2023-02-25 11:38:28 +01:00
CHANGELOG.md v1.2.6 2024-03-29 23:53:35 +01:00
com.bohdanbobrowski.blog2epub.json OSX buildfixes 2023-02-25 11:38:28 +01:00
index.html Github Pages 2023-10-30 00:12:11 +01:00
LICENSE OSX buildfixes 2023-02-25 11:38:28 +01:00
Makefile Jekyll 2023-10-29 01:21:02 +02:00
README.md v1.2.6 2024-03-29 23:53:35 +01:00
requirements.dev.txt ruff>=0.3.4 2024-03-28 20:55:15 +01:00
requirements.txt Latex bugfix 2024-03-26 22:39:28 +01:00
setup.py change font from Lato (nice but large files) to much smaller (Alegreya and Martian Mono for UI) 2023-10-28 10:29:02 +02:00

blog2epub

Maintenance MIT license GitHub all releases GitHub release (with filter) GitHub Release Date - Published_At

Convert blog to epub using command line or GUI.

Supported blogs:

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

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 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.

Example covers

Installation

  • for Windows and macOS users: available builds
  • 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

Windows 10

macOS

Linux

Mint 21.2 Cinnamon

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

Planned features and known bugs

  • utilize GitHub Pages for this project documentation
  • there are some bugs in wordpress.com crawler
  • Linux app/package(s)
  • Android app
  • code needs some refactor: classes are too "nested" within each other
  • more crawlers (ex. GitHub Pages 🙃)
  • improve existing crawlers (allow)
  • improve GUI - configuration, allow to save in selected place etc.

Change Log

v1.2.6 - 2024-03-30

bugfix release

  • resistance to broken links
  • atom feed when skipped
  • better comments support
  • more random cover generator

» Complete Change Log here «