matterhorn: Terminal client for the Mattermost chat system

[ bsd3, chat, library, program ] [ Propose Tags ]

This is a terminal client for the Mattermost chat system. Please see the README for a list of features and information on getting started.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 30802.1.0, 31000.0.0, 40000.0.0, 40000.0.1, 40000.0.2, 40000.1.0, 40400.0.0, 40600.0.0, 40600.1.0, 40700.0.0, 40800.0.0, 40800.0.2, 40900.0.0, 40900.0.1, 40901.0.0, 50200.0.0, 50200.1.0, 50200.1.1, 50200.2.0, 50200.3.0, 50200.3.1, 50200.4.0, 50200.5.0, 50200.6.0, 50200.7.0, 50200.8.0, 50200.9.0, 50200.10.0, 50200.10.1, 50200.10.2, 50200.10.3, 50200.11.0, 50200.12.0, 50200.13.0, 50200.14.0, 50200.14.1, 50200.15.0, 50200.16.0, 50200.17.0, 50200.18.0, 50200.19.0, 90000.0.0, 90000.0.1
Change log CHANGELOG.md
Dependencies aeson (>=1.2.3.0 && <1.6), aspell-pipe (>=0.6 && <0.7), async (>=2.2 && <2.3), base (>=4.8 && <5), base-compat (>=0.9 && <0.12), brick (>=0.64.1 && <0.65), brick-skylighting (>=0.2 && <0.4), bytestring (>=0.10 && <0.11), commonmark (>=0.2.1 && <0.3), commonmark-extensions (>=0.2.1.2 && <0.3), config-ini (>=0.2.2.0 && <0.3), connection (>=0.2 && <0.4), containers (>=0.5.7 && <0.7), data-clist (>=0.1.2 && <0.2), directory (>=1.3 && <1.4), filepath (>=1.4 && <1.5), gitrev (>=1.3 && <1.4), hashable (>=1.2 && <1.4), Hclip (>=3.0 && <3.1), matterhorn, mattermost-api (==50200.11.0), microlens-platform (>=0.3 && <0.5), mtl (>=2.2 && <2.3), network-uri (>=2.6 && <2.7), parsec (>=3.1 && <3.2), process (>=1.4 && <1.7), random (>=1.1 && <1.2), semigroups (>=0.18 && <0.20), skylighting-core (>=0.12 && <0.13), split (>=0.2 && <0.3), stm (>=2.4 && <2.6), stm-delay (>=0.1 && <0.2), strict (>=0.3 && <0.5), temporary (>=1.2 && <1.4), text (>=1.2 && <1.3), text-zipper (>=0.11 && <0.12), time (>=1.6 && <2.0), timezone-olson (>=0.2 && <0.3), timezone-series (>=0.1.6.1 && <0.2), transformers (>=0.4 && <0.6), unix (>=2.7.1.0 && <2.7.3.0), unordered-containers (>=0.2 && <0.3), utf8-string (>=1.0 && <1.1), uuid (>=1.3 && <1.4), vector (<0.13), vty (>=5.33 && <5.34), word-wrap (>=0.4.0 && <0.5), xdg-basedir (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright ©2016-2019 docs/AUTHORS.txt
Author matterhorn@galois.com
Maintainer matterhorn@galois.com
Category Chat
Source repo head: git clone https://github.com/matterhorn-chat/matterhorn.git
Uploaded by JonathanDaugherty at 2021-11-10T21:09:15Z
Distributions NixOS:90000.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables matterhorn
Downloads 20072 total (142 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-11-10 [all 1 reports]

Readme for matterhorn-50200.14.1

[back to package description]

Hackage

Matterhorn is a terminal client for the Mattermost chat system.

Quick Start

We provide pre-built binary releases for some platforms. Please see the release list to download a binary release for your platform that matches your server version:

https://github.com/matterhorn-chat/matterhorn/releases

To run Matterhorn, unpack the binary release archive and run the matterhorn binary within. Help is available via the --help or -h flag.

$ matterhorn --help
$ matterhorn

When you run Matterhorn you'll be prompted for your server URL and credentials. To connect, just paste your web client's Mattermost URL into the Server URL box and enter your credentials. See the Matterhorn User Guide on the details for providing each kind of supported credentials.

Note: Version ABBCC.X.Y matches Mattermost server version A.BB.CC. For example, if your Mattermost server version is 3.6.0 then you would download matterhorn version 30600.2.4. See Our Versioning Scheme for details.

Installation Requirements

For most of our binary releases, no additional packages need to be installed; they should just work out of the box. But here are some additional requirements that may apply for your platform:

  • CentOS Steam 8
    • The ncurses-compat-libs package must be installed.

Other Ways to Install: Third-Party Snap Package

@3v1n0 maintains a Snap package here:

https://github.com/3v1n0/matterhorn-snap/ (Snapcraft page)

Get Help!

We provide a number of avenues for getting support:

Features

  • Channel creation, deletion, and membership management commands
  • Support for multiple teams
  • Optimized channel-switching modes: M-a, M-s, and C-g
  • Message posting, editing, replying, and deletion
  • Markdown rendering
  • Convenient URL-opening with local browser
  • Secure password entry via external command (e.g. OSX keychain)
  • Secure authentication token entry via external command (e.g. OSX keychain)
  • Yank verbatim content from messages into the system clipboard
  • Optional live preview during message editing
  • Optional smart quoting for efficient Markdown entry
  • Edit messages with $EDITOR
  • Rebindable keys (see /help keybindings)
  • Message editor with kill/yank buffer and readline-style keybindings
  • Support for adding and removing emoji post reactions
  • Support for channel muting
  • Tab-completion of:
    • Usernames: type @, then Tab to cycle through matches
    • Channel names: type ~, then Tab to cycle through matches
    • Commands: type /, then Tab to cycle through matches
    • Emoji: type : and then some text, then Tab to display and cycle through matches
    • Fenced code block languages: type three backticks to begin typing a code block, then Tab to cycle through available languages
  • Support for attachment upload and download
  • Spell-checking via Aspell
  • Syntax highlighting of fenced code blocks in messages (works best in 256-color terminals)
  • Flagging and unflagging of posts, which are then viewable with M-8 or /flags
  • Support for SOCKS 4 and 5 proxies via the ALL_PROXY and HTTPS_PROXY environment variables. (Plain HTTP proxies are not yet supported.) Also supports NO_PROXY.
  • Multiple color themes with color theme customization support
  • Custom notifications via notification scripts (see the activityNotifyCommand configuration setting and docs/notification-scripts.md for details).
  • Optional mouse support

Our Versioning Scheme

Matterhorn version strings will be of the form ABBCC.X.Y where ABBCC corresponds to the lowest Mattermost server version expected to be supported by the release. For example, if a release supports Mattermost server version 1.2.3, the ABBCC portion of the matterhorn version will be 10203. There may be later versions of the Mattermost server that are supported (e.g. Matterhorn 50200.X.Y supports Mattermost server versions 5.2 through at least 5.8).

The X.Y portion of the version corresponds to our own version namespace for the package. If the server version changes, X.Y SHOULD be 0.0. Otherwise the first component should increment if the package undergoes major code changes or functionality changes. The second component alone should change only if the package undergoes security fixes or other bug fixes.

Our Design Philosophy

Overall, we strive to build a terminal client that provides the same basic feature set as the web client. This is reflected in the state of the client, our issue backlog, and the content of our wiki feature design discussions.

We intend to add web client features to Matterhorn to the extent that they can be added sensibly in a terminal setting. Our goal is to do so in a way that minimizes surprise to web client users migrating to Matterhorn while also providing the best terminal user experience that we can think of. That might entail adding the web client features but changing their designs to ones better suited for terminal use or it might mean omitting aspects of web client features that rely heavily on mouse- or DOM-related UI idioms. It might also entail adding web client features but deviating slightly on specific behaviors.

If you are used to a web client feature and don't see it in Matterhorn, that's probably because we just haven't gotten to it yet. We would be happy to hear from people wanting to contribute! If you can't contribute, search existing issues to see if we already have an issue for it, or create a new issue and let us know!

Contributing

If you decide to contribute, that's great! Here are some guidelines you should consider to make submitting patches easier for all concerned:

  • If you are new to Haskell and are unsure how much Haskell you need to know in order to contribute, please see our list of Haskell skills needed.
  • Please base all patches against the develop branch unless you are specifically fixing a bug in a released version, in which case master is a fine place to start. Please also do this for submodules that have a develop branch if you need to contribute changes to submodules.
  • If you want to take on big things, let's have a design/vision discussion before you start coding. Create a GitHub issue and we can use that as the place to hash things out. We'll be interested to discuss any usability / UI, performance, or compatibility issues.
  • Please make changes consistent with the conventions already used in the codebase.
  • We follow a few development practices to support our project and it helps when contributors are aware of these. Please see our practices document for more information.

Building

If you just want to run Matterhorn, we strongly suggest running a binary release (see above). Building from source is only recommended if you intend to contribute.

If you want to contribute changes to Matterhorn, you'll need to build it from source. See our building instructions for details.