wondershaper
cli-guidelines
wondershaper | cli-guidelines | |
---|---|---|
8 | 47 | |
1,656 | 2,793 | |
- | 1.1% | |
0.0 | 5.0 | |
2 months ago | 8 days ago | |
Shell | CSS | |
GNU General Public License v3.0 only | Creative Commons Attribution Share Alike 4.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wondershaper
-
How to control [limit] network bandwidth in linux 🐢
this article will help you limit your network bandwidth using wondershaper tool !!
-
Bandwith management on linux for downloads
Yes, you can do this via Wondershaper (https://github.com/magnific0/wondershaper) for example: https://vitux.com/how-to-limit-network-bandwidth-in-ubuntu/
-
Is there a tool to control bandwidth for debugging purposes?
I’d like to play with the device’s bandwidth for debugging purposes. I saw wondershaper but it seems to have issues on Jetsons.
-
plugins or addons for tc
For super simplification (bandwidth + shaping) wondershaper has a wrapper script - https://github.com/magnific0/wondershaper/ tc has a lot of depth to it depending on what you are trying to accomplish, unfortunately besides going through the man page and trying stuff I don't really have anything else to give you.
-
Setup highly customizable wifi hotspot on system
[1]: https://github.com/magnific0/wondershaper/blob/master/wondershaper
-
How do professionals limit the HTTP request rate to avoid taking up the connection speed?
To quote from the readme:
-
If a linux/unix was rewritten today, what would be different?
You better never try something like the wondershaper with ifconfig ...
- How do I limit my bandwidth on Ubuntu?
cli-guidelines
- Ask HN: Where to read about terminal UIs?
-
Ask HN: Do you read Secrets from Environment Variables
The Command Line Interface Guidelines [1] says:
> Do not read secrets from environment variables
> Secrets should only be accepted via credential files, pipes, `AF_UNIX` sockets, secret management services, or another IPC mechanism
Which one of these do you use? On github it seems common for projects to use environment variables for secrets.
[1] https://clig.dev/#environment-variables
-
Command Line Interface Guidelines
Seems they took a small step back from their previous "don't bother with man pages" stance. Now it's "Consider providing man pages."
I still find it a rather shocking order of priority, honestly.
https://clig.dev/#documentation
-
Ask HN: Best way to do scoped commands in a CLI app
- E. `blah project foo --edit`
Wondering if there was any guidance on this from the UNIX people. Perhaps scoping should be done using the file system. `cd path/to/project && blah edit`. Like git does with `git --cwd=path/to/project`. Maybe a virtual FS could even be used. Then you wouldn't have to continuously type in the scope with each command. Interesting thinking about how to maintain state in the terminal...thinking about how Python's virtual env bin/activate modifies the shell.
Found an interesting guide here: https://clig.dev/
-
CLI user experience case study
Capturing these guidelines is one of the primary reasons that https://clig.dev/ exists.
-
Introducing my Password Manager project - Seeking Feedback and Contributions
You may want to take a look at various existing CLIs to get inspiration on how they operate, the user feedback loop and the ergonomics on using them. Here is a great website on some CLI structing guidance https://clig.dev/
What are some alternatives?
trickle - Trickle is a userland bandwidth shaper for Unix-like systems.
redox - Mirror of https://gitlab.redox-os.org/redox-os/redox
nodejs-cli-apps-best-practices - The largest Node.js CLI Apps best practices list ✨
go - The Go programming language
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
toxiproxy - :alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
argparse-benchmarks-rs - Collected benchmarks for arg parsing crates written in Rust [Moved to: https://github.com/rosetta-rs/argparse-rosetta-rs]
appvm - Nix-based app VMs
picocli - Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.