Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusakla/slash-milujipraci
Slash command for Slack/Mattermost to post punch lines from http://milujipraci.cz
https://github.com/fusakla/slash-milujipraci
czech-language lakatos mattermost slack slash-commands
Last synced: 3 months ago
JSON representation
Slash command for Slack/Mattermost to post punch lines from http://milujipraci.cz
- Host: GitHub
- URL: https://github.com/fusakla/slash-milujipraci
- Owner: FUSAKLA
- License: apache-2.0
- Created: 2022-01-12T22:34:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T03:14:38.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T04:38:16.893Z (8 months ago)
- Topics: czech-language, lakatos, mattermost, slack, slash-commands
- Language: Go
- Homepage:
- Size: 591 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slash command pro milujipraci.cz
[](https://github.com/FUSAKLA/slash-milujipraci/actions)
[](https://github.com/FUSAKLA/slash-milujipraci/releases)
[](https://github.com/FUSAKLA/slash-milujipraci/releases)
[](https://hub.docker.com/repository/docker/fusakla/slash-milujipraci)> This project is by its nature dedicated to czech or
> slovak speaking users, so I suggest you to either learn Czech or move on.
>
> But you are missing out!S ohledem na blahodárné terapeutické účinky webové aplikace [milujipraci.cz](http://milujipraci.cz/) (velký dík jejímu
autorovi!), je třeba ji ještě více zpřístupnit zdeptaným a vysíleným zaměstnancům, aby nemuseli při nadávámí opouštět
ani jejich korporátní komunikátor.Pokud tedy ve firmě používáte Slack nebo Mattermost, stačí si pustit tuhle jednoduchou binárku a nastavit si integraci
slash commandu a budete moct nadávat přímo ve v průběhu konverzace.###Ukázka
## Spuštění
#### Build
```bash
go run github.com/fusakla/slash-milujipraci
```#### Docker
```bash
docker run -it -p 8080:8080 fusakla/slash-milujipraci:latest
```#### Kubernetes
Manifesty naleznete v [`./kubernetes`](./kubernetes)
### Konfigurace
Defaultně aplikace očekává, že bude spuštěna pomocí trigger word `/milujipraci`. To lze změnit pomocí
flagu `--trigger-word`.```bash
$ ./slash-milujipraci --help
usage: slash-milujipraci []Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--debug Enable debug mode.
--listen-address="0.0.0.0:8080"
Address to listen on for API
--trigger-word="milujipraci" Trigger word used
--version Show application version.
```## Nastavení integrace
Nahraďte `http://127.0.0.1:8080` za URL, na které je vaše instance dostupná.
### Slack
Jdi na https://api.slack.com/apps
> `Create new app > From scratch > Slash commands > Create new command`

### Mattermost
> `Integrations > Slash commands > Add slash command`
