Skip to content
forked from gmarik/Gistie

Gistie is an open source Git-based pastebin implementation that enables sharing snippets(aka Gist) using simple web UI.

License

Notifications You must be signed in to change notification settings

StGerman/Gistie

 
 

Repository files navigation

Gistie

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

Gistie

Features

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)

TODO

  • Fork
  • Markup(markdown) rendering
  • Search
  • Binary support
  • Inline image
  • Accounts
  • Private gists
  • Commenting
  • "Code Review"

Installation

Gistie is based on Ruby on Rails, Sqlite, Libgit2 and Pygments(requires Python installed).

  1. git clone https://github.com/gmarik/Gistie
  2. cd Gistie && bundle install
  3. rake db:create db:migrate
  4. rails server

Making repos cloneable

run

git-daemon --user=nobody --export-all --base-path=/path/to/Gistie/repos_production

Testing

  1. cd Gistie
  2. rake db:test:clone_structure
  3. rspec spec

License

Please see LICENSE for licensing details.

Author

Maryan Hratson aka @gmarik

About

Gistie is an open source Git-based pastebin implementation that enables sharing snippets(aka Gist) using simple web UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 65.8%
  • HTML 16.5%
  • CSS 8.8%
  • JavaScript 8.8%
  • CoffeeScript 0.1%