Firstly, thank you for this project ! This is very close to what I was looking for to self-host code-snippets.
I have 2 suggestions, if possible -
Would it be possible to have an option to hide the revisions tab for gists that are public ? Intention here is I want to be able to share only the final version of the gist. The revisions could potentially have some to-be-redacted information.
A method to group gists by type/category - either folders or labels. I tried naming the gists with a directory format, but it wouldn't take it - folder/nginx.conf
Apart from the above, I also have a question - is there a way to specify a particular language? For example, saving a file with the filename nginx-deluge.conf marks the language as 'text' for this file. Running a search for 'deluge' after saving this gist reveals that this file is detected as language 'text'. I understand nginx isn't technically a language, but this would tie in to my second point where gists can be categorized as such.
On github gists, running a search for 'nginx' shows that it has detected the language as 'nginx' for some 6k+ gists (shown in the language list on the left). I wasn't able to figure out from the gists if some specific tag or pattern was used to get this language detection, apart from having 'nginx' in the filename. Creating a new gist on github also did not show any option to specify the language, so I am not entirely sure how/why nginx shows up as a language in the search results.
I am no dev myself, so these may be wishful thinking. If so, please feel free to let me know.
Firstly, thank you for this project ! This is very close to what I was looking for to self-host code-snippets.
I have 2 suggestions, if possible -
Would it be possible to have an option to hide the revisions tab for gists that are public ? Intention here is I want to be able to share only the final version of the gist. The revisions could potentially have some to-be-redacted information.
A method to group gists by type/category - either folders or labels. I tried naming the gists with a directory format, but it wouldn't take it -
folder/nginx.conf
Apart from the above, I also have a question - is there a way to specify a particular language? For example, saving a file with the filename
nginx-deluge.conf
marks the language as 'text' for this file. Running a search for 'deluge' after saving this gist reveals that this file is detected as language 'text'. I understand nginx isn't technically a language, but this would tie in to my second point where gists can be categorized as such.On github gists, running a search for 'nginx' shows that it has detected the language as 'nginx' for some 6k+ gists (shown in the language list on the left). I wasn't able to figure out from the gists if some specific tag or pattern was used to get this language detection, apart from having 'nginx' in the filename. Creating a new gist on github also did not show any option to specify the language, so I am not entirely sure how/why nginx shows up as a language in the search results.
I am no dev myself, so these may be wishful thinking. If so, please feel free to let me know.