{"id":22425220,"url":"https://github.com/aamnah/sublime-text-snippets","last_synced_at":"2026-02-06T07:02:35.515Z","repository":{"id":249452292,"uuid":"831554761","full_name":"aamnah/sublime-text-snippets","owner":"aamnah","description":"Snippets for Sublime Text ","archived":false,"fork":false,"pushed_at":"2025-01-31T21:02:54.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T09:17:15.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/aamnah.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-07-20T22:55:31.000Z","updated_at":"2025-01-31T21:02:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cfbf91e-26db-43d0-88d9-3143d1faf971","html_url":"https://github.com/aamnah/sublime-text-snippets","commit_stats":null,"previous_names":["aamnah/sublime-text-snippets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aamnah/sublime-text-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnah%2Fsublime-text-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnah%2Fsublime-text-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnah%2Fsublime-text-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnah%2Fsublime-text-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aamnah","download_url":"https://codeload.github.com/aamnah/sublime-text-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnah%2Fsublime-text-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-12-05T19:13:33.349Z","updated_at":"2026-02-06T07:02:35.474Z","avatar_url":"https://github.com/aamnah.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snippets for Sublime Text \n\nTested with Sublime Text 4\n\n## slug.sublime-snippet\ntrigger: `slug`\n\nConverts filename to a slug that can be used inside a URL. Replace spaces with dashes, convert characters to lowercase and remove file extension\n\n```\nai-image-generation.md -\u003e ai-image-generation\nOnline card payments.md -\u003e online-card-payments\nsome Random FIle NAME with blah.txt -\u003e some-random-file-name-with-blah\n```\n\n## yaml-metadata.sublime-snippet\ntrigger: `meta`\n\nGenerates a YAML frontmatter block. Using this for markdown notes for Hugo. Not very effective since date is not available inside snippets. The only variable that is somewhat useful is `{$TM_FILENAME}` which is being used to generate a value for _slug_ and placeholder as a value for _title_\n\n```yaml\n---\ntitle: Based On Filename\ndate: \nuuid: \nslug: based-on-filename\ndraft: true\ndescription: \ntags:\n---\n```\n\nTitle:\n- replace `-` and `_` with a space\n- uppercase the first character of the word\n- remove file extension\n\nSlug:\n- replace spaces with `-`\n- lowercase all characters\n- remove file extension\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamnah%2Fsublime-text-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faamnah%2Fsublime-text-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamnah%2Fsublime-text-snippets/lists"}