{"id":28225456,"url":"https://github.com/john-goldsmith/slack-lunch-bot","last_synced_at":"2026-05-18T09:12:38.742Z","repository":{"id":150156937,"uuid":"80574053","full_name":"john-goldsmith/slack-lunch-bot","owner":"john-goldsmith","description":"Slack lunch bot","archived":false,"fork":false,"pushed_at":"2017-01-31T23:51:10.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T02:45:08.200Z","etag":null,"topics":["bot","food","lunch","lunchbot","slack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/john-goldsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2017-01-31T23:46:31.000Z","updated_at":"2020-05-01T17:36:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f046e8b6-a15b-45c5-818e-1428a82494ea","html_url":"https://github.com/john-goldsmith/slack-lunch-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/john-goldsmith/slack-lunch-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-goldsmith%2Fslack-lunch-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-goldsmith%2Fslack-lunch-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-goldsmith%2Fslack-lunch-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-goldsmith%2Fslack-lunch-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/john-goldsmith","download_url":"https://codeload.github.com/john-goldsmith/slack-lunch-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-goldsmith%2Fslack-lunch-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003389,"owners_count":26083579,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","food","lunch","lunchbot","slack"],"created_at":"2025-05-18T10:09:57.835Z","updated_at":"2025-10-10T09:09:38.270Z","avatar_url":"https://github.com/john-goldsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lunch Slack Bot\nA Slack bot that uses Yelp to suggest and save places to go for lunch.\n\n## Technologies\n- Node\n- Slack Bots\n- Botkit (Slack Bot API)\n- Yelp API\n- AWS\n- MongoDB\n- Monk (MongoDB API)\n\n## Prerequisites\n- [Node 6.x \u0026 NPM 3.x](https://nodejs.org) (or `brew install node` if using macOS)\n\n## Environment Variables\n| Name | Purpose | Example | Required |\n|------|---------|---------|----------|\n| `SLACK_API_TOKEN` | The Slack API auth token. | `Abc123` | Yes\n| `MONGODB_URI` | The MongoDB connection string. | `localhost:27017/my_database` | Yes\n| `YELP_CONSUMER_KEY` | The Yelp API consumer key | `Abc123` | Yes\n| `YELP_CONSUMER_SECRET` | The Yelp API consumer secret | `Abc123` | Yes\n| `YELP_TOKEN` | The Yelp API token | `Abc123` | Yes\n| `YELP_TOKEN_SECRET` | The Yelp API token secret | `Abc123` | Yes\n| `DEFAULT_LOCATION` | The default location that Yelp will use for searches | `'18022 Cowan, Irvine, 92614'` | Yes\n\n## Running Locally\n1. [Create a Slack bot](https://api.slack.com/bot-users) (this will yield an API token)\n1. [Create a Yelp account](https://www.yelp.com/signup) (or [login](https://www.yelp.com/login) to an existing one)\n1. [Obtain a Yelp API key](https://www.yelp.com/developers/manage_api_keys)\n1. Duplicate `.env.sample`, rename it to `.env` and provide values for each key (see above)\n1. `npm i`\n1. Ensure that MongoDB is running and the database has been created at the location specified in the environment variable\n1. `npm start` (or `./node_modules/.bin/pm2 start index.js`)\n1. Invite your bot to a channel and start chatting!\n\n## To Do\n- Tests\n- Database seeding (`npm run seed`)\n- User voting\n\n## Resources\n- [Slack Bots](https://api.slack.com/bot-users)\n- [Botkit](https://github.com/howdyai/botkit)\n- [Node Yelp](https://github.com/olalonde/node-yelp)\n- [Yelp Search API](https://www.yelp.com/developers/documentation/v2/search_api)\n- [Yelp Business API](https://www.yelp.com/developers/documentation/v2/business)\n- [Yelp API Console](https://www.yelp.com/developers/api_console)\n- [Monk](https://github.com/Automattic/monk/)\n- [Monk Documentation](https://automattic.github.io/monk/index.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-goldsmith%2Fslack-lunch-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-goldsmith%2Fslack-lunch-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-goldsmith%2Fslack-lunch-bot/lists"}