{"id":13903195,"url":"https://github.com/lemoony/snipkit","last_synced_at":"2026-01-04T18:14:24.649Z","repository":{"id":36969362,"uuid":"433753676","full_name":"lemoony/snipkit","owner":"lemoony","description":"Snippet CLI manager for quickly accessing shell snippets without leaving the terminal.","archived":false,"fork":false,"pushed_at":"2024-10-23T15:31:04.000Z","size":6427,"stargazers_count":86,"open_issues_count":13,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-23T20:34:18.016Z","etag":null,"topics":["command-line","developer-tool","developer-tools","go","macos","productivity","shell","snippets","snippets-manager","standalone"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lemoony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-01T09:01:35.000Z","updated_at":"2024-10-21T17:45:28.000Z","dependencies_parsed_at":"2024-03-28T08:09:46.475Z","dependency_job_id":"a67d676f-0773-4b24-9917-d9919120752c","html_url":"https://github.com/lemoony/snipkit","commit_stats":null,"previous_names":["lemoony/snippet-kit"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoony%2Fsnipkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoony%2Fsnipkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoony%2Fsnipkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemoony%2Fsnipkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemoony","download_url":"https://codeload.github.com/lemoony/snipkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226320947,"owners_count":17606379,"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":["command-line","developer-tool","developer-tools","go","macos","productivity","shell","snippets","snippets-manager","standalone"],"created_at":"2024-08-06T22:01:49.352Z","updated_at":"2026-01-04T18:14:24.609Z","avatar_url":"https://github.com/lemoony.png","language":"Go","funding_links":[],"categories":["shell"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e \n  \u003cimg alt=\"SnipKit Logo\" width=\"100\" src=\"./docs/images/logo.png\" /\u003e\n  \n  SnipKit - Snippet CLI manager\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eExecute the scripts saved in your favorite snippet manager or generate new scripts with the help of AI without even leaving the terminal.\n\u003c/h4\u003e\n\n\u003cp\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"clear:both\"\u003e\n  \u003ca href=\"https://go.dev/\"\u003e\u003cimg alt=\"Language\" src=\"https://img.shields.io/badge/language-Go-blue.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/lemoony/snipkit/actions/workflows/build.yml\"\u003e\u003cimg alt=\"Build\" src=\"https://github.com/lemoony/snipkit/actions/workflows/build.yml/badge.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/lemoony/snipkit\"\u003e\u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/lemoony/snipkit\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/lemoony/snipkit\"\u003e\u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/lemoony/snipkit/branch/main/graph/badge.svg?token=UOG4O1yscP\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Demo\" src=\"./docs/images/demo.gif\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://lemoony.github.io/snipkit/\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"https://chatgpt.com/g/g-A2y9cPWE7-snipkit-assistant\"\u003eSnipKit GPT\u003c/a\u003e | \u003ca href=\"https://github.com/lemoony/snipkit/releases\"\u003eChangelog\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- Generate new scripts with the help of SnipKit Assistant\n- Load snippets form an external snippet manager (filtered by tags)\n  - [SnippetsLab](https://www.renfei.org/snippets-lab/)\n  - [Snip](https://github.com/Pictarine/macos-snippets)\n  - GitHub Gist ([Example gist](https://gist.github.com/lemoony/4905e7468b8f0a7991d6122d7d09e40d))\n  - [Pet](https://github.com/knqyf263/pet)\n  - [MassCode](https://masscode.io/)\n  - File system directory\n- Search for snippets by typing\n- Parameter substitution\n- Support for different [parameter types](https://lemoony.github.io/snipkit/latest/getting-started/parameters/):\n  - Pre-defined values / Enum parameters\n  - Password (will be masked)\n  - Paths (autocomplete)\n- Themes\n  - Built-in themes (`default`, `simple`)\n  - Define custom themes\n- Root command can be adjusted (e.g. set to `print` or `exec`)\n\nInspired by [Pet](https://github.com/knqyf263/pet).\n\n### SnipKit Assistant (BETA)  🤖\n\nSnipKit Assistant lets you generate parameterized scripts based on a prompt directly from the command line.\n\n\u003e ❇️ Alternatively, you can use  [SnipKit GPT](https://chatgpt.com/g/g-A2y9cPWE7-snipkit-assistant).\n\n\u003cimg alt=\"Demo\" src=\"./docs/images/assistant/assistant.gif\" /\u003e\n\nThe assistant also allows you to save generated scripts and retry or adjust the prompt based on the script output. For more details, see the [documentation](https://lemoony.github.io/snipkit/assistant/). \n\n\u003e ⚠️ SnipKit Assistant is currently in beta for OpenAI and Gemini. A couple of improvements are already in the pipeline...\n\n### Parameters\n\nSnipKit supports different types of script parameters to ease execution:\n\n| Parameter Type    | Demo                                                                    |\n|-------------------|-------------------------------------------------------------------------|\n| Predefined values | ![Predefined Values](./docs/images/param-example-predefined-values.gif) |\n| Path              | ![Path](./docs/images/param-example-path.gif)                           |\n| Password          | ![Password](./docs/images/param-example-password.gif)                   |\n\n## Quick Start\n\nPlease also have a look at the [Documentation](\"https://lemoony.github.io/snipkit/).\n\n### Overview of all commands\n\n```sh\nsnipkit -h\n```\n### Configuration\n\n```sh \n# Create a new config\nsnipkit config init\n```\n\nAs of now, no external snippet manager is configured.\n\n```sh \n# Add an external snippet manager\nsnipkit manager add\n```\n\nYou will be presented with a list of supported managers. Pick the one you want to use. After that, you should be ready to go.\n\n### Working with snippets\n\nSearch for and execute a snippet:\n\n```\nsnipkit exec\n```\n\nSnipKit will connect to the external snippet manager configured and provide all corresponding snippets\nto you. If you don't want to execute a snippet directly but have a look at the resulting command, call `snipkit print`\ninstead.\n\n\u003e _Tip_: In order to execute snippets even faster, have a look at the \n\u003e [power setup](https://lemoony.github.io/snipkit/latest/getting-started/power-setup/) described in the documentation.\n\n## Installation\n\n### Homebrew\n\n```bash \nbrew install lemoony/tap/snipkit\n```\n\n### apt \n\n```bash \necho 'deb [trusted=yes] https://apt.fury.io/lemoony/ /' | sudo tee /etc/apt/sources.list.d/snipkit.list\nsudo apt update\nsudo apt install snipkit\n```\n\n### yum\n\n```bash \necho '[snipkit]\nname=Snipkit Private Repo\nbaseurl=https://yum.fury.io/lemoony/\nenabled=1\ngpgcheck=0' | sudo tee /etc/yum.repos.d/snipkit.repo\nsudo yum install snipkit\n```\n\n### deb, rpm and apk packages \n\nDownload the .deb, .rpm or .apk packages from [releases page](https://github.com/lemoony/snipkit/releases) and install \nthem with the appropriate tools.\n\n\n### Go\n\n```bash\ngo install github.com/lemoony/snipkit@latest\n```\n\n### Build\n\n```bash \ngit clone https://github.com/lemoony/snipkit.git\ncd snipkit \nmake build\n```\n\nAfter the build succeeds, go to `./dist` to find the binary for your operating system.\n\nYou can also build the project via Gitpod.\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lemoony/snipkit)\n\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md). \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoony%2Fsnipkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoony%2Fsnipkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoony%2Fsnipkit/lists"}