Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
github.com
github.com
If I repeat myself I use a library, or a more concise language or IDE autocomplete.
On the other hand I do use Textmate's snippets feature, but those are interactive templates that I can invoke by pressing a letter and then fill them out by tabbing through them.
I would personally implement that similar to how GitHub handles Gists: make each snippet a DVCS repo with 1 or more files in it.
That provides both the versioning functionality, and opens up the possibility for client-side editing using a well-known model (clone repo, make changes, commit, push).
Show HN guidelines: https://news.ycombinator.com/showhn.html