{"id":24610961,"url":"https://github.com/scilifelabdatacentre/lunch-menu","last_synced_at":"2025-06-18T01:38:58.903Z","repository":{"id":21522792,"uuid":"24841991","full_name":"ScilifelabDataCentre/lunch-menu","owner":"ScilifelabDataCentre","description":"Menu parser for the restaurants near SciLifeLab in Solna and Uppsala","archived":false,"fork":false,"pushed_at":"2023-10-20T07:49:24.000Z","size":1359,"stargazers_count":17,"open_issues_count":0,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-06T19:12:54.681Z","etag":null,"topics":["backend","flask","frontend","parser","python","quasar","vue"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScilifelabDataCentre.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}},"created_at":"2014-10-06T10:39:14.000Z","updated_at":"2025-05-03T21:08:20.000Z","dependencies_parsed_at":"2023-10-20T23:00:14.844Z","dependency_job_id":null,"html_url":"https://github.com/ScilifelabDataCentre/lunch-menu","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Flunch-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Flunch-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Flunch-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Flunch-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScilifelabDataCentre","download_url":"https://codeload.github.com/ScilifelabDataCentre/lunch-menu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252752061,"owners_count":21798723,"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":["backend","flask","frontend","parser","python","quasar","vue"],"created_at":"2025-01-24T19:19:51.769Z","updated_at":"2025-05-06T19:13:02.327Z","avatar_url":"https://github.com/ScilifelabDataCentre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lunch Menu Aggregator\n=====================\n\nThis is the code for a web page listing the menus of the restaurants near SciLifeLab Solna (KI) and Uppsala (BMC).\n\nThe first code was written in 2010 by [@talavis](https://github.com/talavis), who is still the main developer. There are also multiple contributors of e.g. bugfixes and new parsers.\n\nThere are three parts:\n\n* A parser that can be imported in Python. It uses Requests and BeautifulSoup to download and parse the restaurant web pages.\n* A backend that makes the menus available via an API built on top of Flask.\n* A frontend that presents the menus in a more readable format (by making requests to the backend). It is written in Quasar (Vue).\n\n\n## Development\n\nRun `docker-compose up`.\n\n\n### Add a new restaurant\n\nTo add a new restaurant:\n1. Add the parser function to `parser.py`\n2. Add the relevant keyword and function name to `MAPPER` in `main.py`\n3. Add information about the restaurant to `restaurants.json`\n\n\n## Supported endpoints in the flask application:\n\n- `/restaurant` (json): List all supported restaurants\n- `/restaurant/\u003cidentifier\u003e` (json): Retrieve menu for a restaurant (identifier can be obtained from the above request).\n\n\n## Hosted versions:\n\n- [Backend](https://menu.dckube.scilifelab.se/api)\n- [Frontend](https://menu.dckube.scilifelab.se/)\n\n\n## Feedback\nBugs and requests for new restaurants or features should be submitted as issues to Github.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscilifelabdatacentre%2Flunch-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscilifelabdatacentre%2Flunch-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscilifelabdatacentre%2Flunch-menu/lists"}