nq
Unix command line queue utility (by leahneukirchen)
redo-c
An implementation of the redo build system in portable C with zero dependencies (by leahneukirchen)
nq | redo-c | |
---|---|---|
18 | 1 | |
2,778 | 102 | |
- | - | |
2.5 | 2.4 | |
about 2 months ago | 7 months ago | |
C | C | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
nq
Posts with mentions or reviews of nq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-18.
-
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
redo-c
Posts with mentions or reviews of redo-c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-26.
-
Nq – a simple Unix job queue system
I'll note that nq's author also has a redo implementation¹. I've wondered a few times why their other projects(nq/mblaze/etc) don't use redo, but never actually asked.
¹ https://github.com/leahneukirchen/redo-c
What are some alternatives?
When comparing nq and redo-c you can also consider the following projects:
pueue - :stars: Manage your shell commands.
Rack - A modular Ruby web server interface.
fq - jq for binary formats - tool, language and decoders for working with binary and text formats
walk - A fast, general purpose, graph based build and task execution utility.
HexFiend - A fast and clever hex editor for macOS
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
json-toolkit - "the best opensource converter I've found across the Internet" -- dene14
timestamp - Prefix each line with a timestamp
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
fq - F@#$*&%Q (Message queue that is fast, brokered, in C and gets out of your way)