A personal build of the TUI matrix client including image-pasting and notifications for all rooms
cf3f3e51d1
In some cases tcell sends Key{Ctrl,Alt}{Up,Down} events instead of Key{Up,Down} event that have the corresponding modifier mask set. (these key combinations are used for switching rooms) |
||
---|---|---|
config | ||
deb/DEBIAN | ||
debug | ||
interface | ||
lib | ||
matrix | ||
scripts | ||
ui | ||
vendor | ||
.codeclimate.yml | ||
.editorconfig | ||
.gh-deployer.yaml | ||
.gitignore | ||
.travis.yml | ||
chat-preview.png | ||
gomuks.go | ||
Gopkg.lock | ||
Gopkg.toml | ||
LICENSE | ||
main.go | ||
README.md |
gomuks
A terminal Matrix client written in Go using gomatrix and tview.
Basic usage is possible, but expect bugs and missing features.
Discussion
Matrix room: #gomuks:maunium.net
Installation
Once the client becomes actually usable, I'll start making GitHub releases with precompiled executables. For now, you can either download a CI build from dl.maunium.net/programs/gomuks or compile from source:
- Install Go 1.10 or higher
- Run
go get -u maunium.net/go/gomuks
- gomuks should now be in
$GOPATH/bin/gomuks
Usage
- switch rooms -
Ctrl + ↑
Ctrl + ↓
Alt + ↑
Alt + ↓
- scroll chat (line) -
↑
↓
- scroll chat (page) -
PgUp
PgDown
- jump to room -
Alt + Enter
, thenTab
andEnter
to navigate and select room
Commands
help
- Is a known commandme <text>
- Send an emotequit
- Close gomuksclearcache
- Clear room state and close gomuksleave
- Leave the current roomjoin <room>
- Join the room with the given room ID or aliastoggle <rooms/users/baremessages/images/typingnotif>
- Change user preferenceslogout
- Log out, clear caches and go back to the login viewsend <room id> <event type> <content>
- Send a custom eventsetstate <room id> <event type> <state key/
-> <content>
- Change room state