{"id":32816611,"url":"https://github.com/jmrashed/jmrashed-code-snippet-manager","last_synced_at":"2026-05-17T19:05:27.985Z","repository":{"id":289726103,"uuid":"869775617","full_name":"jmrashed/jmrashed-code-snippet-manager","owner":"jmrashed","description":"A simple CLI tool for managing code snippets. This package allows developers to store, categorize, and retrieve code snippets easily, enhancing productivity and organization.","archived":false,"fork":false,"pushed_at":"2024-10-08T21:40:18.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-07T07:16:54.636Z","etag":null,"topics":["cli","code","nodejs","snippets-manager"],"latest_commit_sha":null,"homepage":"https://rasheduzzaman.com","language":"JavaScript","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/jmrashed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-10-08T21:39:13.000Z","updated_at":"2024-10-08T21:41:22.000Z","dependencies_parsed_at":"2025-04-24T18:55:24.219Z","dependency_job_id":"c084870c-0b11-4d58-9e1c-1d538553567c","html_url":"https://github.com/jmrashed/jmrashed-code-snippet-manager","commit_stats":null,"previous_names":["mrzstack/jmrashed-code-snippet-manager","jmrashed/jmrashed-code-snippet-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmrashed/jmrashed-code-snippet-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Fjmrashed-code-snippet-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Fjmrashed-code-snippet-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Fjmrashed-code-snippet-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Fjmrashed-code-snippet-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrashed","download_url":"https://codeload.github.com/jmrashed/jmrashed-code-snippet-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Fjmrashed-code-snippet-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33151625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","code","nodejs","snippets-manager"],"created_at":"2025-11-07T07:04:46.509Z","updated_at":"2026-05-17T19:05:27.980Z","avatar_url":"https://github.com/jmrashed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jmrashed-code-snippet-manager\n\nA simple CLI tool for managing code snippets. This package allows developers to store, categorize, and retrieve code snippets easily, enhancing productivity and organization.\n\n## Features\n\n- **Add Snippet**: Quickly add new code snippets with associated tags.\n- **List Snippets**: View all stored snippets in a neatly formatted list.\n- **Delete Snippet**: Remove snippets by their index.\n- **Tagging**: Organize snippets with tags for easy retrieval.\n\n## Installation\n\nTo install `jmrashed-code-snippet-manager`, use npm:\n\n```bash\nnpm install -g jmrashed-code-snippet-manager\n```\n\n*Note: The `-g` flag installs the package globally, allowing you to use the CLI from anywhere in your terminal.*\n\n## Usage\n\nAfter installation, you can start managing your code snippets by running the following command:\n\n```bash\njmrashed-code-snippet-manager\n```\n\n### Commands\n\n1. **Add Snippet**: You will be prompted to enter the code snippet and its tags (comma-separated).\n2. **List Snippets**: Displays all your snippets with their respective tags.\n3. **Delete Snippet**: Prompts for the snippet number you wish to delete.\n\n## Example\n\nHere’s an example of how you might use the tool:\n\n1. Start the CLI tool:\n    ```bash\n    jmrashed-code-snippet-manager\n    ```\n   \n2. Choose **Add Snippet** from the menu and enter:\n   - Code Snippet: `console.log('Hello, World!');`\n   - Tags: `javascript, console, hello`\n   \n3. Choose **List Snippets** to see:\n   ```\n   Code Snippets:\n   1. [javascript, console, hello] console.log('Hello, World!');\n   ```\n\n4. Choose **Delete Snippet** and enter the snippet number (e.g., `1`) to remove it.\n\n## File Structure\n\nThe tool creates a `snippets.json` file in the same directory where you run the CLI. This file will store your snippets in JSON format.\n\n## Contributing\n\nContributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Author\n\n**[jmrashed](https://www.npmjs.com/~jmrashed)**\n\nFeel free to reach out with any questions or suggestions!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Fjmrashed-code-snippet-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrashed%2Fjmrashed-code-snippet-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Fjmrashed-code-snippet-manager/lists"}