{"id":50306303,"url":"https://github.com/mfabing/zed-htmx-snippets","last_synced_at":"2026-05-28T16:31:35.129Z","repository":{"id":314198081,"uuid":"1054553350","full_name":"mfabing/zed-htmx-snippets","owner":"mfabing","description":"HTMX (https://htmx.org) Snippets for Zed Code editor (https://zed.dev)","archived":false,"fork":false,"pushed_at":"2025-09-11T02:29:43.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T05:58:07.580Z","etag":null,"topics":["htmx","snippets","zed-editor"],"latest_commit_sha":null,"homepage":"","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/mfabing.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-11T02:28:39.000Z","updated_at":"2025-09-11T04:27:12.000Z","dependencies_parsed_at":"2025-09-11T05:58:08.979Z","dependency_job_id":"6759d21f-e577-4b76-9c2c-2d16e3734929","html_url":"https://github.com/mfabing/zed-htmx-snippets","commit_stats":null,"previous_names":["mfabing/zed-htmx-snippets"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mfabing/zed-htmx-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfabing%2Fzed-htmx-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfabing%2Fzed-htmx-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfabing%2Fzed-htmx-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfabing%2Fzed-htmx-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfabing","download_url":"https://codeload.github.com/mfabing/zed-htmx-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfabing%2Fzed-htmx-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33617718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":["htmx","snippets","zed-editor"],"created_at":"2026-05-28T16:31:34.673Z","updated_at":"2026-05-28T16:31:35.124Z","avatar_url":"https://github.com/mfabing.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Zed Snippets for  HTMX\n\nA curated collection of **Zed editor snippets** [Zed](https://zed.dev) to speed up development with [HTMX](https://htmx.org/).\n\n---\n\n## 📂 Installation\n\n1. Open Zed.\n2. Go to:  \n   **Settings → Snippets → `htmx-snippets.json`**.\n3. Copy \u0026 paste the snippets from this repo into your `htmx-snippets.json`.\n4. Save \u0026 reload Zed.  \n   Now type a prefix (like `hx-post`) and hit **Tab** to expand.\n\n### 🔗 HTMX Snippets\n\n| Prefix             | Description                                        |\n|--------------------|----------------------------------------------------|\n| `hx-get`           | Issue a GET request                                |\n| `hx-post`          | Issue a POST request                               |\n| `hx-put`           | Issue a PUT request                                |\n| `hx-delete`        | Issue a DELETE request                             |\n| `hx-patch`         | Issue a PATCH request                              |\n| `hx-trigger`       | Define an event trigger                            |\n| `hx-target`        | Specify response target                            |\n| `hx-swap`          | Control how content swaps (`innerHTML`, `outerHTML`, etc.) |\n| `hx-select`        | Select subset of response to swap in               |\n| `hx-select-oob`    | Out-of-band swap                                   |\n| `hx-vals`          | Send extra values with request                     |\n| `hx-include`       | Include another element’s values                   |\n| `hx-params`        | Control which params are submitted                 |\n| `hx-confirm`       | Confirmation dialog before request                 |\n| `hx-disable`       | Disable HTMX on an element                         |\n| `hx-boost`         | Turn links/forms into AJAX                        |\n| `hx-preserve`      | Preserve element across swaps                      |\n| `hx-replace-url`   | Replace browser URL                                |\n| `hx-push-url`      | Push URL into history                              |\n| `hx-history`       | Control history cache behavior                     |\n| `hx-indicator`     | Show loading indicator                             |\n| `hx-sync`          | Coordinate multiple requests                       |\n| `hx-ext`           | Enable HTMX extension                              |\n| `hx-example-button`| Example HTMX button (post + target + swap)         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfabing%2Fzed-htmx-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfabing%2Fzed-htmx-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfabing%2Fzed-htmx-snippets/lists"}