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

https://github.com/nhomble/groupme-shell

stupid simple shell wrappers to hook into groupme
https://github.com/nhomble/groupme-shell

bash chat groupme

Last synced: 3 months ago
JSON representation

stupid simple shell wrappers to hook into groupme

Awesome Lists containing this project

README

        

# groupme-shell

[![Linter](https://github.com/nhomble/groupme-shell/actions/workflows/linter.yml/badge.svg)](https://github.com/nhomble/groupme-shell/actions/workflows/linter.yml)

stupid simple shell wrappers to hook into groupme

## Installation

It is [basher](https://github.com/basherpm/basher) compatible

```bash
basher install nhomble/groupme-shell
```

## Workflow

### Auth

```bash
groupme-login
```

and provide an access token from [groupme](https://dev.groupme.com/).

You can always logout with `groupme-logout`. **Note** there is nothing clever here. The token is stored in plaintext in `$HOME/.groupme-shell`.

### Groups

```bash
groupme-join
groupme-list-members
groupme-leave
```

Here we check for groups you are currently part of, give you a simple prompt, and allow you to choose. This choice is sticky and is persisted in `~/.groupme-shell`.

### Messaging

```bash
$ groupme-listen
person [time]> message
..
```

Listening causes the current shell to poll groupme for messages. To message back, open another terminal

```bash
$ groupme-message -i
hey everyone!
```

or build your own automation

```bash
groupme-message -m "bye everyone!"
```