pueue
nq
Our great sponsors
pueue | nq | |
---|---|---|
37 | 18 | |
4,553 | 2,754 | |
- | - | |
8.7 | 0.0 | |
9 days ago | about 1 year ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 or later |
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.
pueue
-
Sequential and parallel execution of long-running shell commands
You can probably do a good subset it in bash, it's just a nicer interface with a lot of configurability and several convenience features.
I'm generally a big fan of showing alternatives: https://github.com/Nukesor/pueue/?tab=readme-ov-file#similar...
Would you be willing to write a proper guide on how to do all of these things in bash? It would be great to have this as guide an alternative inside the Pueue wiki and link to it. It'll help people to make a more informed decision on whether they need this tool or not.
-
Looking for a pueue debian maintainer
there is a command line manager for long running tasks called Pueue. It is released into Nix, Arch, Alpine, Void, etc, but not for Debian based distros. I know that releasing into Debian is a bit more challenging, but I just wanted to ask if anybody here might be interested in packaging it. Just as a disclaimer, I am not the author of this project, just a regular user.
-
Can't find the name of a tool...
This one? https://github.com/Nukesor/pueue
-
Systemd timer having service running one after the other at a set time.
How about this: https://github.com/Nukesor/pueue/? I have it bookmarked from a thread here from few years back and never got to test it eventually, but maybe it will serve your purposes?
-
How can I run commands in parallel and write the output of each command to different linux terminals, one linux terminal for each command running in parallel.
Multiplexing is great for your multiple outputs, but I would highly recommend using pueue & pueued for job control. Lets you organize your background jobs into groups which can be paused, resumed, etc. Also lets you act on jobs from different terminals w/the pueue interface.
-
What "nice-to-have" CLI tools do you know?
pueue -- a queue for tasks, running in background
-
Why is Tmux better than neovim's built-in terminal?
For the command that takes a long time to complete, I always use pueue to run. This thing let you run multiple commands in order and can schedule the execution later which is really helpful to my workflow.
-
Should I use async or multiprocessing in my project and which library to use?
That said, you're basically building pueue. https://github.com/Nukesor/pueue/blob/main/ARCHITECTURE.md might give you some pointers. From reading it, there seems to be a mishmash of tokio stuff, and then everything gets serialised onto an MPSC channel (that's serviced by TaskHandler, on a single thread that's also responsible for polling for finished processes etc, every 200ms).
-
What do you use to copy large files from one HDD to another?
exchange for pueue and you can even queue them up.
-
What are some popular background job processing frameworks in the Rust ecosystem?
This is the only one I know of: https://github.com/Nukesor/pueue
nq
-
Sharing resources by queuing jobs
If you want something quick and janky, I suggest nq. It's stupidly simple and lightweight; it just requires that everyone is running as the same user. And only lets exactly one job of any kind run in a given queue. There's basically zero configuration; just nq , and it'll either start running , or will wait its turn.
-
Looking for recommendations on my ssh tmux &| tee workflow
For your ad-hoc uses, I would introduce nq. It's an extremely lightweight queuing system, which gives you two things with minimal overhead:
-
Run script in background conditionally and killing background process it started
I'm already aware of alternatives which I will consider (at, nq, snooze, but I still want an accurate lightweight CLI stopwatch/timer app and the script otherwise works well--this is more of an exercise on understanding background processes and could be handy in other scripts. Or if the attempt is considdered hacky and ill-advised, I'm curious of an alternative implementation. I just feel nothing is more simple than a very lightweight C-based timer app that exits 0 after specified time has elapsed and don't want to run a cron job or even a while sleep 1 loop for a reminder (sleep isn't even a builtin...).
-
Fq: Jq for Binary Formats
Interesting project. Unfortunate that its name conflicts with one of nq’s executables (https://github.com/leahneukirchen/nq), but I’m not sure anything can be done about it.
-
Tool to queue tasks and add/remove them?
nq
- Nq – A simple Unix job queue system
What are some alternatives?
tantivy - Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust [Moved to: https://github.com/quickwit-oss/tantivy]
fq - jq for binary formats - tool, language and decoders for working with binary and text formats
tab-rs - The intuitive, config-driven terminal multiplexer designed for software & systems engineers
HexFiend - A fast and clever hex editor for macOS
awesome-rewrite-it-in-rust - A curated list of replacements for existing software written in Rust [Moved to: https://github.com/TaKO8Ki/awesome-alternatives-in-rust]
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
breeze - An experimental, kakoune-inspired CLI-centric text/code editor with |-shaped cursor (in Rust)
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
starfetch - Display constellations in your terminal
Rack - A modular Ruby web server interface.
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
json-toolkit - "the best opensource converter I've found across the Internet" -- dene14