Skip to content

Repository files navigation

Build Status

whhato

A "WHat HAppened TOday" service

Welcome to this project. It's a very simple webservice for a slack app, that has a slash command which tells you what happened today some years ago.

You can visit the project at https://whhato.vogelschwarz.de.

How to setup

git clone git@github.com:kolibri/whhato.git
cd whhato
make install
make test

Use symfony webserver:

cd project
./bin/console server:start

deploy

# from main directory
make tarball
make STAGE=prod provision
make STAGE=prod deploy

Contributing new Messages

Edit the file for the month of your message in ./project/data/prod/ and create a pull request on github. Ensure you place your message in this schema:

# ./project/data/prod/01.yaml
01-01: ~ # Key is the day of the year in "$month-$day"
01-02: ~ # Assign null (~) when there are no messages :(
#...
01-24: ~
01-25: 
      # Each message With quotation marks. {year} will resolved into the difference between now and then in years.
    - 'Beim United States Patent Office ging vor {1904} Jahren ein Patent auf den erfundenen Draht-Kleiderbügel beantragt.'
    - 'In einer längst vergangenen, aber nicht vergessenen Zeit, genauer gesagt vor {1759} Jahren, erblickte Robert Burns das Licht der Welt.'
    - 'Bei einem Tauchgang am Great Barrier Reef gehen Tom und Eileen Lonergan verloren. Das jetzt {1998} Jahre vergangene Ereignis inspirierte den Film "Open Water".'
    - 'Vor {2015} Jahren starb Demis Roussos, ein grichischer Sänger, der unter anderem mit Vangelis zusammen arbeitete und sogar einmal entführt wurde.'
01-26: ~

About

A 'what happend today n years ago' service

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages