{"id":13824386,"url":"https://github.com/nuhmanpk/pyro-snippets","last_synced_at":"2025-03-04T22:20:50.669Z","repository":{"id":244512011,"uuid":"815102563","full_name":"nuhmanpk/pyro-snippets","owner":"nuhmanpk","description":"A Visual Studio Code extension providing ready-to-use code snippets for developing Telegram bots with Pyrogram.","archived":false,"fork":false,"pushed_at":"2024-06-22T08:20:59.000Z","size":3072,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:27:57.018Z","etag":null,"topics":["bot-development","developer-experience","developer-tools","pyrogram","pyrogram-bot","snippets","telegram-bot","vscode-snippets"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=nuhmanpk.pyrosnippets","language":null,"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/nuhmanpk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-06-14T11:04:08.000Z","updated_at":"2024-12-16T03:51:05.000Z","dependencies_parsed_at":"2024-06-15T09:21:58.080Z","dependency_job_id":"d1669f7d-59b6-40c9-80d2-00b10940cfdc","html_url":"https://github.com/nuhmanpk/pyro-snippets","commit_stats":null,"previous_names":["nuhmanpk/pyro-snippets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fpyro-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fpyro-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fpyro-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fpyro-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuhmanpk","download_url":"https://codeload.github.com/nuhmanpk/pyro-snippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241929481,"owners_count":20043991,"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":["bot-development","developer-experience","developer-tools","pyrogram","pyrogram-bot","snippets","telegram-bot","vscode-snippets"],"created_at":"2024-08-04T09:01:01.894Z","updated_at":"2025-03-04T22:20:50.650Z","avatar_url":"https://github.com/nuhmanpk.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"## Pyro Snippets - Enhancing Developer Experience in Telegram Bot Development\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eElevate your Pyrogram Developer Experience with PyroSnippets!\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./images/logo2.png\" alt=\"logo\" max-height=\"450px\" max-width=\"450px\"\u003e\n\u003c/p\u003e\n\n\n[![Version](https://img.shields.io/visual-studio-marketplace/v/nuhmanpk.pyrosnippets.svg)](https://marketplace.visualstudio.com/items?itemName=nuhmanpk.pyrosnippets)\n[![Downloads](https://img.shields.io/visual-studio-marketplace/d/nuhmanpk.pyrosnippets.svg)](https://marketplace.visualstudio.com/items?itemName=nuhmanpk.pyrosnippets)\n[![Rating](https://img.shields.io/visual-studio-marketplace/stars/nuhmanpk.pyrosnippets.svg)](https://marketplace.visualstudio.com/items?itemName=nuhmanpk.pyrosnippets)\n\nWelcome to Pyro Snippets, an extension for Visual Studio Code that enhances your development with Pyrogram by providing code snippets for common tasks and features.\n\n## Features\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./images/demo.gif\" alt=\"demo-video\"\u003e\n\u003c/p\u003e\n\n- **Code Snippets**: Quickly insert code templates for creating Pyrogram clients, handling commands, and managing inline buttons.\n- **Enhanced Productivity**: Reduce boilerplate code and focus more on building your Pyrogram bots.\n- **Customizable**: Easily modify and expand snippets to fit your specific needs.\n\n## Usage\n\n1. Install the extension from the Visual Studio Code Marketplace.\n2. Open a Python project with Pyrogram.\n3. Start typing one of the predefined prefixes to activate the snippet suggestion.\n4. Select the desired snippet from the list or use the shortcut key to insert it directly.\n\n\n## Snippets\n\n| S.No | Snippet Name                | Prefix             | Description                                             |\n|---|--------------------------|--------------------|---------------------------------------------------------------|\n| 1 | Create Bot                  | `pyroBot`          | Create a Pyrogram bot                                      |\n| 2 | Inline Button               | `pyroButton`       | Create an inline button                                    |\n| 3 | Inline Button Group (2x2)   | `pyroButtonGroup2x2` | Create an inline button group (2x2)                      |\n| 4 | Inline Button Group (2 3 2) | `pyroButtonGroup2_3_2` | Create an inline button group (2 3 2)                  |\n| 5 | Inline Button Group (3x3)   | `pyroButtonGroup3x3` | Create an inline button group (3x3)                      |\n| 6 | Callback Query Handler      | `pyroCallbackHandler` | Create a callback query handler                         |\n| 7 | Close Button                | `pyroCloseButton`  | Create a callback query handler for close button           |\n| 8 | Next Button                 | `pyroNextButton`   | Create a callback query handler for a next button          |\n| 9 | Previous Button             | `pyroPrevButton`   | Create a callback query handler for a previous button      |\n| 10 | Confirm Button              | `pyroConfirmButton` | Create a callback query handler for a confirm button     |\n| 11 | Cancel Button               | `pyroCancelButton` | Create a callback query handler for a cancel button       |\n| 12 | Start Command Handler       | `pyroStart`        | Create /start command                                     |\n| 13 | Help Command Handler        | `pyroHelp`         | Create /help command                                      |\n| 14 | About Command Handler       | `pyroAbout`        | Create /about command                                     |\n| 15 | Import Data from ENV        | `pyroENV`          | Import API keys and tokens from environment variables     |\n| 16 | Welcome Message        | `pyroWelcome`          | Creates welcome message    |\n| 17 | Missing Something important? | -                  | \u003ca href=\"https://github.com/nuhmanpk/pyro-snippets/fork\" target=\"_blank\"\u003eClick here to fork and contribute!\u003c/a\u003e |\n\n## Requirements\n\n- Visual Studio Code (v1.50.0 or higher)\n- Python extension for Visual Studio Code\n- Pyrogram library installed in your Python environment\n\n## Feedback\n\nIf you have any suggestions, feature requests, or issues to report, feel free to [create an issue](https://github.com/nuhmanpk/pyro-snippets/issues) on GitHub.\n\n## License\n\nThis extension is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more details.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://t.me/bughunterbots\" target=\"_blank\"\u003e\n    \u003cimg src=\"./images/logo.jpeg\" alt=\"logo\" max-height=\"450px\" max-width=\"450px\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://t.me/bughunterbots\" target=\"_blank\"\u003eFollow @bughunterbots on Telegram\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n**Happy Coding!** 🚀\n\n\u003csub\u003eBuilt with ❤️ by \u003ca href=\"https://github.com/nuhmanpk\"\u003eNuhman Pk\u003c/a\u003e © 2024\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuhmanpk%2Fpyro-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuhmanpk%2Fpyro-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuhmanpk%2Fpyro-snippets/lists"}