Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seratch/gistub
Sharing code snippets in-house
https://github.com/seratch/gistub
Last synced: about 2 months ago
JSON representation
Sharing code snippets in-house
- Host: GitHub
- URL: https://github.com/seratch/gistub
- Owner: seratch
- License: mit
- Archived: true
- Created: 2012-10-14T15:21:56.000Z (almost 12 years ago)
- Default Branch: develop
- Last Pushed: 2024-05-28T23:39:00.000Z (4 months ago)
- Last Synced: 2024-07-20T03:48:32.615Z (2 months ago)
- Language: Ruby
- Homepage: http://gistub.herokuapp.com/
- Size: 989 KB
- Stars: 242
- Watchers: 19
- Forks: 32
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Gistub : Sharing code snippets in-house
Gistub is a stand alone application for sharing snippet such as `gist.github.com`.
If you're familiar with Rails apps, you can set up Gistub in several minutes.
Many companies and organizations use Gistub for sharing code snippets safely in house.
[![Build Status](https://travis-ci.org/seratch/gistub.png)](https://travis-ci.org/seratch/gistub)
[![Coverage Status](https://coveralls.io/repos/seratch/gistub/badge.png?branch=develop)](https://coveralls.io/r/seratch/gistub?branch=develop)
[![Code Climate](https://codeclimate.com/github/seratch/gistub.png)](https://codeclimate.com/github/seratch/gistub)[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## How to use
`master` branch is always the lastest stable version.
```sh
git clone git://github.com/seratch/gistub.git -b master
cd gistub
bin/bundle install
bin/rake db:migrate
bin/rails s
```Access `http://localhost:3000/` through web browser.
## Live Demo
http://gistub.herokuapp.com/
Top page:
![top](https://raw.github.com/seratch/gistub/master/screenshot1.png)
Rich Editor with Ace:
![input](https://raw.github.com/seratch/gistub/master/screenshot2.png)
## Configuration over environment variables
Specify settings in `.bashrc` or others.
```
export GISTUB_APP_NAME="MyGistub"
export GISTUB_OPENID_IDENTIFIER=https://your_auth_server/openid/
export GISTUB_AUTO_LINK=true
export GISTUB_ALLOWS_ANONYMOUS=false
export GISTUB_SECRET_TOKEN=xxx...
export GISTUB_SECRET_KEY_BASE=yyy...
```## Gistub Tools
### For Emacs users
https://github.com/tototoshi/gistub-el
### For Vimmers
https://github.com/glidenote/nogistub.vim
## License
(The MIT License)
Copyright (c) 2012 Kazuhiro Sera