An open API service indexing awesome lists of open source software.

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].

Awesome Lists containing this project

README

          




[![DOWNLOADS](https://img.shields.io/npm/dt/ptcl-cli?label=DOWNLOADS%20%20โฏ&colorA=537038&colorB=537038&style=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&style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS)
[![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=537038&colorB=537038&style=flat)](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.


[![๐Ÿ“Ÿ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)

## Install

```sh
npm install -g ptcl-cli
```


[![โš™๏ธ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)

## 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.
```

[![โš™๏ธ](.github/configdata.gif)](./../../)


[![๐Ÿ“](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/log.png)](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._


[![๐Ÿ“ƒ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)](./../../)

## License & Conduct

- MIT ยฉ [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- [Code of Conduct](code-of-conduct.md)


[![๐Ÿ™Œ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/connect.png)](./../../)

## Connect


GitHub @AhmadAwaisย (follow) To stay up to date on free & open-source software


Twitter @MrAhmadAwaisย (follow) To get #OneDevMinute daily hot tips & trolls


YouTube AhmadAwaisย (subscribe) To tech talks & #OneDevMinute videos


Blog: AhmadAwais.comย (read) In-depth & long form technical articles


LinkedIn @MrAhmadAwaisย (connect) On the LinkedIn profile y'all



[![๐Ÿ‘Œ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/sponsor.png)](./../../)

## 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 โ†’


VSCODE


[![VSCode](https://img.shields.io/badge/-VSCode.pro%20%E2%86%92-gray.svg?colorB=4D2AFF&style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS)
[![Ahmad on Twitter](https://img.shields.io/twitter/follow/mrahmadawais.svg?style=social&label=Follow%20@MrAhmadAwais)](https://twitter.com/mrahmadawais/)