{"id":15359219,"url":"https://github.com/hugovk/lunchbot","last_synced_at":"2025-11-17T13:40:18.041Z","repository":{"id":18577522,"uuid":"84638951","full_name":"hugovk/lunchbot","owner":"hugovk","description":"Check what's for lunch at local restaurants and post to Slack","archived":false,"fork":false,"pushed_at":"2025-07-07T21:28:48.000Z","size":123,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T00:30:38.078Z","etag":null,"topics":["bot","lunch","lunchbot","slack","slackbot"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hugovk.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-03-11T09:35:19.000Z","updated_at":"2025-07-07T21:28:51.000Z","dependencies_parsed_at":"2024-04-02T10:28:48.953Z","dependency_job_id":"5359c28f-214b-4746-949d-c4b6c6ec9f87","html_url":"https://github.com/hugovk/lunchbot","commit_stats":{"total_commits":165,"total_committers":4,"mean_commits":41.25,"dds":0.1333333333333333,"last_synced_commit":"393e05fd6ebf89b21d0e3efbe09f5514cc68484f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hugovk/lunchbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugovk%2Flunchbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugovk%2Flunchbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugovk%2Flunchbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugovk%2Flunchbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugovk","download_url":"https://codeload.github.com/hugovk/lunchbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugovk%2Flunchbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269231323,"owners_count":24382352,"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-08-07T02:00:09.698Z","response_time":73,"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","lunch","lunchbot","slack","slackbot"],"created_at":"2024-10-01T12:44:07.926Z","updated_at":"2025-11-17T13:40:17.990Z","avatar_url":"https://github.com/hugovk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lunchbot\n\n[![GitHub Actions status](https://github.com/hugovk/lunchbot/workflows/Test/badge.svg)](https://github.com/hugovk/lunchbot/actions)\n[![Python: 3.9+](https://img.shields.io/badge/Python-3.9+-blue.svg)](https://www.python.org/downloads/)\n[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)\n\nCheck what's for lunch at local restaurants and post to Slack\n\n## Setup\n\n```bash\npython -m pip install --upgrade -r requirements.txt\n```\n\nTo post to Slack, get a [token](https://github.com/juanpabloaj/slacker-cli#tokens) and save it in the `LUNCHBOT_TOKEN` environment variable.\n\n## Usage\n\n```bash\n# Just print out but don't post\npython lunchbot.py --dry-run\n\n# Post to #lunch channel\npython lunchbot.py\n\n# For testing, post to some username instead of the #lunch channel\npython lunchbot.py --user username\n```\n\n## Cron\n\nFor regular posting, you can use something like cron. For example, create /path/to/lunchbot.sh:\n```bash\n!/bin/bash\n\nexport PATH=/usr/local/bin:$PATH\nexport LUNCHBOT_TOKEN=\"TODO_ENTER_YOURS\"\n\npython /path/to/lunchbot.py \u003e\u003e /tmp/lunchbot.log 2\u003e\u00261\n```\n\nAnd then run `crontab -e` and add this to post at 11:30am every workday (days 1-5):\n```\n30 11 * * 1-5 /path/to/lunchbot.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugovk%2Flunchbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugovk%2Flunchbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugovk%2Flunchbot/lists"}