Giter Site home page Giter Site logo

fusakla / slash-milujipraci Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 605 KB

Slash command for Slack/Mattermost to post punch lines from http://milujipraci.cz

License: Apache License 2.0

Go 98.57% Dockerfile 1.43%
slack mattermost slash-commands czech-language lakatos

slash-milujipraci's Introduction

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

slash-milujipraci's People

Contributors

fusakla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

slash-milujipraci's Issues

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.