{"id":19049547,"url":"https://github.com/crhntr/go-htmx-examples","last_synced_at":"2025-04-24T01:20:54.310Z","repository":{"id":199566482,"uuid":"703212314","full_name":"crhntr/go-htmx-examples","owner":"crhntr","description":"Example Webapps using Go and HTMX","archived":false,"fork":false,"pushed_at":"2025-04-16T22:54:54.000Z","size":110,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T22:51:16.049Z","etag":null,"topics":["example","go","golang","hateos","htmx","picocss","sqlc","sqlite3","webapp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/crhntr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-10-10T20:08:13.000Z","updated_at":"2025-04-08T15:14:00.000Z","dependencies_parsed_at":"2024-07-10T00:18:52.787Z","dependency_job_id":"a3aeed7e-5f91-4aab-ac0c-b850c41b7dca","html_url":"https://github.com/crhntr/go-htmx-examples","commit_stats":null,"previous_names":["crhntr/go-htmx-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crhntr%2Fgo-htmx-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crhntr%2Fgo-htmx-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crhntr%2Fgo-htmx-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crhntr%2Fgo-htmx-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crhntr","download_url":"https://codeload.github.com/crhntr/go-htmx-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250541626,"owners_count":21447554,"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":["example","go","golang","hateos","htmx","picocss","sqlc","sqlite3","webapp"],"created_at":"2024-11-08T23:11:14.382Z","updated_at":"2025-04-24T01:20:54.283Z","avatar_url":"https://github.com/crhntr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Webapps using [Go](https://go.dev) and [HTMX](https://htmx.org)\n\n## Usage Summary\n\nThis table is a summary of stuff used in the various examples.\n\nAll requests are now routed with new Go 1.22 `http.ServeMux` instead of [`\"github.com/julienschmidt/httprouter\"`](github.com/julienschmidt/httprouter).\n\n| Example            | HTMX Attributes                                               | State Management |\n|--------------------|---------------------------------------------------------------|------------------|\n| bulk-update        | hx-include, hx-put, hx-target                                 | sqlc             |\n| click-to-edit      | hx-boost, hx-swap, hx-target                                  | sqlc             |\n| click-to-load      | hx-get, hx-swap, hx-target                                    | json  in-memory  |\n| delete-row         | hx-confirm, hx-delete, hx-swap, hx-target                     | json, in-memory  |\n| edit-row           | hx-get, hx-include, hx-post, hx-swap, hx-target               | json, in-memory  |\n| lazy-loading       | hx-get, hx-trigger                                            | N/A              |\n| inline-validation  | hx-post, hx-swap, hx-target, hx-trigger, sse-connect sse-swap | in-memory        |\n| spreadsheet        | hx-encoding, hx-get, hx-patch, hx-post, hx-swap, hx-trigger   | json, in-memory  |\n\n* I am also using [Pico CSS](https://picocss.com) in some examples.\n\n## Generation\n\nThis project uses some code generation. Before you execute `go generate ./...`,\nyou need to install:\n\n- `go run github.com/maxbrunsfeld/counterfeiter/v6 -generate`\n- `go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest` see https://docs.sqlc.dev","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrhntr%2Fgo-htmx-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrhntr%2Fgo-htmx-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrhntr%2Fgo-htmx-examples/lists"}