{"id":15604571,"url":"https://github.com/mohnish/pot-bot","last_synced_at":"2026-01-20T02:41:19.649Z","repository":{"id":38332118,"uuid":"400722203","full_name":"mohnish/pot-bot","owner":"mohnish","description":"Just a pot managing bot. DISCLAIMER: It has nothing to do with Weed","archived":false,"fork":false,"pushed_at":"2022-06-06T20:50:32.000Z","size":548,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-06T22:31:09.043Z","etag":null,"topics":["bot","nodejs","scene","telegraf","telegram-bot","wizard"],"latest_commit_sha":null,"homepage":"","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/mohnish.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":"2021-08-28T06:41:44.000Z","updated_at":"2025-01-09T05:43:23.000Z","dependencies_parsed_at":"2022-08-24T00:31:00.446Z","dependency_job_id":null,"html_url":"https://github.com/mohnish/pot-bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mohnish/pot-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohnish%2Fpot-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohnish%2Fpot-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohnish%2Fpot-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohnish%2Fpot-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohnish","download_url":"https://codeload.github.com/mohnish/pot-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohnish%2Fpot-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["bot","nodejs","scene","telegraf","telegram-bot","wizard"],"created_at":"2024-10-03T03:41:59.844Z","updated_at":"2026-01-20T02:41:19.633Z","avatar_url":"https://github.com/mohnish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pot Bot\n\n\u003e Just a pot managing bot\n\n*DISCLAIMER: It has nothing to do with Weed*\n\n## Features\n\n- [x] /active Fetch all active pots (includes locked)\n- [x] /completed Fetch all completed pots\n- [x] /join Join an active unlocked pot\n- [x] /new Start a new pot\n- [x] /lock Lock a pot you created, preventing others from joining\n- [x] /end End a pot you created\n\n## Tech Stack\n\n* NodeJS 16.8.0\n* MongoDB 5.0\n\n## Setup\n\nFrom the app root:\n\n* Run `npm install` to install all the dependencies\n* Rename `.env.sample` to `.env` and update the values to your needs\n* You'll need to create your own Telegram bot using [@BotFather](https://core.telegram.org/bots#6-botfather)\n  * Use the bot token and assign it to `TELEGRAM_BOT_TOKEN` in `.env` file\n* Install MongoDB. On macOS, run\n  * `brew tap mongodb/brew`\n  * `brew install mongodb-community@5.0`\n\n## Development\n\n### MongoDB\n\nMongoDB is used as the primary data store and also to persist scheduled tasks\n\n* Start server `brew services start mongodb-community@5.0`\n  * Ensure connectivity by running `mongosh myFirstDatabase`\n\n### App\n\n* From the app root, run `npm run dev` to start the bot\n\n*NOTE* Make sure you `/start` the bot before you try interacting with the bot.\nTelegram doesn't allow bots to message a user without permission.\n\n## Production Deploy\n\n* Install dependencies `npm install`\n* Start the script by running `npm start`\n* Stop: `npm stop`\n* Status: `npm run status`\n\nIf you wish to deploy it to Heroku, you can do so by clicking below (Make sure you have the ENV vars configured):\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n## License\n\nMIT License\n\nCopyright (c) 2021 Mohnish Thallavajhula hi@iam.mt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohnish%2Fpot-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohnish%2Fpot-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohnish%2Fpot-bot/lists"}