trix

command module
v0.0.0-...-a167794 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 5 Imported by: 0

README

status-badge

trix

A matrix cli for performing one-off tasks.

The cli is desigend to be mostly self-documenting. To see the cmd line options, run trix help.

Currently, the cli supports sending encrypted messages to a matrix room. The user needs to already exist on the matrix host and needs permission to join the the matrix room. The primary use-case for this project is in scripts to send notifications to a matrix room.

Current releases in this repo are verified to work on debian/ubuntu flavor linux hosts. The libolm C libraries must be installed onto the host to support matrix encryption. I haven't tested this on other linux falvors or macos yet.

development

An integration test suite exists in this repo which is managed by Earthly. Once you have earthly installed, the Earthfile in the root of the repo has a +test target which bootstraps an isolated matrix server and tests the trix binary against it.

The Earthfile +all target will build the trix binary, run the integration tests, and create a local trix artifact.

Tests can be run in debug mode by providing the DEBUG ARG to the earthly command. For example, earthly --build-arg DEBUG=true +all

mirrored to github

This project is mirrored to GitHub. It is actually located at Codeberg.

Any use of this project's code by GitHub Copilot, past or present, is done without our permission: GiveUpGitHub.org.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmd trix implementation of cobra
Package cmd trix implementation of cobra
Package matrix helpful functions for repetitive tasks in the mautrix go module
Package matrix helpful functions for repetitive tasks in the mautrix go module

Jump to

Keyboard shortcuts

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