frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Hammerspoon 2 Beta 1 is released

https://www.hammerspoon.org/
2•cmsj•37m ago
The first beta of Hammerspoon 2 is now available! Hammerspoon 2 is a ground-up rewrite of Hammerspoon that uses JavaScript instead of Lua, using the same JavaScriptCore engine as Safari, and it's now the main version of Hammerspoon.

It requires macOS 27 or later and is a separate app with its own config, so you can keep Hammerspoon 1 installed while you try it out. Once installed, it checks for updates itself.

We have a Getting Started guide for new users, and a Migration guide for anyone coming from Hammerspoon 1.

It's a beta, so expect some rough edges. Please report bugs and feature requests on GitHub.

Comments

cmsj•27m ago
If anyone is curious, I am the original maintainer of Hammerspoon.

The reasoning behind the rewrite and the change of configuration language is that the project is over 12 years old at this point, and was somewhere around 100k lines of Objective C and Lua that nobody really had any motivation to work on anymore, myself included.

Maintaining a bunch of ObjC that bridges native objects bidirectionally with Lua, is not a ton of fun.

Switching to Swift for the native parts means that I actually want to work on it, and using Apple's JavaScriptCore framework means we get the object bridging essentially for free.

I started work on this rewrite a little over a year ago and wrote the core of the app by hand, because I wanted to explore and understand how to build on top of JSC. I then wrote the first few modules myself so I could flesh out how the bridging lifecycles work, and ensure I had an architecture that could grow and scale.

Once I'd figured all of that out, I created agent skills that codified how modules should be written and how bridged types should behave. From there I've been using Claude to help create/port all the other modules.

I do not buy into the ideas like "no need to read the code" - I'm on the hook to support this for myself and others for the next 12 years, so I've read every bit of code Claude has written, and very often disagreed with it and redirected it.

It's been a ton of fun though, and I'm convinced that, as a spare time project, this would have taken me easily another year to do fully by hand.

Happy to answer any questions people might have!

bradknowles•2m ago
Indeed, I was curious. I was only thinking about the efficiency of Lua and Objective-C from the customer perspective, and not whether that is any fun to continue to develop and maintain from your side. Now that you explain your reasoning, this makes much more sense to me!

Thank you for all your hard work you’ve already put in over the years, and I hope that we have many more years of fun and interesting stuff for you in the future!

Show HN: I built a game where you are an LLM's subagent

https://github.com/gulivan/worker755
275•ivantgam•12h ago•65 comments

Show HN: Hearth 64 – A cozy fireplace screensaver ROM for real N64 hardware

https://github.com/njgreb/n64fireplace
2•gweedo767•25m ago•0 comments

Show HN: Hammerspoon 2 Beta 1 is released

https://www.hammerspoon.org/
2•cmsj•37m ago•2 comments

Show HN: Thir – Linux 6.12 kernel with an all-Rust userspace and framebuffer GUI

https://github.com/Adhishtanaka/thir
2•adhishtanaka•52m ago•0 comments

Show HN: I used Fable to make an open source 80s-style Skyrim browser game

https://thanes-quest.daventry.io/
2•rdh18•1h ago•0 comments

Show HN: BreakingChips – a machining reference that cites every number

https://breakingchips.com/
2•shopmath_john•1h ago•0 comments

Show HN: Mangap, read manga in your terminal with real images

https://github.com/hongnoul/mangap
3•hongnoul•1h ago•0 comments

Show HN: Inbox Envoy, an open-source email triage skill for your own AI agent

https://github.com/salespeak-ai/inbox-envoy
2•omergotlieb•2h ago•0 comments

Show HN: Trix - A terminal workspace that shows which coding agent needs you

https://trixapp.ai/
5•leofle•2h ago•2 comments

Show HN: Aaf-gate – policy gate and kill switch for existing agent runtimes

https://github.com/buberlo/aaf-gate
2•buberlo•4h ago•0 comments

Show HN: Gall – Inkling 2 Mini on 24GB M2, frees RAM between messages

https://github.com/ltrgoddard/gall
5•ltrg•4h ago•2 comments

Show HN: Zero C# – C# without a runtime or GC

https://onurgumus.github.io/zero-csharp/index.html
176•reverseblade2•1d ago•125 comments

Show HN: I built a tool to animate your code

https://trycodeclip.com/
2•koochi10•5h ago•0 comments

Show HN: You Are Hilbert

https://you-are-hilbert.koenvangilst.nl/
4•vnglst•5h ago•1 comments

Show HN: Hidely Hide any window from screen sharing on Windows

https://github.com/CodingRule/Hidely
2•elure•5h ago•0 comments

Show HN: PDF ProMaster – PDF tools that run in the browser, no uploads

https://pdfpromaster.com/
3•pdfpromaster•6h ago•0 comments

Show HN: An ASCII cell aquarium for your terminal

https://github.com/kborer/cells/
66•kborer•4d ago•22 comments

Show HN: The Riemann Proof Handbook

https://github.com/tamnd/riemann-handbook
85•tamnd•20h ago•58 comments

Show HN: Type-C – variants, options, generics and pattern matching for C

https://github.com/stass/type-c
2•stass•7h ago•0 comments

Show HN:Get Tied of Fast.com And build My own Speed testing site.

https://velocest.vercel.app
2•12errh•7h ago•0 comments

Show HN: Foolscap – a writing app that reads your book and never writes for you

https://foolscap.works/
129•atugard•3d ago•96 comments

Show HN: I made a PS1 style racing game

https://outpostracer.com
47•shash7•1d ago•35 comments

Show HN: TEB RUN – a pseudo-3D arcade racer in TypeScript and Canvas, no engine

https://tebrun.io/
3•tebrun•9h ago•0 comments

Show HN: Tinnitus frequency finder and audio notch tool

https://trynotched.com/find
229•brianrhea•4d ago•136 comments

Show HN: Fast deterministic natural language search for OpenStreetMap data

https://hippomaps.ch/?q=cafes+by+the+Limmat+100+m+from+the+lake+in+zurich#map=15.02/47.36708/8.54935
138•vihren•3d ago•48 comments

Show HN: Mastra Factory, the open-source software factory we use to build Mastra

158•codekarate•4d ago•45 comments

Show HN: OpenComputer – an open source alternative to Devin

https://github.com/diggerhq/opencomputer
125•iacguy•2d ago•36 comments

Show HN: Rmux – A lightweight GPU rendered terminal workspace

https://rmux.app
5•JaTochNietDan•12h ago•0 comments

Show HN: agent-mcts – Monte Carlo tree search on top of Claude Code

https://github.com/natsu0529/agent-mcts
16•natsu529•1d ago•2 comments

Show HN: NestDaddy Memory, one memory shared by ChatGPT, Claude and Cursor

https://nestdaddy.com/memory
3•nestdaddy•13h ago•2 comments