Hello fellow selfhosters,
Last December, I shared a self-hosted snippet manager called Snipo here, followed by a release announcement. I posted another update in January when I started experimenting with a terminal client and a browser extension, but haven't posted about it here since. The project hasn't gone away. There have been several releases since then, so here is where things stand.
For folks who missed the original announcement, I used to rely on Snibox for managing my snippets. When it stopped being maintained, I couldn't find an alternative that suited me, so I built Snipo. I didn't need multiple users, team collaboration or a separate database server. I just wanted somewhere to store the code, shell commands, configuration files and small scripts that I accumulate over time, in a simple manager that I enjoy using myself.
A disclosure about development: As I mentioned in my original post, Snipo is developed with the assistance of AI coding agents. They generate implementation code, not just documentation or boilerplate. I make the design and architectural decisions, carefully review the generated changes and maintain the resulting codebase. I don't want to misrepresent how the software is developed. I also used AI to help edit this post.
So, what has changed?
I mostly worked on core snippet management and tried to stay compatible with existing installations. The main changes:
- Managing snippets: Snippets now have a proper trash mechanism, improved revision history and restoration, and optional expiration dates that automatically archive them. You can also copy code with its syntax highlighting intact for pasting into documents as rich text.
- GitHub Gist: The GitHub Gist integration has evolved into two-way synchronization with configurable conflict resolution. Moving a synchronized snippet to the trash pauses synchronization rather than destroying its Gist association. Restoring it resumes synchronization, and permanently deleting it gives you control over whether the remote Gist should also be deleted.
- Editor: You can now choose between Ace, CodeMirror 6 and Monaco as your code editor. Previously, everything relied on Ace, which remains the default. CodeMirror offers a more compact editing experience, and Monaco provides some of the language assistance familiar to VS Code users. All editor assets are served by your own instance, and the alternative editors are loaded only when selected.
- Bidirectional text and Arabic: As a native Arabic speaker, this was particularly important to me. I added support for Arabic and mixed RTL/LTR text in Ace and CodeMirror, so snippets containing a mixture of Arabic, English and code are handled more naturally.
- Web interface: There are now card, list and compact views, better mobile layouts, custom CSS support and lighter previews for large snippets. There is also local draft recovery, so accidentally refreshing the page while editing doesn't necessarily mean losing your work.
The change I find most interesting is making Snipo reachable from the places where I already work (Specially that I moved from Academia to industry Job), so I don't have to open another browser tab just to save or retrieve a few lines of code. There are three companion clients. They all talk to the same server, so there is nothing extra to deploy. You only configure your instance URL and generate an API token for each (you don't re-use API keys, do you?).
- Snippy: Terminal TUI: When I last posted, Snippy was essentially a read-only terminal experiment. It now supports creating, editing, searching, filtering and deleting snippets. You can navigate individual files, copy them to your system clipboard and open their contents in your preferred
$EDITOR. It is available for Linux, macOS, and Windows, with Homebrew, deb and rpm installation options. - Browser extensions: Available for both Chrome and Firefox. You can select text or code on a webpage and save it directly to your instance, either immediately or through an interactive dialog where you can organize it first.
- VS Code extension: You can search, insert and save snippets directly from your editor, browse folders and tags, and access cached snippets in read-only mode when your server is unavailable.
Maintenance beyond new features
Much of the year's work wasn't features. There is now an optional hardened Docker image that runs as a non-root user without a runtime package manager. I removed several legacy code paths, consolidated the release process across the clients and regularly updated dependencies. Some months of releases were almost entirely dependency updates, security fixes and small bug fixes.
The security fixes include isolating the browser extension's save dialog from visited websites, preventing VS Code workspace configurations from redirecting your saved API token, and no longer following redirects on authenticated client requests. I also fixed incomplete backups of larger snippet collections and added validation of replacement backups before existing data is removed.
The complete changelog and the security model, including its limitations, are publicly documented.
What didn't change?
Snipo is still written in Go, uses SQLite and is intentionally single-user. It is AGPL-3.0 licensed, and there are no paid features. You can export your data as JSON or ZIP, encrypt your backups and send them to S3-compatible storage.
Snibox going unmaintained is why I care about data portability, especially for software maintained by individuals. I intend to keep maintaining Snipo, but nobody's access to their own data should depend on my availability, interest or ability to do so indefinitely. The source code is available, the database is SQLite, and exports are built in.
I don't plan to turn Snipo into a team productivity project, introduce a subscription model or add features for the sake of having more of them. I would rather keep a small application that does its job well and that I can reasonably maintain over the long term.
If you installed Snipo after my posts last December or January and still use it, I'd particularly like to hear how it has held up. What works well for you? What still gets in your way? And if you tried it and stopped, I'm equally interested in why.
Thanks to everyone who reported bugs or suggested improvements this year. It has been nice to see something I originally built for myself become useful to other people.