{"id":21972983,"url":"https://github.com/pavloniym/foodometer","last_synced_at":"2026-04-30T20:31:58.371Z","repository":{"id":118862351,"uuid":"123717119","full_name":"pavloniym/foodometer","owner":"pavloniym","description":"Telegram Bot for business lunch payment queue management","archived":false,"fork":false,"pushed_at":"2018-03-20T09:43:15.000Z","size":210,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T23:36:03.771Z","etag":null,"topics":["docker","javascript","nodejs","sequelize","sqlite","telegram-bot"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/pavelshar/foodometer/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pavloniym.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":"2018-03-03T17:54:31.000Z","updated_at":"2024-10-19T01:54:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"77d805ae-b1f7-4a44-a274-8f42469af005","html_url":"https://github.com/pavloniym/foodometer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pavloniym/foodometer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavloniym%2Ffoodometer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavloniym%2Ffoodometer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavloniym%2Ffoodometer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavloniym%2Ffoodometer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavloniym","download_url":"https://codeload.github.com/pavloniym/foodometer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavloniym%2Ffoodometer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","javascript","nodejs","sequelize","sqlite","telegram-bot"],"created_at":"2024-11-29T15:23:45.108Z","updated_at":"2026-04-30T20:31:58.351Z","avatar_url":"https://github.com/pavloniym.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Foodometer\nHave business lunch with your colleagues, and the boss doesn't pay your meals' bills?  \nSo you pay lunch bills in turn and are tired of keeping the order of payment in mind.  \nAsk Foodometer **who pays today**!\n\n![Foodometer](https://raw.githubusercontent.com/PavelShar/Foodometer/assets/foodometer_logo.png)\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/pavelshar/foodometer.svg?style=flat-square)][hub]\n[![Docker Stars](https://img.shields.io/docker/stars/pavelshar/foodometer.svg?style=flat-square)][hub]\n[![Docker Automated build](https://img.shields.io/docker/automated/pavelshar/foodometer.svg?style=flat-square)][hub]\n\n\n### Telegram Bot\nThis Telegram Bot developed using nodejs, sqlite3 and [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api) framework. \nTo run your own foodometer you should follow next steps:  \n1. Create your own telegram bot - search for **@BotFather** and follow instructions\n2. Run foodometer's docker-container with bot token and webhook url\n\n\u003e You will need SSL certificate on your host machine to set telegram's webhook\n\nTo work with foodometer you should create a group and invite **only** your foodometer bot there. Bot will register group creator as participant. Any other invited users will be registered as participants too.  \n\n`/meal` - create new meal instance with list of group participants. Chose eaters, get payer and confirm meal!  \n`/clear` - remove all previous meals and start from clean sheet  \n\n![Foodometer](https://raw.githubusercontent.com/PavelShar/Foodometer/assets/foodometer_screen.png)\n\n### Docker container\nDocker container is built on top of [Chloe image](https://github.com/PavelShar/Chloe) - so you can login into foodometer's container via SSH and `SSH_PASSWORD` environment variable is also included.\n\nTo run foodometer bot all you need is to execute this command:\n\n```\ndocker run --name foodometer -d -p 8880:80 -e WEB_HOOK=\u003cyour_web_hook\u003e -e BOT_TOKEN=\u003cyour_bot_token\u003e -e LOCALE=en pavelshar/foodometer:latest\n```\n`BOT_TOKEN` - obtained token from [@BotFather](https://telegram.me/BotFather)  \n`WEB_HOOK` - external https hook for server interaction  \n`LOCALE` - bot locale - `en` and `ru` are supported\n\n\u003e Be accurate with port mappings: your internal `8880` should be mapped with your external `WEB_HOOK` \n\n*Thanks [messagesstickers.com](http://messagesstickers.com/) for foodometer sticker*  \n\n[hub]: https://hub.docker.com/r/pavelshar/foodometer/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavloniym%2Ffoodometer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavloniym%2Ffoodometer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavloniym%2Ffoodometer/lists"}