StoryCLI
StoryCLI is an unofficial CLI tool for downloading your favourite audiobooks from Storytel without leaving your terminal. An active Storytel account is required for using this tool.
I am not responsible for any issues that this tool could cause, including but not limited to account blocking, temporary or permanent bans, loss of time or monet. I built this tool only as a learning experience, and making it open-source so other people can see the source code and learn. Use it at your own risk.
- Download from PyPI:
pipx install storycli
Authentication
Create ~/.storycli and fill it with your login credentials:
STORYCLI_MAIL=<your-storytel-email>
STORYCLI_PASS=<your-storytel-password>
Usage
usage: storycli [-h] (-q QUERY | -D BOOK_ID) [-o PATH] [-H]
Search and download Storytel audiobooks.
options:
-h, --help show this help message and exit
-q QUERY, --query QUERY
search for audiobooks
-D BOOK_ID, --download BOOK_ID
download an audiobook
-o PATH, --output PATH
MP3 output path (required with --download)
-H, --human-readable do not format query lengths as hours:minutes:seconds
Search an Audiobook:
storycli -q <search-query>
storycli -q Dune
storycli --query Dune
ID LENGTH TITLE
------- -------- ---------------
...
2759046 18:36:1 Paul of Dune
2836812 17:19:18 The Winds of Dune
2835170 19:31:19 Sandworms of Dune
...
Download an Audiobook:
storycli -D <book-id> -o <mp3-save-path>
storycli -D 2759046 -o ~/Downloads/2759046.mp3
storycli --download 2759046 -o ~/Downloads/2759046.mp3
Development
- Install the
uvproject manager. - Clone the project and run
uv sync.
Future Improvements
- Prevent logging in everytime by storing login tokens.
- Add book description preview.
- Better UX.
- Standalone Storytel TUI with builtin player.
- Better error message management.
License
MIT
Metadata
Release files for storycli 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 | Provenance | Actions |
|---|---|---|---|---|
| storycli-0.1.1.tar.gz | 5.2 kB | Without provenance | Details for storycli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| storycli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for storycli-0.1.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / storycli-0.1.1.tar.gz
| Download URL | storycli-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4906d49501220b30468d9f289f4f7b9372a1b40ff605610fef81882512da4b73
|
|
BLAKE2b-256 checksum How to use checksums |
0e09b2ef2017f95243b84005871252ccfcc705249367aead223192f72f1a3c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / storycli-0.1.1-py3-none-any.whl
| Download URL | storycli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4032bfcb7778133d81a75bf36b1f41e6773077bfe256f8912db6ed61eb70fe56
|
|
BLAKE2b-256 checksum How to use checksums |
13636eada67161a53a7a7be76d52e200b65f1447478472d1c91b24cf4804050e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for storycli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.