Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
1–10 of 13 posts
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#2Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#3I created this snippet manager because I never found a similar one around the internet. This is my first experience with Rails, what I want with this project is to learn more about this framework. Feel free to give me your feedback, thanks!
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).
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#4Show HN guidelines: https://news.ycombinator.com/showhn.html
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#5If it meets the guidelines and intent, this might make a good 'Show HN'. Show HN guidelines: https://news.ycombinator.com/showhn.html
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#6I created this snippet manager because I never found a similar one around the internet. This is my first experience with Rails, what I want with this project is to learn more about this framework. Feel free to give me your feedback, thanks!
I notice you have "versioning" on your todo list. 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).
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#7Earlier quoted context omitted.
I notice you have "versioning" on your todo list. 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).
I don't know if Rails allows to do this, but I'll try, thanks.
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#8Earlier quoted context omitted.
I notice you have "versioning" on your todo list. 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).
I don't know if Rails allows to do this, but I'll try, thanks.
Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#9Re: Show HN: Codervault – Open-Source, Self-Hosted Snippet Manager
#10If 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.