{"id":15487734,"url":"https://github.com/ahmadawais/ptcl-cli","last_synced_at":"2025-06-22T16:40:34.221Z","repository":{"id":57331959,"uuid":"250888939","full_name":"ahmadawais/ptcl-cli","owner":"ahmadawais","description":"📟 Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].","archived":false,"fork":false,"pushed_at":"2020-04-30T09:40:51.000Z","size":691,"stargazers_count":11,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T17:27:58.518Z","etag":null,"topics":["cli","command-line-tool","ptcl-cli","ptcl-router"],"latest_commit_sha":null,"homepage":"https://twitter.com/MrAhmadAwais/","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/ahmadawais.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","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":{"custom":["https://Awais.dev/sponsor-USD-10-pm","https://Awais.dev/sponsor-USD-10","https://Awais.dev/sponsor-USD-100","https://Awais.dev/sponsor-USD-50"]}},"created_at":"2020-03-28T20:38:37.000Z","updated_at":"2024-07-30T19:18:22.000Z","dependencies_parsed_at":"2022-09-21T03:21:16.836Z","dependency_job_id":null,"html_url":"https://github.com/ahmadawais/ptcl-cli","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/ahmadawais/ptcl-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadawais%2Fptcl-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadawais%2Fptcl-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadawais%2Fptcl-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadawais%2Fptcl-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadawais","download_url":"https://codeload.github.com/ahmadawais/ptcl-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadawais%2Fptcl-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261328094,"owners_count":23142444,"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":["cli","command-line-tool","ptcl-cli","ptcl-router"],"created_at":"2024-10-02T06:41:36.352Z","updated_at":"2025-06-22T16:40:29.187Z","avatar_url":"https://github.com/ahmadawais.png","language":"JavaScript","funding_links":["https://Awais.dev/sponsor-USD-10-pm","https://Awais.dev/sponsor-USD-10","https://Awais.dev/sponsor-USD-100","https://Awais.dev/sponsor-USD-50"],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\".github/github.jpg\" /\u003e\n\t\u003cbr\u003e\n\n[![DOWNLOADS](https://img.shields.io/npm/dt/ptcl-cli?label=DOWNLOADS%20%20❯\u0026colorA=537038\u0026colorB=537038\u0026style=flat)](https://www.npmjs.com/package/ptcl-cli) [![Learn VSCode](https://img.shields.io/badge/-VSCODE.pro%20%E2%86%92-gray.svg?colorB=537038\u0026style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS)\n[![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=537038\u0026colorB=537038\u0026style=flat)](https://twitter.com/mrahmadawais/)\n\nControl PTCL router via command line\n\n\u003c/h3\u003e\n\n# ptcl-cli\n\n- 🗃️ Get all data on **Speed**: `download`, `upload`, **SNR**, **Attainable** speeds.\n- 🤣 Screenshot xDSL stats to the desktop for quick filing a complaint.\n- 🤯 Run in both headless or non-headless browser modes.\n- 📟 Store `user`, `pass` configurations securely.\n- 👐 Automagically `reboot` your PTCL router.\n\n\u003cbr\u003e\n\n[![📟](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)\n\n## Install\n\n```sh\nnpm install -g ptcl-cli\n```\n\n\u003cbr\u003e\n\n[![⚙️](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)\n\n## Usage\n\n```sh\nptcl-cli\nptcl-cli config       # Configure and store user/pass in a safe location.\nptcl-cli --reboot     # Reboot the router.\nptcl-cli -r           # Reboot the router.\nptcl-cli --headless   # Headless mode.\nptcl-cli -x           # Headless mode.\nptcl-cli --data       # Print the stats data.\nptcl-cli -d           # Print the stats data.\nptcl-cli --screenshot # Screenshot xDSL Stats for filing a complaint.\nptcl-cli -s           # Screenshot xDSL Stats for filing a complaint.\nptcl-cli -xd          # 1) Headless mode 2) Print the stats data.\n```\n\n[![⚙️](.github/configdata.gif)](./../../)\n\n\u003cbr\u003e\n\n[![📝](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/log.png)](changelog.md)\n\n## Changelog\n\n[❯ Read the changelog here →](changelog.md)\n\n\u003cbr\u003e\n\n\u003csmall\u003e**KEY**: `📦 NEW`, `👌 IMPROVE`, `🐛 FIX`, `📖 DOC`, `🚀 RELEASE`, and `🤖 TEST`\n\n\u003e _I use [Emoji-log](https://github.com/ahmadawais/Emoji-Log), you should try it and simplify your git commits._\n\n\u003c/small\u003e\n\n\u003cbr\u003e\n\n[![📃](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)](./../../)\n\n## License \u0026 Conduct\n\n- MIT © [Ahmad Awais](https://twitter.com/MrAhmadAwais/)\n- [Code of Conduct](code-of-conduct.md)\n\n\u003cbr\u003e\n\n[![🙌](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/connect.png)](./../../)\n\n## Connect\n\n\u003cdiv align=\"left\"\u003e\n    \u003cp\u003e\u003ca href=\"https://github.com/ahmadawais\"\u003e\u003cimg alt=\"GitHub @AhmadAwais\" align=\"center\" src=\"https://img.shields.io/badge/GITHUB-gray.svg?colorB=6cc644\u0026colorA=6cc644\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e(follow)\u003c/strong\u003e To stay up to date on free \u0026 open-source software\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://twitter.com/MrAhmadAwais/\"\u003e\u003cimg alt=\"Twitter @MrAhmadAwais\" align=\"center\" src=\"https://img.shields.io/badge/TWITTER-gray.svg?colorB=1da1f2\u0026colorA=1da1f2\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e(follow)\u003c/strong\u003e To get #OneDevMinute daily hot tips \u0026 trolls\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://www.youtube.com/AhmadAwais\"\u003e\u003cimg alt=\"YouTube AhmadAwais\" align=\"center\" src=\"https://img.shields.io/badge/YOUTUBE-gray.svg?colorB=ff0000\u0026colorA=ff0000\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e(subscribe)\u003c/strong\u003e To tech talks \u0026 #OneDevMinute videos\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://AhmadAwais.com/\"\u003e\u003cimg alt=\"Blog: AhmadAwais.com\" align=\"center\" src=\"https://img.shields.io/badge/MY%20BLOG-gray.svg?colorB=4D2AFF\u0026colorA=4D2AFF\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e(read)\u003c/strong\u003e In-depth \u0026 long form technical articles\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://www.linkedin.com/in/MrAhmadAwais/\"\u003e\u003cimg alt=\"LinkedIn @MrAhmadAwais\" align=\"center\" src=\"https://img.shields.io/badge/LINKEDIN-gray.svg?colorB=0077b5\u0026colorA=0077b5\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e(connect)\u003c/strong\u003e On the LinkedIn profile y'all\u003c/small\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n[![👌](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/sponsor.png)](./../../)\n\n## Sponsor\n\nMe ([Ahmad Awais](https://twitter.com/mrahmadawais/)) and my incredible wife ([Maedah Batool](https://twitter.com/MaedahBatool/)) are two engineers who fell in love with open source and then with each other. You can read more [about me here](https://ahmadawais.com/about). If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.\n\n- 🌟  **$9.99/month (recommended)** ❯ [Two cups of Caffè latte (coffee) every month →](https://pay.paddle.com/checkout/540217)\n- 🚀  **$99.99 (one-time sponsor)** ❯ [Support an hour of open-source code →](https://pay.paddle.com/checkout/515568)\n- 🔰  **$49.99 (one-time sponsor)** ❯ [Support an hour of maintenance →](https://pay.paddle.com/checkout/527253)\n- ☕️  **$9.99 (one-time sponsor)** ❯ [Lunch/coffee →](https://pay.paddle.com/checkout/527254)\n\n\u003cbr\u003e\n\nOr you can back me by checking out my super fun video course. As developers, we spend over 200 Hrs/month with our code editors — it's only fair to learn your next editor deeply. This course will save you 15-20 hours every month.  \u003ca href=\"https://vscode.pro/?utm_source=GitHubFOSS\" target=\"_blank\"\u003eBecome a VSCode Power User\u003c/a\u003e →\u003c/p\u003e\n\n\u003ca href=\"https://vscode.pro/?utm_source=GitHubFOSS\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/ahmadawais/stuff/master/images/vscodepro/VSCode.jpeg\" /\u003e\u003cbr\u003e\u003cstrong\u003eVSCODE\u003c/strong\u003e\u003c/a\u003e\n\n\u003cbr\u003e\n\n[![VSCode](https://img.shields.io/badge/-VSCode.pro%20%E2%86%92-gray.svg?colorB=4D2AFF\u0026style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS)\n[![Ahmad on Twitter](https://img.shields.io/twitter/follow/mrahmadawais.svg?style=social\u0026label=Follow%20@MrAhmadAwais)](https://twitter.com/mrahmadawais/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadawais%2Fptcl-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadawais%2Fptcl-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadawais%2Fptcl-cli/lists"}