cctools-port
Lunar
cctools-port | Lunar | |
---|---|---|
5 | 192 | |
705 | 4,356 | |
- | - | |
6.4 | 9.0 | |
6 days ago | 6 days ago | |
C | Swift | |
- | MIT License |
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.
cctools-port
- Rust playground on iOS
-
Memory leaks are crippling my M1 MacBook Pro–and I’m not alone
You can use alternative toolchains like like cctools-port[1]. See, for example, this article [2] on how to build Swift UI apps for iOS using Linux.
[1] https://github.com/tpoechtrager/cctools-port
[2] https://thi.im/posts/cross-compiling-for-ios-part-1-build-sw...
- C/C++ cross-compiling toolchain for macOS, iOS, iPadOS, etc.
-
iOS on QEMU
You can actually do this now, without emulation: https://github.com/tpoechtrager/cctools-port
Zig are also working on it: https://zig.news/monthly/zig-monthly-august-2021-ios-support...
-
I wish KDE Connect worked on jailbroken or non jailbroken idevices.
If you're willing to spend some time you don't need a Mac: https://github.com/tpoechtrager/cctools-port
Lunar
-
Reverse Engineering a Software Crack
It’s done in a similar way on macOS: a dylib is added to the bundle and an LC_LOAD command is added to the app binary. The dylib is the first thing that runs because of using the constructor attribute, like this: https://notes.alinpanaitiu.com/Injecting%20a%20DYLIB%20into%...
The nice thing is that a signed app will refuse to load a dylib that does not have the same signature. So crackers will be forced to change the whole app signature which can be easily detected in app code.
I have that kind of protection in Lunar (https://lunar.fyi/) and Clop (https://lowtechguys.com/clop) and it seems to be good enough as they have no recent cracks.
-
No I don't want 2, Emacs
Pretty sure Lunar [0] can do this for you, and you can buy a lifetime license.
[0]: https://lunar.fyi/
-
Show HN: Multi-monitor KVM using just a USB switch
I've had good luck with the Lunar app - it manages my Dell and LG monitors on an M2. (No affiliation) https://lunar.fyi
-
PHOLED Will Transform Displays
Wild! I am working on exactly the same thing now for Lunar (https://lunar.fyi), and I'm also calling it Night Mode ^_^ what a coincidence
I've been trying to make "white regions in dark backgrounds" less painful for months, but doing that at the system level on macOS is incredibly hard. I see you're doing it with CSS filters, which make sense in the limited scope of an article. But applying something like that on the whole macOS UI would cause confusion.
I already use something similar on the iPhone: I read on the Kindle app which has white text on black background, then I have a full red Color Tint filter on the Triple Back Tap shortcut which I use before reading. Very similar effect to your solution, although I don't have images in my books.
-
If buying isn't owning, piracy isn't stealing
I was comparing anti-piracy measures with DRM, I don't have actual DRM in my app. I can't block users that really bought the app from using it (which is what DRM is notorious for).
But I do have a license verification for the Pro features (https://lunar.fyi/#pro), and that is what people are cracking in the app. I only added more protection around this verification.
-
MacOS tools to make your life easier
Lunar
-
Create a shortcut for even lower phone brightness
There's no Reduce White Point on Mac as far as I am aware. However, you can use the fantastic Lunar [0] app to achieve this, as it supports "Sub-Zero Dimming".
To use it, I think you just need to start Lunar, and then press the Reduce Brightness button on your keyboard until it goes below the minimum Mac allows.
[0] https://lunar.fyi
-
YouTube's Anti-Adblock and uBlock Origin
As the dev of a macOS app that breaks all the time because of external hardware, the tone of the article hits close to home. (I’m talking about https://lunar.fyi/ whose brightness control commands can be blocked by USB-C hubs, “smart” monitors, too long cables etc.)
I had to disable public GitHub issues on the app repo [1] because people seemed to fuel each other with spiteful comments and “why can’t you just!!” sentences.
The contact form still attracts many such “entitled” people and it hurts to wake up to such messages, but at least I can choose to ignore those if I can’t bring anything to the discussion. There’s no peer pressure.
These people are expecting too much from a handful of developers who are sharing a lot of free work and time that could have been spent better than hunting new IDs in URLs and updating regular expressions.
[1] https://github.com/alin23/Lunar
-
I2c-USB-hub: An i2C Controllable USB 2.0 Hub
Last year I bought a second computer for my music studio. I wanted to use the same set of 2 monitors and wired keyboard + trackpad on both machines.
I wrote simple scripts to switch my monitor inputs with keyboard shortcuts (even simpler with Lunar, amazing new Mac app — https://lunar.fyi), which saved me from having to press annoying input-source buttons.
But I couldn't for the life of me find a simple, suitable software controllable KVM switch. That still requires the hardware button to be controlled, so frustrating.
-
Changing my relationship with GitHub Copilot
Some people like the process of writing code, more than the end result. I had a few months of that feeling, but nowadays it’s rarely about writing for me.
Just the other day I used Copilot to explain the disassembly of macOS KeyboardBacklight code, so that I can turn off the keyboard lights when using Lunar’s Blackout (https://lunar.fyi/#blackout)
It even helped me generate the ObjC function signatures from assembly and use the right calling convention in Swift afterwards. It really feels like magic.
I would have no joy in writing that code, it’s mostly bridging and translation anyway. I just need it to do this thing so that people can take advantage of it.
What are some alternatives?
darling - Darwin/macOS emulation layer for Linux
MonitorControl - 🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.
BlackHole - BlackHole is a modern macOS audio loopback driver that allows applications to pass audio to other applications with zero additional latency.
BetterDisplay - Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
AutoEq - Automatic headphone equalization from frequency responses
Monitorian - A Windows desktop tool to adjust the brightness of multiple monitors with ease
xnu-qemu-arm64
BetterDummy - Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more! [Moved to: https://github.com/waydabber/BetterDisplay]
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
RatPoison - Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
log - Logging implementation for Rust
SlimHUD - Replacement for MacOS' volume, brightness and keyboard backlight HUDs.