Crates.io | srhtp |
lib.rs | srhtp |
version | 0.0.4 |
source | src |
created_at | 2024-02-24 11:06:15.859505 |
updated_at | 2024-02-25 14:00:19.493686 |
description | CLI utility for interacting with paste.sr.ht |
homepage | |
repository | https://git.sr.ht/~alphakeks/srhtp.git |
max_upload_size | |
id | 1151554 |
size | 78,777 |
This is a small utility I wrote to CRUD pastes on https://paste.sr.ht
You can either install with cargo
:
$ cargo install srhtp
Or you can compile from source:
$ git clone https://git.sr.ht/~alphakeks/srhtp.git
$ cd srhtp
$ cargo run
You can see an overview over all commands and flags by running:
$ srhtp help
Every command requires the SRHT_OAUTH
environment variable to be set in
order to communicate with sourcehut's API.
You can create an access token on this page: https://meta.sr.ht/oauth