{"id":18625528,"url":"https://github.com/nprapps/comida","last_synced_at":"2026-05-16T08:04:55.625Z","repository":{"id":147504119,"uuid":"82832504","full_name":"nprapps/comida","owner":"nprapps","description":"Food options near NPR HQ - Using Slack Custom Commands \u0026 AWS API Gateway \u0026 AWS Lambda","archived":false,"fork":false,"pushed_at":"2017-02-22T22:42:13.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-17T07:40:12.814Z","etag":null,"topics":["lambda","slack"],"latest_commit_sha":null,"homepage":"","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/nprapps.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}},"created_at":"2017-02-22T17:21:41.000Z","updated_at":"2025-03-13T15:28:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a61f400-46e9-4239-9956-ece66b289b91","html_url":"https://github.com/nprapps/comida","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nprapps/comida","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nprapps%2Fcomida","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nprapps%2Fcomida/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nprapps%2Fcomida/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nprapps%2Fcomida/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nprapps","download_url":"https://codeload.github.com/nprapps/comida/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nprapps%2Fcomida/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273409983,"owners_count":25100449,"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-09-03T02:00:09.631Z","response_time":76,"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":["lambda","slack"],"created_at":"2024-11-07T04:34:50.252Z","updated_at":"2026-05-16T08:04:55.549Z","avatar_url":"https://github.com/nprapps.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"comida\n==============\n\n* [What is this?](#what-is-this)\n* [Assumptions](#assumptions)\n* [What's in here?](#whats-in-here)\n* [Bootstrap the project](#bootstrap-the-project)\n* [Run the project](#run-the-project)\n\nWhat is this?\n-------------\n\nHungry? `comida` uses a combination of slack custom command \u0026 aws API gateway \u0026 aws lambda functions to scrape the real time data at [http://foodtruckfiesta.com/](http://foodtruckfiesta.com/) and send it back to you.\n\nAssumptions\n-----------\n\nThe following things are assumed to be true in this documentation.\n\n* You are running OSX.\n* You are using Python 2.7. (Probably the version that came OSX.)\n* You have [virtualenv](https://pypi.python.org/pypi/virtualenv) and [virtualenvwrapper](https://pypi.python.org/pypi/virtualenvwrapper) installed and working.\n* You have NPR's AWS credentials stored as environment variables locally.\n\nFor more details on the technology stack used with the app-template, see our [development environment blog post](http://blog.apps.npr.org/2013/06/06/how-to-setup-a-developers-environment.html).\n\nWhat's in here?\n---------------\n\nThe project contains the following folders and important files:\n\n* ``dispatcher`` -- Where are dispatcher lambda function code lives\n* ``worker``-- Where the worker lambda function code lives\n* ``test``-- local tests to check that our scraper works locally\n* ``data`` -- Data files, such as those used to generate HTML.\n* ``fabfile.py`` -- [Fabric](http://docs.fabfile.org/en/latest/) commands for automating setup and deployment\n* ``requirements.txt`` -- Python requirements.\n\nBootstrap the project\n---------------------\n\nTo bootstrap the project:\n\n```\ncd comida\nmkvirtualenv comida\npip install -r requirements.txt\n```\n\nRun the project\n---------------\n\nReview the code for your lambda function, include all the required libraries in `code/requirements.txt`\n\nCreate a function in your AWS lambda environment.\n\nThen run:\n\n```\nfab deploy:FUNCTION_NAME\n```\n\nWhere `FUNCTION_NAME` is the name of the created lambda function\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnprapps%2Fcomida","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnprapps%2Fcomida","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnprapps%2Fcomida/lists"}