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

#696 in Command line utilities

Download history 163/week @ 2024-02-20 56/week @ 2024-02-27 5/week @ 2024-03-12 3/week @ 2024-03-19 137/week @ 2024-03-26 8/week @ 2024-04-02

153 downloads per month

Custom license

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–25MB
~367K SLoC