{"id":26506319,"url":"https://github.com/ptrvsrg/hotdog-or-not-bot","last_synced_at":"2026-04-11T01:01:40.409Z","repository":{"id":244591629,"uuid":"808300879","full_name":"ptrvsrg/hotdog-or-not-bot","owner":"ptrvsrg","description":"This Telegram bot identifies whether something is hotdog or not","archived":false,"fork":false,"pushed_at":"2024-07-04T09:16:59.000Z","size":8551,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-04T09:53:26.413Z","etag":null,"topics":["aiogram","detection","docker","docker-compose","flask","hotdog-classifiers","ngrok","pip","postgresql","prediction","python","redis","telegram-bot","yandex-disk","yolov8"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ptrvsrg.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T19:31:36.000Z","updated_at":"2024-07-04T09:16:20.000Z","dependencies_parsed_at":"2024-06-22T16:10:09.133Z","dependency_job_id":"85200f1a-1541-4b28-8efd-00786c6d67e2","html_url":"https://github.com/ptrvsrg/hotdog-or-not-bot","commit_stats":null,"previous_names":["ptrvsrg/hotdog-or-not-bot"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrvsrg%2Fhotdog-or-not-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrvsrg%2Fhotdog-or-not-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrvsrg%2Fhotdog-or-not-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrvsrg%2Fhotdog-or-not-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptrvsrg","download_url":"https://codeload.github.com/ptrvsrg/hotdog-or-not-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244702478,"owners_count":20495915,"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":["aiogram","detection","docker","docker-compose","flask","hotdog-classifiers","ngrok","pip","postgresql","prediction","python","redis","telegram-bot","yandex-disk","yolov8"],"created_at":"2025-03-20T22:26:44.364Z","updated_at":"2026-04-11T01:01:40.344Z","avatar_url":"https://github.com/ptrvsrg.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eHotdog or Not Bot\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/ptrvsrg/hotdog-or-not-bot?color=56BEB8\u0026style=flat\"\u003e\n  \u003cimg alt=\"Github issues\" src=\"https://img.shields.io/github/issues/ptrvsrg/hotdog-or-not-bot?color=56BEB8\u0026style=flat\" /\u003e\n  \u003cimg alt=\"Github forks\" src=\"https://img.shields.io/github/forks/ptrvsrg/hotdog-or-not-bot?color=56BEB8\u0026style=flat\" /\u003e\n  \u003cimg alt=\"Github stars\" src=\"https://img.shields.io/github/stars/ptrvsrg/hotdog-or-not-bot?color=56BEB8\u0026style=flat\" /\u003e\n\u003c/p\u003e\n\n## About\n\nHave you watched the HBO comedy series \"Silicon Valley\"? Have you remembered the Hotdog or Not app\nthat Jian Yang developed? This app identifies whether something is hotdog or not.\n\n## Features\n\n+ Detecting objects in the photo\n+ Hotdog prediction\n+ Telegram bot\n+ Saving dataset to Yandex Disk\n\n## Technologies\n\n- [aiogram](https://aiogram.dev/)\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [YOLO V8](https://www.ultralytics.com/yolo)\n- [OpenCV](https://opencv.org/)\n- [SQLAlchemy](https://www.sqlalchemy.org/)\n- [i18next](https://pypi.org/project/i18next/)\n- [yadisk](https://yadisk.readthedocs.io/ru/latest/)\n\n## Requirements\n\nBefore starting, you need to have:\n\n+ [Git](https://git-scm.com)\n+ [Python](https://www.python.org/)\n+ [Docker](https://www.docker.com/)\n+ [ngrok](https://ngrok.com/)\n\n## Starting\n\n### Local\n\n1. Clone this project\n\n```shell\ngit clone https://github.com/ptrvsrg/hotdog-or-not-bot.git\ncd hotdog-or-not-bot\n```\n\n2. Create virtual environments\n\n```shell\npython -m venv .venv\nsource .venv/bin/activate\n```\n\n3. Install dependencies\n\n```shell\npip install -r requirements.txt\n```\n\n4. (Optional) Run http tunnel\n\n\u003e **_NOTE:_** Run in a separate terminal.\n\n\u003e **_NOTE:_** ngrok is a globally distributed reverse proxy. We will use it to test the webhook.\n\u003e After launching we have to copy forwarding URL.\n\n```shell\nngrok http 8080\n```\n\n5. Set up environment variables\n\n\u003e **_NOTE:_** Initialize environment variable **WEBHOOK_URL** with the value \\\u003cpublic URL\\\u003e/webhook\n\n```shell\ncp .env.local.exmaple .env\nnano .env\nexport $(cat .env | xargs)\n```\n\n6. Start database and cache\n\n```shell\ndocker compose --file docker-compose.local.yml --env-file .env up -d\n```\n\n7. Run application:\n\n```shell\npython app/main.py\n```\n\n### Docker\n\n1. Install `docker-compose.yml`:\n\n```shell\nwget https://raw.githubusercontent.com/ptrvsrg/hotdog-or-not-bot/\u003crelease_version\u003e/docker-compose.yml\n```\n\n2. Install example environment file:\n\n```shell\nwget https://raw.githubusercontent.com/ptrvsrg/hotdog-or-not-bot/\u003crelease_version\u003e/.env.docker.example\n```\n\n3. Set up environment variables\n\n\u003e **_NOTE:_** Initialize environment variable **WEBHOOK_URL** with the value \\\u003cpublic URL\\\u003e/webhook\n\n```shell\ncp .env.docker.example .env\nnano .env\n```\n\n4. Run containers:\n\n```shell\ndocker compose --file docker-compose.yml --env-file .env up -d\n```\n\n## Contribution to the project\n\nIf you want to contribute to the project, you can follow these steps:\n\n1. Create a fork of this repository.\n2. Make the necessary changes.\n3. Create a pull request describing your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptrvsrg%2Fhotdog-or-not-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptrvsrg%2Fhotdog-or-not-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptrvsrg%2Fhotdog-or-not-bot/lists"}