{"id":18708853,"url":"https://github.com/igorkulman/lunchbuddy-bot","last_synced_at":"2025-04-12T10:34:53.330Z","repository":{"id":145188340,"uuid":"54777254","full_name":"igorkulman/lunchbuddy-bot","owner":"igorkulman","description":"Slack bot providing daily menus for configured restaurants.","archived":false,"fork":false,"pushed_at":"2016-08-19T12:24:58.000Z","size":109,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T05:41:51.744Z","etag":null,"topics":["bot","daily-menus","nodejs","slack","zomato-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igorkulman.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":"2016-03-26T12:04:37.000Z","updated_at":"2020-09-08T14:36:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e793b58-2a34-46de-9aca-c12d6efb5e05","html_url":"https://github.com/igorkulman/lunchbuddy-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Flunchbuddy-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Flunchbuddy-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Flunchbuddy-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorkulman%2Flunchbuddy-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorkulman","download_url":"https://codeload.github.com/igorkulman/lunchbuddy-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248553786,"owners_count":21123521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","daily-menus","nodejs","slack","zomato-api"],"created_at":"2024-11-07T12:25:27.534Z","updated_at":"2025-04-12T10:34:53.315Z","avatar_url":"https://github.com/igorkulman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lunchbuddy\nLunchbuddy is a [Slack](http://slack.com) bot providing daily lunch menus for configured restaurants.\n\n### Configuration\n\nTo make Lunchbuddy work, you need to edit the `config.json` file. It contains 3 configuration items.\n\n`token` - bot token that you get when creating the bot in Slack    \n`name` - the name of the Slack bot    \n`zomato_key` - Zomato API key    \n\nNo need to get and configure the [Zomato](http://zomato.com) API key when yo do not want to use this service.\n\n### Installation\n\nLunchbuddy is a regular Node.js app (although it does not use left-pad :), so just do `npm install` and `npm start` and the bot will start and connect to Slack (if configured properly). \n\n### Usage\n\nYou can invoke Lunchbuddy by mentioning him in any channel you invite it to or you can write it direct messages. It responds to `help` and shows you all the restuarants it is configured to fetch the menu for. \n\n![Asking Lunchbuddy for help](https://raw.githubusercontent.com/igorkulman/lunchbuddy-bot/master/images/help.png)\n\nIf you write to Lunchbuddy a name of a configured restaurant, it will respond with the daily lunch menu for this restaurant.\n\n![Showing daily menu](https://raw.githubusercontent.com/igorkulman/lunchbuddy-bot/master/images/menu.png)\n\n### Getting started\n\nLunchbuddy contains a few restaurants and delivery services to get you started and show you how to use [Zomato API](https://developers.zomato.com/api?lang=en), how to scrape web ([Avion58](http://avion58.cz/), [Motoburger](http://www.motoburger.cz/)) or how to parse JSON data ([Ordr.cz](https://www.ordr.cz/)).\n\n### Adding a new restaurant\n\nThe easiest way to add a new restaurant is to add a restaurant available in Zomato. You just need to add a new item to the `zomato.json` config\n\n````\n{\n  \"restaurants\": [{\n    \"id\": 16507044,\n    \"name\": \"GURMET\",\n    \"keyword\": \"gurmet\"\n  }]\n}\n````\n\nIf you want to add a custom restaurant, take a look at the `custom.js` module to see samples of scraping web to get the daily lunch menu.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkulman%2Flunchbuddy-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorkulman%2Flunchbuddy-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkulman%2Flunchbuddy-bot/lists"}