• Here's the Gist of it

    defunkt Jul 21

    Pasting has become a huge part of our workflow. We use it daily, but find most paste tools slightly wanting. We’d love versioning. We’d love SSL on our private pastes. We’d love to fork existing pastes. And you know what, we’d love to push and pull our pastes using Git.

    Well, say hello to Gist.

    It’s all those things and will soon be more. We’ve been working hard on it and hope you like.

    • Comments

    • britt about 2 hours later

      Very nice. The only thing it lacks is a JavaScript snippet for re-pasting elsewhere.

    • Oompa about 3 hours later

      Pretty awesome! Keep up the great work.

    • klondike about 4 hours later

      I think I git the gist of it.

    • trey about 5 hours later

      I love it. Is there going to be a way to delete gits, though?

    • trey about 5 hours later

      Or gists, even.

    • mattiasjub about 14 hours later

      Oh, THIS IS NICE!!

      You should add javascript embeds (for blogs and such) /w code highlighting to make this really, really killer. Please!

    • kamu about 17 hours later

      This is great stuff.

      Will we be seeing Diffs between revisions?

      Thanks for making this public.

    • ichverstehe about 18 hours later

      It would be great if it could be possible to paste from command line. Would that be possible?

    • dag about 18 hours later

      Cool, now enable comments, line-linking and deletion. :)

    • ichverstehe about 18 hours later

      It’s git, you know, so to delete a paste:

      git push origin :master

    • hans about 20 hours later

      If anyone is interested, I’m working on a command-line tool to post Gists here.

    • trey about 20 hours later

      Every time I delete a gist like ichverstehe mentioned, I get this gist in my /mine list: http://gist.github.com/347

    • hans about 20 hours later

      Just realized my mistake – I can’t make this commandline tool unless there’s an API. Sorry, guys. Was thinking about using Net::HTTP, but I’d need to get cookies for that to work.

    • defunkt about 20 hours later

      @hansengel API coming soon!

    • hans about 21 hours later

      @defunkt Awesome. :P

    • dag 1 day later

      @hansengel GitHub not enforcing a CAPTCHA on the login, there’s nothing stopping you from getting such cookies with Net::HTTP. Even easier: WWW::Mechanize.

    • fczuardi 1 day later

      This is great!
      Can’t wait for the API and/or Textmate integration! :)

    • pieter 1 day later

      I made a command-line paste script at http://gist.github.com/1059

    • gaubert 1 day later

      thanks again for all you did. Once we will have the little javascript helper it will be perfect.

    • hotchpotch 2 days later

      This is great!!

      I’ll management my greasemonkey scripts.

      I hope that raw download name concat filename,
      because greasemonkey scripts require extname ’.user.js’.

      example:
      http://gist.github.com/raw/1952/a5b92ec9ec7430f3c3b5e69ee4e5f6d173f35df8?gist_link_user_js.user.js

      And I hope that head raw download links.
      http://gist.github.com/raw/1952/HEAD

    • dbr 2 days later

      ..hm, is this by any chance the beginnings of the Git’ified wiki..?

    • hans 3 days later

      I like how Gist has been implemented, but I think one thing could be improved.. instead of using base10 IDs for each Gist, why not convert the IDs to base62 to save space in URLs?

    • jkramer about 1 month later

      Here’s another gist paste script using WWW::Mechanize. Have fun.

      http://gist.github.com/8131/

    • jkramer about 1 month later

      PS: Write “your-login:your-password” into ~/.gist to make it work.

    Participate

    Please log in to comment.