-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snippets, Gists, Etc. feature #936
Comments
Thanks your feature request! We want users to be able edit in the web UI, so this feature may come together/after #270 |
You could potentially integrate with GitHub's gists for this. They don't charge you for them and allow you to create an unlimited amount. However I can understand that not everyone wants to give their data to GitHub. |
the feature request was to add a feature like github gists or gitlab snippets, not supplant it using one of those existing solutions by other providers - ie. add it as a feature to gogs - I already use gists regularly and see it as a great feature for gogs |
I am aware of what the request was. I'm just not clear on the added benefit of adding this to Gogs versus using an existing (great) solution. The only thing I can think of is owning your own data, which I agree can be useful in some instances. |
Not sure why this isn't obvious... -private intranet
|
Pretty much agree with @robmoggach, if we wanted to use GitHub's Gists, we'd just use them. Gogs can end up on a system behind a firewall that can't push things to GitHub (one of the benefits of a self-hosted solution), so of course this needs to be standalone. |
thanks... shouldn't really be a discussion but good to have some backup. Robert Moggach On Sun, Apr 19, 2015 at 7:51 PM, William Roush [email protected]
|
This would be a really awesome feature, nice to see it in a milestone :D |
@Kolis 😄 |
We would also use this feature internally. It'd be nice if multiple "files" could be added to a snippet like Github does with its Gists. That would also be a real advantage over GitLab. IMHO they only allow adding of one file per snippet. |
👍 +1 with love |
+1 |
+1 :) |
+1 👍 |
+1 |
+1. I need to learn Go man :) |
+1 |
+1 |
+1 Any info about it? Thank you! |
Any update for gist? |
Everyone seems to be expecting this (it would be a very nice addition!), but no one is sending in any PR to contribute. I do not have knowledge of Please, learn how to use issues on GitHub. This isn't Facebook, nor Twitter. Your |
@Fastidious agreed, although I think they are trying to bump the issue so that devs would see it. Even so it is very annoying. I am the owner/creator of https://comp.st and https://pst.sh, an anonymous command line pastebin (which itself is written in go, see https://comp.st/SOURCE?go). I'll work on a paste section for gogs. How does github store gists? I could either store it in a fs based db lke comp.st, or I could store gists in a single git repo (which could be useful for batch downloading a user's gists) |
@The5heepDev I can't say I know how github stores gists but I personally think storing them in a single git repo would be good for exactly the reason you mentioned. Batch download as well as the potential to just clone your gists locally would be compelling features -- for me, at least. In the end, the only difference between the gists repo and your other repos would be how it's presented. |
Storing gists in a single repository would be the way to go. How goes progress, @The5heepDev? |
@Fastidious hey sorry I've been swamped lately. I'm setting up a testing environment right now, though! |
@Fastidious I have a (somewhat hacky) setup for pastes on my fork. https://github.com/The5heepDev/gogs/tree/develop Here's some screenshots: |
@The5heepDev it is a start! |
Most of yesterday was just getting a hang of how gogs is doing routing and figuring out the template logic I currently am just using the repo templates with |
any progress? |
+1 |
Any news on this one? |
+1, another ping in case it get lost in 2021 😃 |
👍
Le mer. 3 févr. 2021 à 14:27, Tim Zhang <[email protected]> a écrit :
… +1, another ping in case it get lost in 2021 😃
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#936 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHKAV4RKWWDXSFXBXG7BTS5FFNBANCNFSM4A327E4A>
.
|
+1 |
2 similar comments
+1 |
+1 |
putting a +1 here because I want some thumbs down. yeah baby hit me. |
+1 letsgooo |
+1 lets gooooo |
+1 |
+1 As github gets worse and worse, I hope this can be added soon |
+1 It would be awesome! |
@ulissesjdeo first +1 in 2024 since 2022 so i'll repeat my +1 just to reassure the devs |
Would be great to see a snippets feature added like github gists or gitlab snippets... It's an invaluable tool when you don't want a full blown repo.
The text was updated successfully, but these errors were encountered: