Gistie is an open source [Git]-based pastebin implementation that enables sharing snippets(aka Gist) using simple web UI. Every Gist is a Git repository thus versioned and cloneable. Heavily inspired by gist.github.com
as of v0.1
:
- Create, Edit, Delete Gists
- Revision browsing
- Cloneable (served by git-daemon)
- public by default
- Raw view
- syntax highlight with pygments (filename based detection)
- Fork
- Markup(markdown) rendering
- Search
- Binary support
- Inline image
- Accounts
- Private gists
- Commenting
- "Code Review"
Gistie is based on Ruby on Rails, Sqlite, Libgit2 and Pygments(requires Python installed).
git clone https://github.com/gmarik/Gistie
cd Gistie && bundle install
rake db:create db:migrate
rails server
run
git-daemon --user=nobody --export-all --base-path=/path/to/Gistie/repos_production
cd Gistie
rake db:test:clone_structure
rspec spec
Please see LICENSE for licensing details.
Maryan Hratson aka @gmarik
- contact: @gmarik