Skip to content

πŸ“Ÿ Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].

License

Notifications You must be signed in to change notification settings

ahmadawais/ptcl-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


DOWNLOADS Learn VSCode Follow @MrAhmadAwais on Twitter

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

npm install -g ptcl-cli

βš™οΈ

Usage

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

❯ Read the changelog here β†’


KEY: πŸ“¦ NEW, πŸ‘Œ IMPROVE, πŸ› FIX, πŸ“– DOC, πŸš€ RELEASE, and πŸ€– TEST

I use Emoji-log, you should try it and simplify your git commits.


πŸ“ƒ

License & Conduct


πŸ™Œ

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


πŸ‘Œ

Sponsor

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. 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.


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 Ahmad on Twitter

About

πŸ“Ÿ Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •