Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikaello/matterhorn-scripts

Scripts for Matterhorn (terminal client for Mattermost)
https://github.com/mikaello/matterhorn-scripts

matterhorn mattermost mattermost-client

Last synced: about 1 month ago
JSON representation

Scripts for Matterhorn (terminal client for Mattermost)

Awesome Lists containing this project

README

        

# Matterhorn scripts

This is a collection of scripts written for Matterhorn.

The scripts must be put in `~/.config/matterhorn/scripts/`, and all scripts must have execute permission for user (`chmod u+x `). Execute the scripts inside the Matterhorn message window with this command: `/sh <script>`.

## Where

Requirements: Node

### Usage

```
> /sh where
```

Result
```
Oslo, Oslo County, Norway https://www.google.com/maps/@59.905,10.7487,13z
```

## Announce

Requirements: Python 3

### Usage

#### Single line:
```
> /sh announce Hello
```

Result:
```
#############
# #
# HELLO #
# #
#############
```

#### Multiline:
```
/sh announce Hi
Today is a new day

─[2/2]────────In multi-line mode. Press M-e to finish.────────
```

Result:
```
##########################
# #
# HI #
# TODAY IS A NEW DAY #
# #
##########################

```

#### Custom border:
```
/sh announce $
cash is the king

─[2/2]────────In multi-line mode. Press M-e to finish.────────
```

Result:
```
$$$$$$$$$$$$$$$$$$$$$$$$
$ $
$ CASH IS THE KING $
$ $
$$$$$$$$$$$$$$$$$$$$$$$$
```