4 releases
0.0.4 | Feb 25, 2024 |
---|---|
0.0.3 | Feb 25, 2024 |
0.0.2 | Feb 24, 2024 |
0.0.1 | Feb 24, 2024 |
#721 in Web programming
26KB
313 lines
srhtp - sourcehut paste
This is a small utility I wrote to CRUD pastes on https://paste.sr.ht
Installation
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
Usage
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
Dependencies
~10–23MB
~324K SLoC