{"id":16637344,"url":"https://github.com/chetachiezikeuzor/mysnippets-plugin","last_synced_at":"2025-08-21T02:31:01.604Z","repository":{"id":41246625,"uuid":"401838776","full_name":"chetachiezikeuzor/MySnippets-Plugin","owner":"chetachiezikeuzor","description":"MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.","archived":false,"fork":false,"pushed_at":"2024-04-24T10:12:43.000Z","size":164620,"stargazers_count":175,"open_issues_count":17,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-18T13:44:44.965Z","etag":null,"topics":["css","obsidian-md","obsidian-plugin","plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chetachiezikeuzor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"chetachiezikeuzor","ko_fi":"chetachi","custom":["https://www.buymeacoffee.com/chetachi","https://paypal.me/chelseaezikeuzor"]}},"created_at":"2021-08-31T20:45:29.000Z","updated_at":"2025-07-06T19:28:58.000Z","dependencies_parsed_at":"2024-10-25T18:30:32.057Z","dependency_job_id":"e20ccbd7-db7d-4a27-bc52-edc11b5b9586","html_url":"https://github.com/chetachiezikeuzor/MySnippets-Plugin","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/chetachiezikeuzor/MySnippets-Plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetachiezikeuzor%2FMySnippets-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetachiezikeuzor%2FMySnippets-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetachiezikeuzor%2FMySnippets-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetachiezikeuzor%2FMySnippets-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chetachiezikeuzor","download_url":"https://codeload.github.com/chetachiezikeuzor/MySnippets-Plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetachiezikeuzor%2FMySnippets-Plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271416723,"owners_count":24755939,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","obsidian-md","obsidian-plugin","plugin"],"created_at":"2024-10-12T06:25:10.069Z","updated_at":"2025-08-21T02:31:01.283Z","avatar_url":"https://github.com/chetachiezikeuzor.png","language":"TypeScript","funding_links":["https://github.com/sponsors/chetachiezikeuzor","https://ko-fi.com/chetachi","https://www.buymeacoffee.com/chetachi","https://paypal.me/chelseaezikeuzor","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"# MySnippets Plugin\r\n\r\n![MySnippets-Plugin Downloads](https://img.shields.io/github/downloads/chetachiezikeuzor/MySnippets-Plugin/total.svg)\r\n![MySnippets-Plugin Releases](https://img.shields.io/github/v/release/chetachiezikeuzor/MySnippets-Plugin)\r\n\r\n\u003cimg alt=\"mysnippets-header\" src=\"https://user-images.githubusercontent.com/79069364/144681107-0ff0aada-b8a7-4e0e-8e2d-945b0386ee2d.png\"\u003e\r\n\r\n### Status: This plugin is currently available in the Obsidian plugin store\r\n\r\nRemember that one time, where you were trying to test out a few cool and new snippets? Oh, but you had to constantly, go back and forth between workspace and settings tab just to toggle them on and off. Been there, done that… but wait! What if you could… I dunno… have your snippets right there in front of you? What if you could toggle your snippets on and off from the comfort of your workspace? That'd be super cool, right? I know! Well, you've come to the right place!\r\n\r\nMySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌. This plugin makes managing snippets a breeze with a beautiful mini menu that shows up with a click of a button!\r\n\r\n## Demo\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144683712-42da2acf-97f5-4987-9e9d-65b49560b9ec.gif\" alt=\"pick-a-snippet\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144683686-b8cfd625-e864-489d-8d0b-2fc36b7bd260.gif\" alt=\"open-menu-in-statusbar\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n## Ease of Use\r\n\r\nWe all love hacking away at Obsidian with a bunch of different snippets, but I'm willing to bet that most of us don't like having to trigger and re-trigger the settings tab just to get to our snippets. With MySnippets, we can finally access our snippets and toggle them on and off easily! Think of it as a condensed and tucked away version of the \"CSS Snippets\" section in the settings tab. I don't know about you, but when I want to edit my snippets, I don't want to have to rummage through the settings tab just to get to them! It can be distracting, a time waster, and just overall annoying! So let's end the era of `Settings \u003e Appearance \u003e CSS Snippets` and welcome the new era of \u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" stroke-width=\"0\" stroke-linecap=\"round\" stroke-linejoin=\"round\" height=\"1em\" width=\"1em\"\u003e\u003cpath d=\"M5.764 8l-.295-.73a1 1 0 0 1 .553-1.302l9.272-3.746a1 1 0 0 1 1.301.552l5.62 13.908a1 1 0 0 1-.553 1.302L12.39 21.73a1 1 0 0 1-1.302-.553L11 20.96V21H7a1 1 0 0 1-1-1v-.27l-3.35-1.353a1 1 0 0 1-.552-1.302L5.764 8zM8 19h2.209L8 13.533V19zm-2-6.244l-1.673 4.141L6 17.608v-4.852zm1.698-5.309l4.87 12.054l7.418-2.997l-4.87-12.053l-7.418 2.996zm2.978 2.033a1 1 0 1 1-.749-1.855a1 1 0 0 1 .75 1.855z\" fill=\"currentColor\"/\u003e\u003c/svg\u003e ← _Click_!\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/chetachiezikeuzor/MySnippets-Plugin/master/assets/configureSnippets.png\" width=\"280px\"\u003e\r\n\r\n## How it Works\r\n\r\nMySnippets appends a cute little status bar icon in your workspace. All you need to do is click and see all of your lovely snippets in a menu! Here, you will see two buttons to the bottom of the menu. The first is your \"Reload\" button and the second is your \"Folder\" button. Triggering \"Reload\" button will allow the plugin to reread your snippets folder, in case you have decided to create a new snippet or delete a snippet. Triggering the \"Folder\" button will open the folder that houses your snippets. These buttons mimic the functions in the settings tab.\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144683689-e125c321-8757-4afd-956a-4227b55363bf.gif\" alt=\"open-snippet-folder\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\nEach snippet item has a toggle and a button. You can use the toggle to turn your snippet off/on.\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144683712-42da2acf-97f5-4987-9e9d-65b49560b9ec.gif\" alt=\"pick-a-snippet\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\nYou can also use the button to open your snippet with your default application for CSS files.\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144683696-b8c29740-94e4-48b0-b865-b2f9f6fffd61.gif\" alt=\"open-snippet\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\nOn Mac, you can change your default application by right-clicking on any CSS file, then click \"Get info.\" Then, Go to the \"Open with\" section and choose the application you'd like to use. Use the \"Change All...\" button to set this application as your default application to open CSS files.\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/chetachiezikeuzor/MySnippets-Plugin/master/assets/defaultApp.png\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\nWith MySnippets, you can change the design aesthetic. You can choose to have a \"glass\" style for MySnippets within the settings tab, which gives it a unique and futuristic look!\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144682628-d38979c2-c0d1-4709-8ecb-d9ab72c2cb77.png\" alt=\"glass-menu\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/79069364/144682602-d31beed0-ed0e-4194-a71f-faa6a05dc945.png\" alt=\"default-menu\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n### Create New CSS Snippets\r\n\r\nVersion [1.1.0](https://github.com/chetachiezikeuzor/MySnippets-Plugin/releases/tag/1.1.0) now adds the functionality to create new CSS snippets using a modal. All you have to do is provide the name of the file and the file contents. You can also set a template for your new snippets within the settings tab. There are settings added that allow you to decide whether or not you want your new snippets to open automatically after creating them, and whether you want your snippets to be automatically toggled on after creating them.\r\n\r\n\u003cimg alt=\"create-css-snippet\" src=\"https://user-images.githubusercontent.com/79069364/144666473-1d1b40d1-9336-48b8-9de6-d2ddca651f1b.gif\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n## Installation\r\n\r\nThis plugin is now available in the community plugin store. You can install it from there and enable it. For a manual installation, you can download the necessary files and place them within your plugins folder.\r\n\r\n---\r\n\r\n## Changelog\r\n\r\n### [1.1.0](https://github.com/chetachiezikeuzor/MySnippets-Plugin/releases/tag/1.1.0) - Dec 4, 2021\r\n\r\n##### Added\r\n\r\n- Create new CSS snippets function\r\n  \u003cimg alt=\"create-css-snippet\" src=\"https://user-images.githubusercontent.com/79069364/144666473-1d1b40d1-9336-48b8-9de6-d2ddca651f1b.gif\" style=\"box-shadow: 0 2px 8px 0 var(--background-modifier-border); border-radius: 8px;\"\u003e\r\n\r\n##### Fixed\r\n\r\n- MySnippets menu positioning is now dependent on window coordinates (solves issue with hidden status bar).\r\n\r\n---\r\n\r\n## Checklist\r\n\r\n- [x] Command to open snippets menu\r\n- [x] Create new CSS snippets function\r\n\r\n---\r\n\r\n## Support\r\n\r\nIf you like this plugin and are considering donating to support continued development, use the button below!\r\n\r\nCreated with ❤️ by Chetachi\r\n\r\n\u003ca href=\"https://www.buymeacoffee.com/chetachi\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026amp;emoji=\u0026amp;slug=chetachi\u0026amp;button_colour=e3e7ef\u0026amp;font_colour=262626\u0026amp;font_family=Poppins\u0026amp;outline_colour=262626\u0026amp;coffee_colour=ff0000\"\u003e\u003c/a\u003e\r\n\r\n\u003ca href=\"https://paypal.me/chelseaezikeuzor\"\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/chetachiezikeuzor/MySnippets-Plugin/master/assets/paypal.svg\" height=\"70\"\u003e\u003c/a\u003e\r\n\u003cbr/\u003e\r\n\u003ca href=\"https://ko-fi.com/chetachi\"\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/chetachiezikeuzor/MySnippets-Plugin/master/assets/kofi_color.svg\" height=\"50\"\u003e\u003c/a\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetachiezikeuzor%2Fmysnippets-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchetachiezikeuzor%2Fmysnippets-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetachiezikeuzor%2Fmysnippets-plugin/lists"}