{"id":14036228,"url":"https://github.com/albertoxamin/unimeal-bot","last_synced_at":"2025-07-27T03:31:32.297Z","repository":{"id":55669432,"uuid":"117532859","full_name":"albertoxamin/unimeal-bot","owner":"albertoxamin","description":"Telegram bot with overkill technologies to give you an idea about what you'll be eating today at the university canteen.","archived":true,"fork":false,"pushed_at":"2020-12-14T04:09:47.000Z","size":886,"stargazers_count":6,"open_issues_count":6,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-02T15:47:25.683Z","etag":null,"topics":["bot","docker","nodejs","telegrafjs","telegram","telegram-bot","unitn"],"latest_commit_sha":null,"homepage":"https://t.me/unimealbot","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/albertoxamin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["albertoxamin"],"custom":"https://paypal.me/albertoxamin"}},"created_at":"2018-01-15T10:44:29.000Z","updated_at":"2023-01-28T11:23:20.000Z","dependencies_parsed_at":"2022-08-15T06:01:03.343Z","dependency_job_id":null,"html_url":"https://github.com/albertoxamin/unimeal-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/albertoxamin/unimeal-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoxamin%2Funimeal-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoxamin%2Funimeal-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoxamin%2Funimeal-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoxamin%2Funimeal-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertoxamin","download_url":"https://codeload.github.com/albertoxamin/unimeal-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertoxamin%2Funimeal-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267294180,"owners_count":24065343,"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-07-27T02:00:11.917Z","response_time":82,"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","docker","nodejs","telegrafjs","telegram","telegram-bot","unitn"],"created_at":"2024-08-12T03:01:52.994Z","updated_at":"2025-07-27T03:31:31.933Z","avatar_url":"https://github.com/albertoxamin.png","language":"JavaScript","funding_links":["https://github.com/sponsors/albertoxamin","https://paypal.me/albertoxamin"],"categories":["JavaScript"],"sub_categories":[],"readme":"![banner](https://repository-images.githubusercontent.com/117532859/2e294f00-6ccf-11e9-93cf-247d357c6f10)\n\n# Unimeal bot (unimeal-bot)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Falbertoxamin%2Funimeal-bot.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Falbertoxamin%2Funimeal-bot?ref=badge_shield)\n[![](https://images.microbadger.com/badges/version/albertoxamin/unimeal-bot.svg)](https://microbadger.com/images/albertoxamin/unimeal-bot)\n[![](https://images.microbadger.com/badges/image/albertoxamin/unimeal-bot.svg)](https://microbadger.com/images/albertoxamin/unimeal-bot)\n\n## What is this repository about?\nThis project is a Node.js Telegraf (Telegram) bot to access the menu of the university canteen managed by Opera Universitaria.\n\nThis is the code powering @unimeal-bot.\n\n## Set-up\nOnce you cloned the repository:\nyou need to enter into project dir: `cd unimeal-bot`\nand type `npm install` to install all dependencies.\n\nCreate a `config.js` file in the root of this project with the following info:\n```javascript\nmodule.exports = {\n    // API key for Telegram\n    telegraf_token:'YOUR_TELEGRAM_API_KEY',\n    db_connection:'your_mongodb_connection_string'\n    firebaseConfig : {\n        apiKey: 'YOUR_FIREBASE_API_KEY',\n        authDomain: 'unimeal-8e378.firebaseapp.com',\n        databaseURL: 'https://unimeal-8e378.firebaseio.com',\n        projectId: 'unimeal-8e378',\n        storageBucket: 'unimeal-8e378.appspot.com',\n        messagingSenderId: '648699973887'\n    }\n};\n```\n\n\u003e The bot should work even without the db_connection and the firebase config\n\nOnce you've set up your API key, just type:\n`npm start`\n...done!\n\n## Docker\nFor easier deployment you can also use the docker image\n\n```bash\ndocker pull albertoxamin/unimeal-bot\ndocker run -it -v /path_in_host/config.js:/usr/src/app/config.js --name unimeal albertoxamin/unimeal-bot\n```\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Falbertoxamin%2Funimeal-bot.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Falbertoxamin%2Funimeal-bot?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoxamin%2Funimeal-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoxamin%2Funimeal-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoxamin%2Funimeal-bot/lists"}