srhtctl

command module
v0.0.0-...-5ecafbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

README

srhtctl

Notice

Project is discontinued in favour of hut.

builds.sr.ht status Documentation

srhtctl is a CLI for interacting with the sourcehut API.

A goal of this project is that you can use sourcehut from your terminal just like you would from your browser.

Installation

Just download the source code and build it with make.

There is an aur package for Arch Linux.

Usage

You have to create a config.ini in your XDG_CONFIG_HOME under the srhtctl folder. On Darwin, your configuration directory is ~/Library/Application Support/srhtctl. The only necessary value is your sourcehut authentication token. By default you will interact with the original sourcehut instance at https://sr.ht/.

Currently implemented are parts of the meta, git, paste and builds api. You can for example create pastes or deploy build manifests from your command line. As extra features you can create pastes with expiration times and edit build files on the fly with your favourite $EDITOR.

Wiki

There will be documentation in the wiki. The wiki is based on the wiki branch of this repository.

Contributing

You can send patches to the mailing list and report bugs via email on the tracker.

Comments

There is a systemd service example in assets for cleaning up your expired pastes.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL