srhtp

Crates.iosrhtp
lib.rssrhtp
version0.0.4
sourcesrc
created_at2024-02-24 11:06:15.859505
updated_at2024-02-25 14:00:19.493686
descriptionCLI utility for interacting with paste.sr.ht
homepage
repositoryhttps://git.sr.ht/~alphakeks/srhtp.git
max_upload_size
id1151554
size78,777
AlphaKeks (AlphaKeks)

documentation

README

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

Commit count: 0

cargo fmt