{"id":13815564,"url":"https://github.com/robin/chit","last_synced_at":"2025-05-15T09:32:32.826Z","repository":{"id":407752,"uuid":"26657","full_name":"robin/chit","owner":"robin","description":"a cheat sheet tool based on git","archived":false,"fork":false,"pushed_at":"2012-12-01T13:07:45.000Z","size":1306,"stargazers_count":76,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-21T14:13:19.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robin.png","metadata":{"files":{"readme":"README.markdown","changelog":"History.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-06-19T09:20:19.000Z","updated_at":"2022-06-23T07:55:47.000Z","dependencies_parsed_at":"2022-07-07T16:22:15.997Z","dependency_job_id":null,"html_url":"https://github.com/robin/chit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robin%2Fchit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robin%2Fchit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robin%2Fchit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robin%2Fchit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robin","download_url":"https://codeload.github.com/robin/chit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225342794,"owners_count":17459474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:03:36.254Z","updated_at":"2024-11-19T11:30:44.268Z","avatar_url":"https://github.com/robin.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Chit\n\nhttp://github.com/robin/chit\n\n## DESCRIPTION:\n\nChit is a command line cheat sheet utility based on git.\n\n## FEATURES:\n\nChit was inspired by 'cheat' (http://cheat.errtheblog.com/) by Chris Wanstrath. You can use chit to access and manage cheat sheets easily. \n\nThere are several differences between ‘cheat’ and ‘chit’. By using chit, besides the wonderful features of ‘cheat’, you get:\n\n1. Git powered cheat sheet repository. You can specify where you get the sheets and where to share them.\n2. Your own private cheat sheets. Everybody has some project related or smoe cheat sheets which are not mean to public. You can also put them into chit\n3. Directory support. You can group cheat sheets by directory now.\n4. One less letter to type.\n\n## SYNOPSIS:\n\nTo initialize chit repositories\n\n$ chit --init\n\nThis will be run automatically when you run chit for the first time. \n\nTo get a cheat sheet:\n\n$ chit [cheatsheet]\n\nTo edit a cheat sheet, use the --edit/-e switch.\n\n$ chit [cheatsheet] --edit\n\nTo add a cheat sheet, use the --add/-a switch.\n\n$ chit [cheatsheet] --add\n\nDuring editing a cheat sheet, empty the content will get the cheat sheet removed.\n\nA prefix '@' indicates the cheat sheet is in private mode. A private cheat sheet is kept in another repository.\n\nTo get your private cheat sheet:\n\n$ chit @[cheatsheet]\n\nThe prefix '@' works the same for both --edit/-e and --add/-a.\n\nThe cheat sheet can be in a path. For example:\n\n$ chit mysql/select\n\nwill get the cheat sheet 'select' under mysql.\n\nTo show all the cheat sheets:\n\n$ chit [all|sheets]\n\nTo show all the private cheat sheets:\n\n$ chit @[all|sheets]\n\nTo find cheat sheets begin with 'name', use the --find/-f switch\n\n$ chit name --find\n\nTo search cheat sheets content with 'text', use the --search/-s switch\n\n$ chit text --search\n\nTo move or rename a sheet, use '--mv/-m' switch\n\n$ chit zsh_if zsh/if -m\n\n## INSTALL:\n\nsudo gem install chit\n\nchit --init\n\n## CONFIGURATION:\n\nBefore run 'chit', you may want to config ~/.chitrc which is a YAML file.\n\n* root: local path to store the cheat sheet. By default, it is ~/.chit\n* add_if_not_exist: when set as 'true', if no sheets found, a new one will be created and waiting for editing. Leave it blank and quit the editor if you don't \nwant to add a new one.\n* main: \n* clone-from: where to get the public cheat sheets. You can use git://github.com/robin/chitsheet.git, which is a snap shoot of http://cheat.errtheblog.com/.\n* private:\n* clone-from: where to get the private cheat sheets. If not specified, a new git repository will be init for private cheat sheets.\n\n## REQUIREMENTS:\n\n* rubygems\n* git\n\n## LICENSE:\n\nThis software is shared by MIT License\n\nCopyright (c) 2008 Robin Lu\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## BY:\n\nRobin Lu\n\nhttp://www.robinlu.com\n\niamawalrus[at]gmail[dot]com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobin%2Fchit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobin%2Fchit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobin%2Fchit/lists"}