mogenson
banner
jmogens.bsky.social
mogenson
@jmogens.bsky.social
All thoughts and opinions are not my own.
Push the Button: Using LuaJIT + FFI + CoreBluetooth with an async design to automate a trivial task. github.com/mogenson/swi...

Here's a project and article I put together using #lua
GitHub - mogenson/switchbot.lua: Use LuaJIT + FFI + CoreBluetooth to push the button
Use LuaJIT + FFI + CoreBluetooth to push the button - mogenson/switchbot.lua
github.com
October 13, 2025 at 8:52 PM
I added a mode to my Galactic Unicorn display that plays Conway's Game of Life. Except each cell not only inherits it's alive state from its surrounding neighbors, but also it's color.

The concept is shamelessly stolen from https://colorlife.quick.jaredforsyth.com

Coded in #rust
March 3, 2025 at 8:17 PM
I made a MIDI to Bluetooth bridge using LuaJIT and FFI

https://github.com/mogenson/luable

Would this have been easier using Swift or Objective-C instead of #Lua ? Yes.
GitHub - mogenson/luable
Contribute to mogenson/luable development by creating an account on GitHub.
github.com
February 17, 2025 at 8:37 PM
My project made it to 500 stars on GitHub!
February 17, 2025 at 12:31 AM
Hey! I did a thing with #rust and a Raspberry Pi Pico W: github.com/mogenson/bus...

This sign shows the time until the next bus using the #mbta API. It's made with a Pimoroni Galactic Unicorn and the embassy-rs async executor.
January 23, 2025 at 11:54 PM
I just added a new feature to PaperWM.spoon - smooth window scrolling based on trackpad gestures!

github.com/mogenson/Pap...

It's awesome how a project that started as a rewrite of PaperWM from GNOME to MacOS has gained unique features based on community suggestions.

#windowmanager #macos #lua
GitHub - mogenson/PaperWM.spoon: Tiled scrollable window manager for MacOS
Tiled scrollable window manager for MacOS. Contribute to mogenson/PaperWM.spoon development by creating an account on GitHub.
github.com
January 23, 2025 at 1:29 AM