Giter Site home page Giter Site logo

Support private gists about gistio HOT 21 OPEN

divideby0 avatar divideby0 commented on June 7, 2024
Support private gists

from gistio.

Comments (21)

divideby0 avatar divideby0 commented on June 7, 2024

It would appear that this is due to the routes taking an int as the gist id. As far as I can tell, private gists don't have a numeric id, but can only be referenced via hash.

from gistio.

tobiastom avatar tobiastom commented on June 7, 2024

I would also appreciate this feature. Sometimes you might want beautiful texts, but not have them appear in your gist timeline.

from gistio.

idan avatar idan commented on June 7, 2024

Will have a think about it. Right now the service explicitly only supports public gists.

from gistio.

vlucas avatar vlucas commented on June 7, 2024

If you do eventually support this, make sure to add the appropriate tags and HTTP headers so the content will not get cached or crawled by search engines: http://www.i18nguy.com/markup/metatags.html

from gistio.

divideby0 avatar divideby0 commented on June 7, 2024

It might also be enabled as an option via configuration, in case someone wants to run a private-label gist.io on their own site, linking only to their own private gists.

from gistio.

franciscolourenco avatar franciscolourenco commented on June 7, 2024

+1

from gistio.

joallard avatar joallard commented on June 7, 2024

I've polled the Github API, and it works the same with getting public and private Gists.

So if I understand correctly, we just have to make the routes accept a hash and put a Robots:none header and that's it? Or am I missing something else here?

from gistio.

divideby0 avatar divideby0 commented on June 7, 2024

That is correct. I wound up implementing this in a grails project as I
needed the feature on a public website and can confirm this approach works.

Sent from my iPad

On Nov 25, 2012, at 11:17 AM, Jonathan Allard [email protected]
wrote:

I've polled the Github API, and it works the same with getting public and
private Gists.

So if I understand correctly, we just have to make the routes accept a hash
and put a Robots:none header and that's it? Or am I missing something else
here?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/17#issuecomment-10695722.

from gistio.

shortcircuit3 avatar shortcircuit3 commented on June 7, 2024

Was this pull request accepted? I would also appreciate this feature. Merge!

from gistio.

joallard avatar joallard commented on June 7, 2024

@milesalex The maintainer hasn't responded

from gistio.

shortcircuit3 avatar shortcircuit3 commented on June 7, 2024

@idan - Please?!

from gistio.

idan avatar idan commented on June 7, 2024

I'm planning on implementing this, but a lot of changes under the hood will render #51 moot.

from gistio.

darvin avatar darvin commented on June 7, 2024

Please support it

from gistio.

idan avatar idan commented on June 7, 2024

Working on it :)
On Sep 23, 2013 10:08 AM, "Sergey Klimov" [email protected] wrote:

Please support it


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-24902076
.

from gistio.

jvns avatar jvns commented on June 7, 2024

It would be amazing if gist.io supported private gists :)

from gistio.

jvns avatar jvns commented on June 7, 2024

Is there anything I could do to help this to happen?

from gistio.

joallard avatar joallard commented on June 7, 2024

It's now been a year my rejected pull request has been submitted.

from gistio.

shortcircuit3 avatar shortcircuit3 commented on June 7, 2024

@joallard You should make a fork and host it on your own! Call it gist2.io!

from gistio.

datenreisender avatar datenreisender commented on June 7, 2024

Sadly gist.io is not just having problems with private gists. At the moment it also cannot handle gists that once where private but then turned public.

This is, what I just tried with https://gist.github.com/datenreisender/0128e842631b1c0b908f . After making it public I wanted to create a nice gist.io link for it but then discovered that http://gist.io/0128e842631b1c0b908f does not work.

Only way for me to solve it would be to copy the content into a new gist that was public from the beginning on. But since this does not fit my workflow I rather abstained from creating a gist.io link.

from gistio.

x3ro avatar x3ro commented on June 7, 2024

@datenreisender You could try draft.sx (disclaimer: my own fork). I would normally not announce that here, but since @idan seems to have abandoned the project...

from gistio.

Potherca avatar Potherca commented on June 7, 2024

@idan ✔️ Issue can be closed.

Working URLs:


Regarding

If you do eventually support this, make sure to add the appropriate tags and HTTP headers so the content will not get cached or crawled by search engines

or

a robots:none header

I'd suggest opening a dedicated issue for that if it is (still) desirable.

from gistio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.