Likebook WiFi Book Uploader
CLI to manage books on a Likebook (or compatible) e-reader running WiFi Book Transfer. List, download, upload, and delete books from the command line.
Requirements
- Python 3.8+
- E-reader with WiFi Book Transfer enabled and on the same network
Installation
With pipx (recommended):
pipx install .
Or from the git repository:
pipx install git+https://github.com/pablogventura/likebook-wifi-book-uploader.git
With pip:
pip install .
Without installing (run from source):
pip install -r requirements.txt
python likebook_wifi_book_uploader.py
Usage
If no host is specified, the script scans your local network for the WiFi Book Transfer server.
# List books (auto-discovers server)
likebook-wifi-book-uploader
# Use specific IP
likebook-wifi-book-uploader -H 192.168.1.196
# Download book by index
likebook-wifi-book-uploader -g 3
# Download book by name
likebook-wifi-book-uploader -g "book.pdf"
# Download to specific directory
likebook-wifi-book-uploader -g 1 -o ~/books
# Upload file(s)
likebook-wifi-book-uploader -u book.pdf
likebook-wifi-book-uploader -u book1.pdf book2.epub
# Delete book (asks confirmation)
likebook-wifi-book-uploader -d 5
likebook-wifi-book-uploader -d "book.pdf"
# Full help
likebook-wifi-book-uploader -h
Options
| Option | Description |
|---|---|
-H, --host IP |
Server IP (auto-discovers on local network if omitted) |
-g, --download NAME_OR_INDEX |
Download book by name or index |
-o, --output DIR |
Output directory for downloads (default: current) |
-u, --upload FILE... |
Upload one or more files |
-d, --delete NAME_OR_INDEX |
Delete book by name or index |
-h, --help |
Show help |
Supported formats
EPUB, TXT, PDF, MOBI, AZW, AZW3, FB2, DOC, DOCX, HTM, HTML, CBZ, CBT, CBR, JVU, DJVU, DJV, RTF, ZIP, RAR
Publishing to PyPI
pip install build twine
./publish.sh # Publish to PyPI
./publish.sh --test # Publish to Test PyPI
Create a PyPI API token at https://pypi.org/manage/account/token/ and configure twine (e.g. ~/.pypirc or environment variables).
Metadata
Release files for likebook-wifi-book-uploader 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| likebook_wifi_book_uploader-0.1.1.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| likebook_wifi_book_uploader-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.1 kB
Release files / likebook_wifi_book_uploader-0.1.1.tar.gz
| Download URL | likebook_wifi_book_uploader-0.1.1.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39674400bd436ab00d775023c07f6f23212b4fe8d1b7a21acf34171b49df13b1
|
|
BLAKE2b-256 checksum How to use checksums |
6b6982778b2517cc8c7f89de1f4f8f76fa951974911a4648bfed4e7f29f1aecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / likebook_wifi_book_uploader-0.1.1-py3-none-any.whl
| Download URL | likebook_wifi_book_uploader-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f347808ad5664292ab476f7abfdc63e1a1323841c4178a8deeeb36b74b64389f
|
|
BLAKE2b-256 checksum How to use checksums |
31564f3d9d443536b348b24f0bc5bfe13833c2ae42384decdcb9ee3897317c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|