https://github.com/fasterthanlime/.hammerspoon
My .hammerspoon folder (minus my private keys hopefully)
https://github.com/fasterthanlime/.hammerspoon
Last synced: 11 days ago
JSON representation
My .hammerspoon folder (minus my private keys hopefully)
- Host: GitHub
- URL: https://github.com/fasterthanlime/.hammerspoon
- Owner: fasterthanlime
- Created: 2025-11-25T09:39:11.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-11T22:50:05.000Z (6 months ago)
- Last Synced: 2026-06-09T03:30:26.903Z (12 days ago)
- Language: Lua
- Size: 2.93 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# my spoons! oh, my spoons!
I just recently discovered Hammerspoon, and that it could solve:
* No matter what's in my clipboard, paste it as Markdown.
* Use a vision model to generate alt text for the image in my clipboard.
I'm sure other ideas will come up and I'm gonna collect them here. Have fun!
## Setup
Install Hammerspoon itself:
```bash
brew install --cask hammerspoon
```
Launch it once, go through the setting, enable launch it, log in, but most
importantly, give it accessibility permissions and restart it.
## Pandoc
Used to convert HTML to Markdown:
```bash
brew install pandoc
```
Note: pandoc is a beast. It's going to be slow the first time and slightly less
slow the other times. But it's also very good.
## OpenAI key
For the alt text functionality you have to give it an OpenAI key in the
Hammerspoon console, like so:
```lua
hs.settings.set("openai_api_key", "sk-your-key-here")
```
Because I'm fairly sure this is not encrypted, you might want to use a key that
has a spending limit on it.
Using OpenAI costs money. Be careful with your money.