{"id":26670777,"url":"https://github.com/crbroughton/htmx-attributes","last_synced_at":"2025-04-12T03:14:08.294Z","repository":{"id":214874044,"uuid":"737525480","full_name":"CRBroughton/htmx-attributes","owner":"CRBroughton","description":"HTMX attribute support for VSCode, enabling your HTMX workflow.","archived":false,"fork":false,"pushed_at":"2024-09-13T20:01:47.000Z","size":286,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T03:14:04.238Z","etag":null,"topics":["astro","astrojs","go","golang","html","htmx","htmx-extension","jsx","php","tsx","vscode","vscode-extension","vscode-snippets"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=CraigRBroughton.htmx-attributes","language":"HTML","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/CRBroughton.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-12-31T11:32:58.000Z","updated_at":"2025-04-09T10:28:20.000Z","dependencies_parsed_at":"2024-03-16T10:27:05.697Z","dependency_job_id":"c3918718-98d6-4f87-94ba-0c6cd318c329","html_url":"https://github.com/CRBroughton/htmx-attributes","commit_stats":null,"previous_names":["crbroughton/htmx-attributes"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CRBroughton%2Fhtmx-attributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CRBroughton%2Fhtmx-attributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CRBroughton%2Fhtmx-attributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CRBroughton%2Fhtmx-attributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CRBroughton","download_url":"https://codeload.github.com/CRBroughton/htmx-attributes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116130,"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":["astro","astrojs","go","golang","html","htmx","htmx-extension","jsx","php","tsx","vscode","vscode-extension","vscode-snippets"],"created_at":"2025-03-25T22:46:23.080Z","updated_at":"2025-04-12T03:14:08.269Z","avatar_url":"https://github.com/CRBroughton.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# htmx-attributes\n\nHTMX attribute support for VSCode, enabling your HTMX workflow. HTMX attributes are currently supported in:\n\n- HTML\n- Astro\n- JSX\n- TSX\n- Go (via [Templ](https://github.com/a-h/templ))\n- Rust (have tested with [Warp](https://github.com/seanmonstar/warp) + [Tokio](https://tokio.rs/) + [Askama](https://github.com/djc/askama), see tests folder)\n- Gleam (via [Matcha](https://github.com/michaeljones/matcha))\n- PHP (Not extensively tested, but seems to work fine)\n- Python via Django/Jinja2 templates (Not personally tested)\n\n\u003cimg src=\"screenshot.png\" /\u003e\n\n### Contributions\n\nTo contribute a language, do the following:\n- Copy over the existing snippet examples:\n    - The 'core' snippet feature HTMX's core attributes.\n    - The 'add' snippet features HTMX's additional attributes.\n- Rename the files with the language you wish to support (htmx-add-elixir.json as an example)\n- Make an entry in the `package.json` file for your language of choice for both snippet files.\n- Make any required adjustments to the snippets for your language.\n- Create a test file in the `tests` folder; This is purely for manual\ntesting before you raise a PR.\n- Include an appropriate changeset for your modification before raising a PR.\n\nTo install dependencies (ensure you have `vsce` installed):\n\n```bash\nbun install\n```\n\nTo build the extension and test it:\n\n```bash\nbun run build\n```\n\nThis project was created using `bun init` in bun v1.0.14. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrbroughton%2Fhtmx-attributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrbroughton%2Fhtmx-attributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrbroughton%2Fhtmx-attributes/lists"}