HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
agzam
spacehammer
Fennel2016–2026
agzam / spacehammer

spacehammer

Spacemacs|Doom inspired Hammerspoon modal toolkit

6Distinct people
22Mentions
1Explicit recommenders
651GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Spacemacs|Doom inspired Hammerspoon modal toolkit

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

I'm a big fan of hammerspoon, but not so much Lua. I also use emacs with Doom, where a lot of bindings are behind a 'leader key'. I found an awesome framework called…

Graziano_M used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2016-07-14 23:23:38 UTC to 2026-05-01 19:41:12 UTC.

02462016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC101
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC606
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC413
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC303

What Hacker News says

22 sources
I have Lisp REPL loops that operate on multiple levels: - On Mac, my [Hammerspon config is in Fennel](https://github.com/agzam/spacehammer) and exposes an nrepl endpoint - I can directly inspect any UI element of any app. [Here I'm picking from visible threads from Slack App](https://imgur.com/a/1lsmejB) to open them in Emacs. I would never have done that without an LLM - not even a skill issue, it's just a bunch of tedious, manual precision calculations - LLM inspects the UI elements and grabs even the avatars to show them `hs.chooser` UI. - On Linux I have a [babashka](https://github.com/babashka/babashka) script that talks to the Hyprland compositor - I can inspect and conditionally move windows around, change display color temp, etc. - On my team we have several services written in Clojure, on SDEs and staging we exposed nrepl ports -
Read the rest
we can dynamically change things running in k8s pods. - It all gets controlled from my "operational theater" - Emacs. Not only I can change any behavior of the editor itself on the fly, I can change any aspect of my local and remote systems dynamically. This was all possible even before the LLMs. Now with AI, it's weirdly horrifying but enormously fun at the same time. I just don't understand why the majority still ignores Lisp - this is exactly the time when a PL syntax may no longer matter much anymore, but the super feature of real REPL that gives a pragmatic, incontestable edge can make a huge difference. On top of that - it was already proven that Lisp dialects are more token-efficient. I believe that, because I know first-hand how terse yet immensely effective Lisp code can be - all without getting bogged down to the cryptic level of APL.
In Show HN: I forced Claude to play Tetris in Emacs
Shameless plug/proud self-promotion - https://github.com/agzam/spacehammer "Spacemacs|Doom inspired Hammerspoon modal toolkit" I can't even work on Mac without it. It let's you do stuff like "alt+spc a b" (apps -> browser) or "alt+spc m j/k" (media -> vol up/down), or edit just about any text of any app in your editor (Emacs atm) - with all the tools you have there - spellchecking, thesaurus, translation, LLMs, etc. You can plug it to your favorite WM (I'm currently using Yabai) and do tons of other interesting things. Because it's all written in Fennel, one can develop things in a tight feedback loop with a connected REPL - e.g., I can ask Claude to inspect things in the running Slack app or Firefox and make interesting automations - all without ever leaving my editor.
In Hammerspoon
There are plenty: https://github.com/search?ref=simplesearch&q=language%3A%22F... Here's mine, https://github.com/agzam/awesomewm.d/blob/main/src/_init.fnl Beware though, I'm not highly experienced in using and configuring Awesome (especially for beautification), the code is not meant to be shared and it has tons of dirty parts (result of my experimentation), I only built what I needed for my personal use. Bigger (more public) project built on Fennel is https://github.com/agzam/spacehammer It's for Hammerspoon though, and my guess you're using Linux, not Mac. One of the aspects I still haven't figured out is the "proper Fennel REPL", it makes certain things less joyful to write or troubleshoot, but even without it, I see some benefits in using Fennel instead of Lua - it's more compact, more FP-oriented, has macros, and it's a Lisp - I can
Read the rest
use structural editing.
In The Evolution of Lisp (1993) [pdf]
I’ve been using hammerspoon for several years and it has really become integral to my workflow. You may want to check out the extension package spacehammer[0]. It includes a bunch of workflows and shortcuts that I’ve found extremely useful. Interestingly (for me at least), it’s authored in Fennel [1], a lisp that compiles to lua. I actually found spacehammer originally when I was working on converting my personal hammerspoon config to Fennel. [0] https://github.com/agzam/spacehammer [1] https://fennel-lang.org/
In Show HN: AutoHotkey for Linux
Graziano_M·Dec 13, 2021Recommendation phrase
I'm a big fan of hammerspoon, but not so much Lua. I also use emacs with Doom, where a lot of bindings are behind a 'leader key'. I found an awesome framework called 'spacehammer'[1] that fits very well into the way I like to work. It similarly hides binding behind a leader, and it's written in Fennel, a lisp that compiles to Lua. I feel like I get to expand the customizability of Emacs out to my whole system and I love it. Hammerspoon is pretty bare on its own so I suggest you check out spacehammer even if it's just a show case of the potential of hammerspoon. [1] https://github.com/agzam/spacehammer
In Hammerspoon – Lua-based powerful tool automation of macOS
> Not having a general text editor at your disposal for when you have to input/manage loads of text is like being a carpenter and only having a hammer in the toolbox. Once I learned Emacs to the sufficient level, I felt that. Today, I can't even imagine typing any text in anything else but Emacs. Having all the tools you need at your disposal - spellchecking, thesaurus, dictionary, word lookup, translation, etc., feels extremely empowering. My work machine is a Mac. I have written this¹, mainly to integrate with Emacs. Whenever I need to type anything longer than four words, in any program, I use that. The idea is simple - to copy existing text, call emacsclient, it invokes a function that opens a buffer and pastes the text into it. Then you edit the text in Emacs, press dedicated key-sequence - it grabs the text, switches back to the pro
Read the rest
gram, pastes the text back in there. It works surprisingly well. I can for example, open Browser Dev Tools; invoke Emacs; switch to js-mode, have all the bells and whistles: syntax-highlighting, autocomplete, etc.; write some javascript; finish editing and it would paste the code back into the Dev Tools console. Sometimes I use Linux with EXWM. When I first discovered it, I got very excited. Not because now I could manage all windows through Emacs, but mostly because EXWM can "translate" and "simulate" the keys. So, for example, you can use same key-sequences that you use on Mac, but they'd translate into Linux native keys. There's no "context switching", you don't need to re-adapt to the keys all the time. It took me a few hours to learn EXWM and configure it, next day I wrote exwm-edit² Emacs package. Being able to write any kind of text in your favorite editor is truly liberating. I highly recommend trying. Be warned though - it's impossible to live without that later. The only reason I don't much use Windows these days - because I haven't yet figured out the way of doing this in Windows. Someday I will. --- ¹ https://github.com/agzam/spacehammer ² https://github.com/agzam/exwm-edit
In IRC and Emacs all the things

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.