{"id":18392656,"url":"https://github.com/arnaudligny/leo-bot","last_synced_at":"2026-05-15T20:32:19.747Z","repository":{"id":43153060,"uuid":"99418533","full_name":"ArnaudLigny/leo-bot","owner":"ArnaudLigny","description":"A simple bot to notify a Slack channel when it's time to pick up your child at school!","archived":false,"fork":false,"pushed_at":"2023-03-01T10:02:37.000Z","size":900,"stargazers_count":1,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T08:12:14.170Z","etag":null,"topics":["bot","botkit","slack"],"latest_commit_sha":null,"homepage":"https://dev.ligny.org/leo-bot","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArnaudLigny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-05T11:22:23.000Z","updated_at":"2021-12-14T18:30:00.000Z","dependencies_parsed_at":"2024-11-06T02:04:29.336Z","dependency_job_id":"b50fa227-50da-466a-87a9-889fd4496965","html_url":"https://github.com/ArnaudLigny/leo-bot","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ArnaudLigny/leo-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudLigny%2Fleo-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudLigny%2Fleo-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudLigny%2Fleo-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudLigny%2Fleo-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArnaudLigny","download_url":"https://codeload.github.com/ArnaudLigny/leo-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudLigny%2Fleo-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","botkit","slack"],"created_at":"2024-11-06T01:57:37.598Z","updated_at":"2026-05-15T20:32:19.727Z","avatar_url":"https://github.com/ArnaudLigny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"_leo-bot_ is a very simple bot based on [Botkit](https://github.com/howdyai/botkit) to notice you when it's time to pick up your child at school!\n\n![Screen capture of the Slack bot](docs/leo-bot-slack-example.png)\n\n## Installation\n\n```bash\nnpm install\n```\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/ArnaudLigny/leo-bot)\n\n\u003e [Node.js](https://nodejs.org) and [Redis](https://redis.io) are required.\n\n## Configuration\n\nYou need to set environment variables (See [`.env.dist`](https://github.com/ArnaudLigny/leo-bot/blob/master/.env.dist)):\n\n- `CHILD`: Child firstname (ie: `Léo`)\n- `CHANNEL`: Slack channel (ie: `#leo`)\n- `SCHEDULE`: Cron schedule (ie: `0 45 17 * * 1-5`)\n- `SLACK_BOT_TOKEN`: Slack token (create one at [my.slack.com/apps/A0F7YS25R-bots](https://my.slack.com/apps/A0F7YS25R-bots))\n- `REDIS_URL`: URL to the Redis server (ie: `redis://:secrets@example.com:1234`)\n- `TZ`: Time Zone (ie: `Europe/Paris`)\n\nThe cron-style scheduling format consists of:\n\n```text\n*    *    *    *    *    *\n┬    ┬    ┬    ┬    ┬    ┬\n│    │    │    │    │    |\n│    │    │    │    │    └ day of week (0 - 7) (0 or 7 is Sun)\n│    │    │    │    └───── month (1 - 12)\n│    │    │    └────────── day of month (1 - 31)\n│    │    └─────────────── hour (0 - 23)\n│    └──────────────────── minute (0 - 59)\n└───────────────────────── second (0 - 59, OPTIONAL)\n```\n\n## Usage\n\n```bash\n# Served with hot reload (+ ESLint verification).\nnpm run dev\n\n# Start server in production environment.\nnpm run start\n```\n\n### Supported Slack commands\n\nJust ask `help` to `@leo-bot`.\n\n## Deploy\n\n### Heroku (CLI)\n\n```bash\nheroku create --buildpack https://github.com/heroku/heroku-buildpack-nodejs.git\nheroku addons:create heroku-redis:hobby-dev\nheroku config:set CHILD='Léo'\nheroku config:set CHANNEL='#leo'\nheroku config:set SCHEDULE='0 45 17 * * 1-5'\nheroku config:set SLACK_BOT_TOKEN=xoxb-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX\nheroku config:set TZ=Europe/Paris\nheroku ps:scale web=0 worker=1\n```\n\n## Development\n\nThis project uses ESLint for its syntax. You should read [some documentation before](https://eslint.org/docs/rules/).\n\n```bash\n# Run ESLint to check if code respects it's syntax.\nnpm run lint\n```\n\n## Source\n\n\u003chttps://github.com/ArnaudLigny/leo-bot\u003e\n\n## License\n\n_leo-bot_ is a free software distributed under the terms of the [MIT license](https://opensource.org/licenses/MIT).\n\n© [Arnaud Ligny](https://arnaudligny.fr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaudligny%2Fleo-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnaudligny%2Fleo-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaudligny%2Fleo-bot/lists"}