yshalsager's Channel
2.66K subscribers
74 photos
12 videos
6 files
827 links
A channel where you can find @yshalsager's projects and its updates.
https://yshalsager.com/en/
Download Telegram
shamela2epub V1.3.1

New Features:
- TUI using trogon.
- Parallel Downloads

Fixes
- Check existence of element and attributes before deleting in book info page.
- Add auto retry if page wasn't got successfully.

Misc
Use Python 3.11.
Use Parsel instead of beautifulsoup4 for HTML Parsing.
Migrate to ruff.
Update dependencies.

Release Info | GitHub | PyPi
๐Ÿ”ฅ1
Free dot app/dev domain for one year

https://porkbun.com/event/freeappdevdomain

Use coupon: TESTANDCODE
Calibre with KFX Docker

A Docker image for running Calibre with KFX support to allow conversion of KFX files to other formats.

Why?
Because Amazon's Kindle Previewer 3 is the only way currently to convert books into KFX using Calibre KFX Input and KFX Output plugins, and it's not available on Linux, so I run it under docker using Wine.

Usage
To use the Docker image, you can build it locally using the Dockerfile provided in this repository, or you can pull the image from Docker Hub using the following command:

docker pull yshalsager/calibre-with-kfx

Once you have the Docker image, you can run it using the following command:

docker run --rm -it -v "/path/to/local/folder:/app:rw" yshalsager/calibre-with-kfx [input_file] [output_file] [extra args]

Examples:

- Convert to azw3 with extra arguments: docker run --rm -it -v "$(pwd):/app:rw" yshalsager/calibre-with-kfx epub30-spec.epub epub30-spec.azw3 --dont-compress

- Convert to KFX: docker run --rm -it -v "$(pwd):/app:rw" yshalsager/calibre-with-kfx epub30-spec.epub epub30-spec.kfx

Versioning
- The docker image versions are tagged with build date and time. There's a GitHub release for each tag that lists versions of each component of the image, like base OS, Calibre and its plugins, and Kindle Previewer.
- Whenever any component gets updated, a new image is built and pushed.

https://github.com/yshalsager/calibre-with-kfx
๐Ÿ‘4๐Ÿ‘2๐Ÿ”ฅ1
E-Book Converter Bot has been updated to use Python 3.11, Calibre 6.23, KFX Input 2.2.0, KFX Output 2.0.0 and Kindle Previewer 3.72.0 (2023-05-16).

Try the bot new update: @ebook_converter_bot

If you like my work, you may consider supporting it via a donation. A donation was never necessary, but It's making life easier for me and guarantees paying server costs as well as keeping projects active and without annoying ads. My works are free and open-source, that cost money, time, and many efforts. You can do this using GitHub Sponsors, LibrePay, or PayPal.
โค2๐Ÿ‘2๐Ÿ”ฅ2
#TIL

fatsort is a linux cli tool that can be used to sort media and files on sd cards to be used in media players to preserve audio files sorting.
๐Ÿ‘2
It has been narrated on the authority of Abu Said al-Khudri that the Messenger of Allah (๏ทบ) said (to him):

Abu Sa
id, whoever cheerfully accepts Allah as his Lord, Islam as his religion and Muhammad as his Apostle is necessarily entitled to enter Paradise.

Sahih Muslim (1884)
โค14๐Ÿ‘1
#TIL

In #LibreOffice Writer, changing all images anchors or size in a document can be done using PicTool extension.
E-Book Converter Bot became two years old!

Two years ago on this day I completed the development of E-Book Converter Bot (@ebook_converter_bot) first version, which is a Telegram bot for converting different text book formats (from Word document or EPUB to Kindle KFX format for example and vice versa).

It aims to serve users of e-readers, especially those who do not have a computer or have little technical experience and cannot perform the conversion using specialized programs.

Today, the number of bot users has reached more than 14000 users, and the number of books converted through the bot is more than 100000 books.

Over the past two years, I have added many features and updates to the bot and the development is ongoing.

The bot is open source and written in Python. All technical details can be found here: https://github.com/yshalsager/ebook-converter-bot

To use the bot, all you have to do is sending the file you want to convert to the bot and it will ask you to choose the format to convert to and then send the converted file. The bot can also be used in groups by replying to any file with the command

https://t.me/ebook_converter_bot
โค8๐Ÿ”ฅ1๐Ÿ‘1