We are open-sourcing a silly Slack bot, guess what it does!
At JoliCode we use Slack to communicate. And to bring fun to our daily life, we have created a #monologue channel where we can share our thoughts, our feelings, our dreams, our fears, our jokes, our memes, our pictures, our videos, our music, our links, our code, our life. But we have a special rule in this channel.
Only one person can use this channel per day. The others cannot: no message, no reaction, no changing the topic, no message deleting, no poll. The pledge is to offer breakfast 🍪🍩🥐.
But it was hard to remember who failed and had to give us breakfast! Because sometimes, some of us were able to trick so many people in one day 🎉.
So 3 years ago we built a very small app to keep track of all our debts! 💸
This bot is here to help us respect this rule. It will post a message in the channel as soon as someone breaks the rule!
Section intitulée open-source-timeOpen Source Time!
Today, we are happy to announce we have open-sourced our bot ✨🎇🎆✨
It’s a traditional Symfony application, that runs with:
- Symfony 6.2
- PHP 8.1
- PostgreSQL 15.1
Section intitulée how-does-it-workHow does it work?
The application listens for webhook coming from Slack. It receives all messages from a specific channel, to know who is the first to acquire the channel, and who will fail.
It features:
- an action to mark a debt as paid;
- some commands:
-
/monologue
: to get the list of all pending debts; -
/amnesty
: to ask for a general amnesty a certain number of members (5) need to ask for one, on the same day.
-
Section intitulée conclusionConclusion
It’s a very small project that fits our needs. We guess it won’t evolve very much, but if you find a typo or have a nice idea to improve the project, we’ll be happy to merge your pull request.
But we encourage you to install this bot in your company, it’s quite simple and we provide a manifest to ease the configuration of the slack application.
Finally, this application helps users increase security, because a malicious colleague will very often post in #monologue on your behalf if you keep your computer session open to the public…
Commentaires et discussions
Ces clients ont profité de notre expertise
Les site e-commerces font face à de nombreuses problématiques : gestion de fort trafic, recherche parmi des milliers de références etc. JoliCode a accompagné l’équipe Smallable dans le choix des solutions pouvant répondre à ces enjeux : utilisation de briques asynchrones, conception d’index Elasticsearch pérenne.
Après avoir monté une nouvelle équipe de développement, nous avons procédé à la migration de toute l’infrastructure technique sur une nouvelle architecture fortement dynamique à base de Symfony2, RabbitMQ, Elasticsearch et Chef. Les gains en performance, en stabilité et en capacité de développement permettent à l’entreprise d’engager de nouveaux marchés…
La nouvelle version du site naissance.fr développée s’appuie sur Symfony 2 et Elasticsearch. Cette refonte propose un tunnel d’achat spécialement développé pour l’application. Aujourd’hui, le site est équipé d’une gestion d’un mode d’envoi des faire-parts différé, de modification des compositions après paiement et de prise en charge de codes promotionnels…