matrix cli
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
mel 7e0e3c26db
synapse image - include apt upgrade
2 weeks ago
cmd add securego/gosec security tests (#7) 2 months ago
godnd container builds security tests will scope all layers 2 months ago
matrix add securego/gosec security tests (#7) 2 months ago
trixtest synapse image - include apt upgrade 2 weeks ago
.gitignore use anchore for container security scans 2 months ago
.go-version use anchore for container security scans 2 months ago
.woodpecker.yml release pipeline step (trigger on tag event) 1 month ago
Earthfile use anchore for container security scans 2 months ago
LICENSE Initial commit 3 months ago
README.md update README with release info 1 month ago
go.mod add securego/gosec security tests (#7) 2 months ago
go.sum error logs include stack trace + do not exit 1 (#4) 2 months ago
main.go error logs include stack trace + do not exit 1 (#4) 2 months ago
main_test.go automatically convert text to html text rendered by matrix (#6) 2 months ago

README.md

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

Give Up GitHub

This project has given up GitHub. (See Software Freedom Conservancy's Give Up GitHub site for details.)

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. We do not consent to GitHub's use of this project's code in Copilot.