问题
gist.github.com is incredibly handy, but I'd like to be able run something similar for sharing code samples internally with other developers behind the firewall where I work, so I don't constantly need to be sanitising my code all the time, just to talk about code examples.
Does anything like this exist?
I'm not after big project management tools, just a way to make throwaway gists, and share links easily, that also happen to be git repos, just like gist.github.com
回答1:
You may check pastgit: git backed paste server (gist python clone)
https://github.com/mmikulicic/pastgit
Also gitpaste: (another gist clone based on Django)
https://github.com/justinvh/gitpaste
回答2:
Self-hosted, git-based pastebin in PHP: https://github.com/cweiske/phorkie
回答3:
The killer feature of github's gists in my opinion is their Git integration. You can clone your gists, version control them etc.
If you need just need something to collaborate, you can choose one of the open source pastebins and make an install locally inside your intranet. One that comes to mind is dpaste.
回答4:
Gistfy can be hosted on your own server, it just need node.js.
来源:https://stackoverflow.com/questions/3924752/is-there-an-internal-alternative-to-gist-github-com-to-run-behind-a-firewall