{"id":13902550,"url":"https://github.com/0xMukesh/snipli","last_synced_at":"2025-07-18T00:31:39.210Z","repository":{"id":37022336,"uuid":"482454492","full_name":"0xMukesh/snipli","owner":"0xMukesh","description":"✨ A command-line interface for quickly sharing code snippets of your local files","archived":false,"fork":false,"pushed_at":"2023-04-01T13:03:47.000Z","size":574,"stargazers_count":147,"open_issues_count":26,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T02:41:50.520Z","etag":null,"topics":["cli","gist","oclif","typescript"],"latest_commit_sha":null,"homepage":"https://www.snipli.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xMukesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-04-17T07:16:16.000Z","updated_at":"2024-09-26T02:46:34.000Z","dependencies_parsed_at":"2024-03-30T23:32:38.062Z","dependency_job_id":"b64b827f-e56b-4448-a647-c80673ddb4b3","html_url":"https://github.com/0xMukesh/snipli","commit_stats":null,"previous_names":["kira272921/snipli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMukesh%2Fsnipli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMukesh%2Fsnipli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMukesh%2Fsnipli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMukesh%2Fsnipli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xMukesh","download_url":"https://codeload.github.com/0xMukesh/snipli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226310620,"owners_count":17604615,"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":["cli","gist","oclif","typescript"],"created_at":"2024-08-06T22:01:12.348Z","updated_at":"2024-11-25T10:32:15.767Z","avatar_url":"https://github.com/0xMukesh.png","language":"TypeScript","funding_links":[],"categories":["cli","TypeScript"],"sub_categories":[],"readme":"# 🦄 snipli\n\n![](https://user-images.githubusercontent.com/90365542/166135580-7483919c-c44e-45be-bdf0-3b259292f341.png)\n\n\u003ca href=\"https://www.producthunt.com/posts/snipli?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-snipli\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=344997\u0026theme=dark\" alt=\"Snipli - Convert\u0026#0032;your\u0026#0032;local\u0026#0032;files\u0026#0032;into\u0026#0032;a\u0026#0032;gist\u0026#0032;in\u0026#0032;just\u0026#0032;a\u0026#0032;snap | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e \u003ca href=\"https://www.producthunt.com/posts/snipli?utm_source=badge-top-post-badge\u0026utm_medium=badge\u0026utm_souce=badge-snipli\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=344997\u0026theme=dark\u0026period=daily\" alt=\"Snipli - Convert\u0026#0032;your\u0026#0032;local\u0026#0032;files\u0026#0032;into\u0026#0032;a\u0026#0032;gist\u0026#0032;in\u0026#0032;just\u0026#0032;a\u0026#0032;snap | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n✨ A command-line interface for quickly sharing code snippets for your local files\n\n- [Usage](#usage)\n- [Commands](#commands)\n\n# Usage\n\n```bash\n$ npm install -g snipli\n$ snipli COMMAND\nRunning command...\n$ snipli (--version)\nsnipli/1.0.0 win32-x64 node-v16.13.0\n$ snipli --help [COMMAND]\nUSAGE\n  $ snipli COMMAND\n...\n```\n\n# Commands\n\n- [`snipli create`](#snipli-create)\n- [`snipli delete`](#snipli-delete)\n- [`snipli edit`](#snipli-edit)\n- [`snipli help [COMMAND]`](#snipli-help-command)\n- [`snipli id`](#snipli-id)\n- [`snipli login`](#snipli-login)\n- [`snipli logout`](#snipli-logout)\n- [`snipli read`](#snipli-read)\n- [`snipli whoami`](#snipli-whoami)\n\n## `snipli create`\n\n🦄 Create a new snippet of your local file on gist.github.com\n\n```\nUSAGE\n  $ snipli create -f \u003cvalue\u003e -d \u003cvalue\u003e [-p]\n\nFLAGS\n  -d, --description=\u003cvalue\u003e  (required) Description of the gist\n  -f, --file=\u003cvalue\u003e         (required) Path to the file of which you want to create a gist\n  -p, --[no-]public          Whether the gist should be public or not\n\nDESCRIPTION\n  🦄 Create a new snippet of your local file on gist.github.com\n\nEXAMPLES\n  $ snipli create --file=code.ts --description='Need help at line 59 of file code.ts' --public\n```\n\n## `snipli delete`\n\n🚚 Delete a gist\n\n```\nUSAGE\n  $ snipli delete -i \u003cvalue\u003e\n\nFLAGS\n  -i, --id=\u003cvalue\u003e  (required) ID of the gist which is to be deleted\n\nDESCRIPTION\n  🚚 Delete a gist\n\nEXAMPLES\n  $ snipli delete --id=bfce776b3ad1145f764d89c296fec605\n```\n\n## `snipli edit`\n\n✏ Edit an existing gist\n\n```\nUSAGE\n  $ snipli edit -i \u003cvalue\u003e -f \u003cvalue\u003e -d \u003cvalue\u003e [-p]\n\nFLAGS\n  -d, --description=\u003cvalue\u003e  (required) The description of the Gist\n  -f, --file=\u003cvalue\u003e         (required) The path of the file which has the edited content\n  -i, --id=\u003cvalue\u003e           (required) ID of the Gist which you are going to edit\n  -p, --[no-]public          Whether the Gist is public or not\n\nDESCRIPTION\n  ✏ Edit an existing gist\n\nEXAMPLES\n  $ snipli edit --id=ca22a324f761cd241ace4c9a35286496 --file=updated-code.ts --description='Updated the code' --public\n```\n\n## `snipli help [COMMAND]`\n\nDisplay help for snipli.\n\n```\nUSAGE\n  $ snipli help [COMMAND] [-n]\n\nARGUMENTS\n  COMMAND  Command to show help for.\n\nFLAGS\n  -n, --nested-commands  Include all nested commands in the output.\n\nDESCRIPTION\n  Display help for snipli.\n```\n\n## `snipli id`\n\n💡 Get the ID of a gist from it's link\n\n```\nUSAGE\n  $ snipli id -l \u003cvalue\u003e\n\nFLAGS\n  -l, --link=\u003cvalue\u003e  (required) Link of the gist\n\nDESCRIPTION\n  💡 Get the ID of a gist from it's link\n\nEXAMPLES\n  $ snipli id --link=https://gist.github.com/Kira272921/bfce776b3ad1145f764d89c296fec605\n```\n\n## `snipli login`\n\n🔑 Login into snipli via GitHub\n\n```\nUSAGE\n  $ snipli login\n\nDESCRIPTION\n  🔑 Login into snipli via GitHub\n\nEXAMPLES\n  $ snipli login\n```\n\n## `snipli logout`\n\n📤 Logout from snipli\n\n```\nUSAGE\n  $ snipli logout\n\nDESCRIPTION\n  📤 Logout from snipli\n\nEXAMPLES\n  $ snipli logout\n```\n\n## `snipli read`\n\n📖 Read a gist locally using the configured editor \n\n```\nUSAGE\n  $ snipli read -i \u003cvalue\u003e\n\nFLAGS\n  -i, --id=\u003cvalue\u003e  (required) ID of the Gist\n\nDESCRIPTION\n  📖 Read a gist locally using the configured editor \n\nEXAMPLES\n  $ snipli read --id=ca22a324f761cd241ace4c9a35286496\n```\n\n## `snipli whoami`\n\n👀 Get the info about the logged in user\n\n```\nUSAGE\n  $ snipli whoami\n\nDESCRIPTION\n  👀 Get the info about the logged in user\n\nEXAMPLES\n  $ snipli whoami\n```\n\n## Authors\n\n### Mukesh\n\n- Twitter: [@0xMukesh](https://twitter.com/0xMukesh)\n\n### Avneesh Agarwal\n\n- Website: https://www.avneesh.tech/\n- Twitter: [@avneesh0612](https://twitter.com/avneesh0612)\n- Github: [@avneesh0612](https://github.com/avneesh0612)\n- LinkedIn: [@avneesh0612](https://www.linkedin.com/in/avneesh0612)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xMukesh%2Fsnipli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xMukesh%2Fsnipli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xMukesh%2Fsnipli/lists"}