Re:Show HN: Codervault – Open-Source, Self-Hosted Snippet Ma...
by SalGnt on Wednesday August 31, 2016 @08:17AM
(#12397689)
I 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!
[ Parent
| on HN ]
Re:Show HN: Codervault – Open-Source, Self-Hosted Snippet Ma...
by stephenr on Wednesday August 31, 2016 @08:37AM
(#12397806)
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 Ma...
by SalGnt on Wednesday August 31, 2016 @09:06AM
(#12397971)
I don't know if Rails allows to do this, but I'll try, thanks.
Re:Show HN: Codervault – Open-Source, Self-Hosted Snippet Ma...
by aaronbrethorst on Wednesday August 31, 2016 @02:21PM
(#12400346)
Well, seeing how GitHub does it...