Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claymcleod/gist-compile
"gist-compile" is a tool I created to organize my Github Gists into one, consolidated directory. Use it to organize your gists in any way that you like!
https://github.com/claymcleod/gist-compile
Last synced: 4 months ago
JSON representation
"gist-compile" is a tool I created to organize my Github Gists into one, consolidated directory. Use it to organize your gists in any way that you like!
- Host: GitHub
- URL: https://github.com/claymcleod/gist-compile
- Owner: claymcleod
- License: mit
- Created: 2015-02-18T02:21:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T23:35:21.000Z (almost 10 years ago)
- Last Synced: 2024-10-11T12:14:51.906Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 358 KB
- Stars: 29
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gist-compile
[![Join the chat at https://gitter.im/claymcleod/gist-compile](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/claymcleod/gist-compile?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Gem Version](https://badge.fury.io/rb/gist-compile.svg)](http://badge.fury.io/rb/gist-compile)
"gist-compile" is a tool I created to index your Github Gists (and the backend to a website I created, called [Gnippets](http://gnippets.com). Currently, the supported outputs are JSON, Markdown, and HTML. [View the results here](https://github.com/claymcleod/gist-compile/tree/master/gc_products). The usage is simple:
## Downloading using Rubygems
1. Install the gem using Rubygems ```gem install gist-compile```
2. Start gist-compile! ```gist-compile start -u "claymcleod"```## Downloading manually
1. Clone the repo
2. Change the gist-compile directory ```cd ```
3. Make the binary executable ```chmod +x bin/gist-compile```
4. Start gist-compile! ```bin/gist-compile start -u "claymcleod"```## Formatting your gists
Before you run gist-compile, you should format each Gist you want compiled like so:
```
# Title: Simple Ruby Datamining Example
# Authors: Clay McLeod
# Description: La tee
# da
# Section: Learning Ruby
# Subsection: Simple Examples...code...
```A few rules:
1. This comment must be at the top of your gist file (shebangs are the only thing that may go above them)
2. You must format your comment using single line comment character (multi-line comments not supported!)
3. You must include a section and a subsection.