Lua
hammerspoon
Our great sponsors
Lua | hammerspoon | |
---|---|---|
118 | 114 | |
7,974 | 11,479 | |
2.1% | 1.4% | |
8.5 | 7.3 | |
11 days ago | 20 days ago | |
C | Objective-C | |
MIT License | 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.
Lua
-
5-Step Approach: ProjectSveltos Event Framework for Kubernetes Deployment with Cilium Gateway API
The EventSource uses the Lua language to search for any services with ports set to 80 or 443 in the ‘argocd’ namespace. More examples can be found here.
-
Building a Wordle Clone with Lua! 🕹
If you're new to the 12 in 24 series, I'm learning and building projects with a new programming language every month - this month, it's the Lua scripting language. You can find source code for the projects I build in the official GitHub repository (check it out, this week's folder contains code for both this and two other bonus projects!).
-
Gearing up for Lua
This month, we're talking about Lua. It's not always a first choice when it comes to programming, but I think there's a lot to enjoy about this little language. Heck, I'm a big game development fan myself - I would look into it even if that was the only reason to.
-
Pluto, a Modern Lua Dialect
It’s Portuguese. It’s the same in the Lua codebase [1].
[1]: https://github.com/lua/lua
-
Fluent Bit with ECS: Configuration Tips and Tricks
If we think we need more flexibility for processing records, we can write our own embedded filters using Lua language. Lua is a highly efficient programming language used mainly for embedded scripting.
- A Linguagem Lua completa 30 anos!
-
The Top 20 Programming Languages and Their Origins
Lua
-
Lua C headers, MacOS
➜ ~ brew info lua ==> lua: stable 5.4.6 (bottled) Powerful, lightweight programming language https://www.lua.org/ /opt/homebrew/Cellar/lua/5.4.6 (29 files, 788.7KB) * Poured from bottle using the formulae.brew.sh API on 2023-05-16 at 11:03:06 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/l/lua.rb License: MIT ==> Caveats You may also want luarocks: brew install luarocks ==> Analytics install: 16,599 (30 days), 56,745 (90 days), 139,027 (365 days) install-on-request: 1,763 (30 days), 6,266 (90 days), 21,105 (365 days) build-error: 0 (30 days)
-
How do you like code documentation inline in the source code vs. as separate guides, or how would you do it?
I think Lua is a good example of doing documentation well. The source code is commented only as much as needed, mainly with brief comments about things that might not be obvious and a small number of longer explanations of how the architecture works (mainly relevant to developers). It also has a super nice feature that's surprisingly rare: each file has a very short line at the top that describes what the file is, so you don't have to guess based on the filename alone. The API is documented in a single HTML file on the website that has both the high level descriptions of the language and architecture, as well as documentation for each public-facing function. The docs are maintained by hand, but the API is mostly stable, so the docs don't need to change very often.
-
Total Noob With a Question.
This is using the Lua language and the Solar2d game framework
hammerspoon
-
Show HN: NotesOllama – I added local LLM support to Apple Notes (through Ollama)
Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.
https://www.hammerspoon.org/
-
Little macOS Apps That Make a Big Difference in 2024
For basic window tiling, I stumbled across Hammerspoon and the MiroWindowsManager spoon.
https://github.com/miromannino/miro-windows-manager
https://www.hammerspoon.org/
- Yabai – A tiling window manager for macOS
-
[Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl
I use hammerspoon a lot and it seemed like scheduling SelfControl could be done using it so I created Hammer Control. Check it out!
-
A collection of useful Mac Apps
Hammerspoon - Price: Free Desktop automation tool for macOS that allows you to write Lua scripts to control your Mac.
- Needed: Automation extension that can repeat movements/clicks in a browser
-
getting current desktop to show on lockscreen? (MacOS Ventura)
Assuming no one has a cut-and-dried solution that just works, would something like this be possible with say, AppleScript or another scripting tool like Hammerspoon? I've not used either of these tools before, but would be open to seeking out a scripting solution on my own if it's viable. Or am I going to run into insurmountable security restrictions?
- Ask HN: Scrolling Window Manager for macOS?
-
Fastest way to open Messages?
Spark (not the email app). There are others like Hotkey and Hammerspoon.
-
Window Management & Snapping
I have tried different tools for this including Rectangle, but I've finally settled with hammerspoon. It solves the problem of window-management but you can also use it to create custom keyboard shortcuts and much more.
What are some alternatives?
julia - The Julia Programming Language
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
assemblyscript - A TypeScript-like language for WebAssembly.
yabai - A tiling window manager for macOS based on binary space partitioning
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
skhd - Simple hotkey daemon for macOS
lua-nginx-module - Embed the Power of Lua into NGINX HTTP servers
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
kotlin-script-examples - Examples of Kotlin Scripts and usages of the Kotlin Scripting API
alt-tab-macos - Windows alt-tab on macOS
mal - mal - Make a Lisp
ShockEmu - Keyboard support for Dualshock emulation for PS Remote Play (macOS)