Crates.io | wallabag-cli |
lib.rs | wallabag-cli |
version | 0.1.0 |
source | src |
created_at | 2018-12-13 08:42:53.245775 |
updated_at | 2018-12-13 08:42:53.245775 |
description | Command line client for Wallabag |
homepage | |
repository | https://github.com/swalladge/wallabag-rs |
max_upload_size | |
id | 101729 |
size | 23,115 |
Command line client for Wallabag.
This aims to be an extensive non-interactive command line application to interact with a Wallabag server.
Goals:
offline first
full two way syncing
save urls direct from command line
[-] list and view entries
export and save entries in a supported format
create/edit/delete entries
create/edit/delete annotations
create/edit/delete tags
search data
Note: to run without installing, you can use cargo run --bin <bin name>
. It
will need --
between this and any args meant for the target program. Eg.
cargo run --bin wallabag-cli -- entry list
.
It requires a valid toml config file to run. There is an example file that you
can use. Edit the example (or make a copy) and point the program at it like so:
wallabag-cli -c my_config.toml <args>
.
First, sync everything for use. All (well, most) commands that operate on the data work solely on the local versions saved in the database.
wallabag-cli -c myconfig sync
For some things, a full sync is required (eg. remotely deleted entries):
wallabag-cli -c myconfig sync --full
List entries:
wallabag-cli -c myconfig entry list
Show an entry with ID (IDs are shown in entry list
). This dumps the html
output - pipe through something that can display the html for easy reading:
wallabag-cli -c myconfig entry show 1798248 | w3m -dump -T text/html
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.