{"id":23665692,"url":"https://github.com/sibeardev/pontus","last_synced_at":"2025-09-01T18:32:05.267Z","repository":{"id":44096023,"uuid":"511925219","full_name":"sibeardev/pontus","owner":"sibeardev","description":"Урок 5. Продаём рыбу в Telegram","archived":false,"fork":false,"pushed_at":"2022-07-25T10:38:27.000Z","size":2288,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-04T19:46:22.411Z","etag":null,"topics":["cms","moltin","redis","requests","telegram-bot-api","telegram-shop"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sibeardev.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}},"created_at":"2022-07-08T14:32:58.000Z","updated_at":"2024-05-04T19:46:22.411Z","dependencies_parsed_at":"2022-09-04T15:41:24.112Z","dependency_job_id":null,"html_url":"https://github.com/sibeardev/pontus","commit_stats":null,"previous_names":["sibeardev/pontus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibeardev%2Fpontus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibeardev%2Fpontus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibeardev%2Fpontus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibeardev%2Fpontus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sibeardev","download_url":"https://codeload.github.com/sibeardev/pontus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231705088,"owners_count":18413950,"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":["cms","moltin","redis","requests","telegram-bot-api","telegram-shop"],"created_at":"2024-12-29T06:14:55.912Z","updated_at":"2024-12-29T06:15:06.724Z","avatar_url":"https://github.com/sibeardev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pontus\n\n[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)\n\nTelegram store bot. Based on the [CMS Moltin](https://www.elasticpath.com/). The bot will show a list of products, details of each product separately. From the selected products to form a shopping cart and place an order. Example: [store of fish](https://t.me/pontus_shopbot).\n\n## Screenshots\n\n![App Screenshot](https://github.com/dad-siberian/pontus/blob/main/raw/pontus.gif)\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your `.env` file\n\n- `TELEGRAM_TOKEN` - token telegram bot. Get it from [@BotFather](https://telegram.me/BotFather).\n- `TG_CHAT_ID` - Telegram id administrator for system alerts. You can find out by messaging a special bot in Telegram: [@userinfobot](https://t.me/userinfobot)\n\nYou'll need your [API keys](https://euwest.cm.elasticpath.com/) (Client ID and Client Secret) when making requests to the API.\n\n- `MOLTIN_CLIENT_ID` - Client id of your store in cms moltin\n- `MOLTIN_CLIENT_SECRET` - Client secret of your store in cms moltin\n\nRegister at [redis](https://redis.com/) for the database address, its port and password.\n\n- `REDIS_HOST` - Redis database address Example: redis-13965.f18.us-east-4-9.wc1.cloud.redislabs.com\n- `REDIS_PORT` - Redis database port\n- `REDIS_PASSWORD` - Redis database password\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/dad-siberian/pontus.git\n```\n\nGo to the project directory\n\n```bash\n  cd pontus\n```\n\nInstall dependencies\n\n```bash\n  pip install -r requirements.txt\n```\n\nStart the server\n\n```bash\n  pytnon bot.py\n```\n\n## Deployment\n\nTo deploy this project run Heroku. [Manual](https://devcenter.heroku.com/articles/getting-started-with-python).\n\nTo set the config var on Heroku, execute the following:\n\n```bash\nheroku config:set TELEGRAM_TOKEN={telegram token}\n```\n\n## Project Objectives\n\nThe code is written for educational purposes on an online course for web developers [dvmn.org](https://dvmn.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibeardev%2Fpontus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsibeardev%2Fpontus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibeardev%2Fpontus/lists"}