launchk
Cursive TUI that queries XPC to peek at launchd state (by mach-kernel)
rust-block
Rust interface for Apple's C language extension of blocks. (by SSheldon)
launchk | rust-block | |
---|---|---|
4 | 2 | |
93 | 47 | |
- | - | |
6.3 | 0.0 | |
17 days ago | 3 months ago | |
Rust | Rust | |
MIT License | - |
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.
launchk
Posts with mentions or reviews of launchk.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-16.
-
Baby's first Rust with extra steps (XPC, launchd, and FFI)!
I wondered if there was something similar to LaunchControl that could run in a terminal. I've used chkservice on Linux, but there seems to be no macOS equivalent. I've been dying for an excuse to learn a little bit of Rust (loved n+1 years in a row by the SO developer survey2) -- so this was my chance. Several months later I ended up with launchk. The rest of this post will go over: getting started, interfacing with launchd, a lot of macOS IPC bits, getting stuck, and a bunch of probably questionable Rust FFI stuff.
- Launchk: A Rust-based Cursive TUI for managing macOS launchd jobs
- Am programat un open-source "launchd TUI" pentru macOS
- A TUI for managing launchd jobs on macOS. My first Rust project!
rust-block
Posts with mentions or reviews of rust-block.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-13.
- macOS Apps in Rust
-
Baby's first Rust with extra steps (XPC, launchd, and FFI)!
let block = ConcreteBlock::new(move |key: *const c_char, value: xpc_object_t| { unsafe { xpc_retain(value) }; let str_key = unsafe { CStr::from_ptr(key).to_string_lossy().to_string() }; let xpc_object: XPCObject = value.into(); map_refcell .borrow_mut() .insert(str_key, xpc_object.into()); true }); // https://github.com/SSheldon/rust-block#creating-blocks let block = block.copy(); let ok = unsafe { xpc_dictionary_apply(object.as_ptr(), &*block as *const _ as *mut _) };
What are some alternatives?
When comparing launchk and rust-block you can also consider the following projects:
chkservice - Systemd units manager with ncurses, terminal interface
rust-objc - Objective-C Runtime bindings and wrapper for Rust.
git-interactive-rebase-tool - Native cross-platform full feature terminal-based sequence editor for git interactive rebase.
wiki-tui - A simple and easy to use Wikipedia Text User Interface
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.
Cursive - A Text User Interface library for the Rust programming language
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
swift-bridge - swift-bridge facilitates Rust and Swift interop.