https://github.com/joequery/snipsnip
Local code snippet database run from your terminal. (Work in progress)
https://github.com/joequery/snipsnip
Last synced: over 1 year ago
JSON representation
Local code snippet database run from your terminal. (Work in progress)
- Host: GitHub
- URL: https://github.com/joequery/snipsnip
- Owner: joequery
- Created: 2011-12-08T23:54:52.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-10T07:09:13.000Z (about 14 years ago)
- Last Synced: 2025-01-07T00:56:31.803Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 203 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SnipSnip - Local Code Snippet Storage!
======================================
SnipSnip aims to achieve the following:
* Prevent Googling for the same code snippet more than once
* Provide a terminal-based code snippet solution so you can stay
in the zone
* Allow for programmers to learn languages easier by building
their own reference
* Find 90% of desired code snippets in less than 5 seconds to
keep you moving.
## Requirements
* Python 2.6+
* *NIX/OS X operating system
## Installation
git clone git://github.com/joequery/SnipSnip.git
cd SnipSnip
sudo python setup.py install
This installs the snipsnip script and creates a ~/.snipsnip directory.
Since SnipSnip will need to create an index, the ~/.snipsnip directory will
need appropriate permissions.
sudo chmod -R 777 ~/.snipsnip
## Usage
run `snipsnip` from the terminal. Before you can create a code snippet, you
need to create programming language/frameworks categories by going to
`Manage languages -> Add language`. After you have created your categories,
you can begin creating and searching for code snippets. A more detailed
how-to guide is in the works!