paste-sloth: One Chord Pastes Clipboard Text Restructured by a Local 1-Bit Gemma

paste-sloth is a background tool that restructures messy clipboard text, such as CSV into a markdown table or JSON into pretty-printed form, when the user presses Ctrl+Space+V. The cleaned output is generated by a small Gemma model and pasted directly into the focused window, replacing a manual copy-to-chat workflow. The author designed the key chord to avoid firing during normal typing, and forwards the Space key to other apps if it is not part of the chord. A safeguard checks the model's output and rejects it if it contains numbers absent from the input, since invented figures are considered the worst failure, while dropping numbers is allowed. The project offers a one-line installer that can set up a local Ollama-based 1-bit Gemma model, and it was submitted to the Hacktoberfest Open-Source AI Challenge.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in