https://github.com/ahmadawais/ptcl-cli
๐ Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].
https://github.com/ahmadawais/ptcl-cli
cli command-line-tool ptcl-cli ptcl-router
Last synced: 12 months ago
JSON representation
๐ Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].
- Host: GitHub
- URL: https://github.com/ahmadawais/ptcl-cli
- Owner: ahmadawais
- License: mit
- Created: 2020-03-28T20:38:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T09:40:51.000Z (about 6 years ago)
- Last Synced: 2025-05-26T17:27:58.518Z (about 1 year ago)
- Topics: cli, command-line-tool, ptcl-cli, ptcl-router
- Language: JavaScript
- Homepage: https://twitter.com/MrAhmadAwais/
- Size: 675 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- Funding: .github/funding.yml
- License: license
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/ptcl-cli) [](https://VSCode.pro/?utm_source=GitHubFOSS)
[](https://twitter.com/mrahmadawais/)
Control PTCL router via command line
# ptcl-cli
- ๐๏ธ Get all data on **Speed**: `download`, `upload`, **SNR**, **Attainable** speeds.
- ๐คฃ Screenshot xDSL stats to the desktop for quick filing a complaint.
- ๐คฏ Run in both headless or non-headless browser modes.
- ๐ Store `user`, `pass` configurations securely.
- ๐ Automagically `reboot` your PTCL router.
[](./../../)
## Install
```sh
npm install -g ptcl-cli
```
[](./../../)
## Usage
```sh
ptcl-cli
ptcl-cli config # Configure and store user/pass in a safe location.
ptcl-cli --reboot # Reboot the router.
ptcl-cli -r # Reboot the router.
ptcl-cli --headless # Headless mode.
ptcl-cli -x # Headless mode.
ptcl-cli --data # Print the stats data.
ptcl-cli -d # Print the stats data.
ptcl-cli --screenshot # Screenshot xDSL Stats for filing a complaint.
ptcl-cli -s # Screenshot xDSL Stats for filing a complaint.
ptcl-cli -xd # 1) Headless mode 2) Print the stats data.
```
[](./../../)
[](changelog.md)
## Changelog
[โฏ Read the changelog here โ](changelog.md)
**KEY**: `๐ฆ NEW`, `๐ IMPROVE`, `๐ FIX`, `๐ DOC`, `๐ RELEASE`, and `๐ค TEST`
> _I use [Emoji-log](https://github.com/ahmadawais/Emoji-Log), you should try it and simplify your git commits._
[](./../../)
## License & Conduct
- MIT ยฉ [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- [Code of Conduct](code-of-conduct.md)
[](./../../)
## Connect
ย (follow) To stay up to date on free & open-source software
ย (follow) To get #OneDevMinute daily hot tips & trolls
ย (subscribe) To tech talks & #OneDevMinute videos
ย (read) In-depth & long form technical articles
ย (connect) On the LinkedIn profile y'all
[](./../../)
## Sponsor
Me ([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.
- ๐ **$9.99/month (recommended)** โฏ [Two cups of Caffรจ latte (coffee) every month โ](https://pay.paddle.com/checkout/540217)
- ๐ **$99.99 (one-time sponsor)** โฏ [Support an hour of open-source code โ](https://pay.paddle.com/checkout/515568)
- ๐ฐ **$49.99 (one-time sponsor)** โฏ [Support an hour of maintenance โ](https://pay.paddle.com/checkout/527253)
- โ๏ธ **$9.99 (one-time sponsor)** โฏ [Lunch/coffee โ](https://pay.paddle.com/checkout/527254)
Or 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. Become a VSCode Power User โ
[](https://VSCode.pro/?utm_source=GitHubFOSS)
[](https://twitter.com/mrahmadawais/)
