Slash command for Slack/Mattermost to post punch lines

Slash command pro milujipraci.cz

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 (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 example

Spuštění

Build

go run github.com/fusakla/slash-milujipraci

Docker

docker run -it -p 8080:8080 fusakla/slash-milujipraci:latest

Kubernetes

Manifesty naleznete v ./kubernetes

Konfigurace

Defaultně aplikace očekává, že bude spuštěna pomocí trigger word /milujipraci. To lze změnit pomocí flagu --trigger-word.

$ ./slash-milujipraci --help
usage: slash-milujipraci [<flags>]

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

slack setup

Mattermost

Integrations > Slash commands > Add slash command

mattermost setup

Similar Resources

📦 Command line peer-to-peer data transfer tool based on libp2p.

pcp - Peer Copy Command line peer-to-peer data transfer tool based on libp2p. Table of Contents Motivation Project Status How does it work? Usage Inst

Jan 5, 2023

A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ.

A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ.

q A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ. Usage q command line DNS client (https://github.com/natesales/q) Usage: q

Jan 4, 2023

gnoic is a gNOI client command line interface

gnoic is a gNOI CLI client that provides support for gNOI Certificate Managment, File and System Services. Documentation available at https://gnoic.km

Nov 9, 2022

⚙️ subnetting via command line

⚙️ subnetting via command line

# Subnet subnetting via command line installation intall from binary file git clone https://github.com/nekonako/subnet.git cd subnet sudo ./install.sh

Oct 10, 2022

get WHOIS with library, command or through HTTP server

Go Whois Provide WHOIS library, command line tool and server with restful APIs to query whois information for domains and IPs. It's also available to

Oct 24, 2022

viagh.NewHTTPClient returns a *http.Client that makes API requests via the gh command.

viagh viagh.NewHTTPClient returns a *http.Client that makes API requests via the gh command. Why viagh? When writing a GitHub CLI extension, the exten

Dec 24, 2021

Aidos Kuneen (v2 network) daemon program that is controlled through the command line and remotely via RPC calls

adk-daemon: aidosd.v2 aidosd (v2) is a deamon which acts as bitcoind for adk. This version has been built specifically for network mesh version 2+ For

Dec 1, 2021

go-chat is a gRPC based chat CLI written in golang for command line lovers

go-chat is a gRPC based chat CLI written in golang for command line lovers

go-chat go-chat is a gRPC based chat CLI written in golang for command line lovers. This CLI allows you to chat with your friends without leaving the

Oct 14, 2022

Control ssh access throught authorized_keys forced command

authcmd This is an attempt to port the 'only' script from MagmaSoft. The goal is

Jan 3, 2022
Comments
  • Invalid URL example in Readme

    Invalid URL example in Readme

    There is a mistake (typo) in the example screenshot for Slack app in the request URL field.

    http://127.0.0.1:8080/slash-comand 
    http://127.0.0.1:8080/slash-command
    
Powered by Matterbridge, MatterAMXX is a plugin for AMXX that allows simple bridging between your game servers, Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, and more.
Powered by Matterbridge, MatterAMXX is a plugin for AMXX that allows simple bridging between your game servers, Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, and more.

Powered by Matterbridge, MatterAMXX is a plugin for AMXX that allows simple bridging between your game servers, Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, and more.

Dec 27, 2022
turn a directory into a GUI, slash example of VNC-based GUI

dirgui @rsnous on Jan 11, 2021: "idea: filesystem<->GUI adapter, where a directory turns into a form, executable files inside that directory turn into

May 3, 2022
Matterbridge mattermost plugin

mattermost-plugin Matterbridge mattermost plugin WIP Configuration You have to create a matterbridge.toml configuration file before running make. Beca

Dec 11, 2022
An inline buildpack for deploying a mattermost-irc bridge

Matterbridge-Heroku An inline buildpack for hosting Matterbridge on Heroku. Heroku is a platform for easily deploying applications. A buildpack provid

Nov 26, 2022
The plugin serves as a starting point for writing a Mattermost plugin

Plugin Starter Template This plugin serves as a starting point for writing a Mattermost plugin. Feel free to base your own plugin off this repository.

Dec 10, 2021
MBotC plugin for Mattermost

Plugin Starter Template This plugin serves as a starting point for writing a Mattermost plugin. Feel free to base your own plugin off this repository.

Feb 28, 2022
Mackerel plugin to post bigquery's query result

mackerel-plugin-bigquery-query-result-importer Synopsis % mackerel-plugin-bigque

Feb 5, 2022
GOWS is GoLang web-socket module Provides you with ease of handling web socket connections with a few lines

GOWS GOWS is GoLang web-socket module Provides you with ease of handling web socket connections with a few lines, it supports multi-connection on one

Apr 4, 2022
port close check scanner. detects open ports, sends alert with slack.

aite9 (port close check scanner) サーバのポートが空いてないことを確認するポートスキャナー たくさんのサーバを管理していると設定ミスで内部利用ポートが外部に公開されてしまっている可能性があり、それに早く気付くためのチェックツールです。 サーバのリストを標準入力で渡すと

Feb 3, 2022
Command-line tool and library for Windows remote command execution in Go

WinRM for Go Note: if you're looking for the winrm command-line tool, this has been splitted from this project and is available at winrm-cli This is a

Nov 29, 2022