{"id":13770812,"url":"https://github.com/syarul/todomvc-go-templ-htmx-_hyperscript","last_synced_at":"2025-04-23T01:30:47.054Z","repository":{"id":214353343,"uuid":"736310009","full_name":"syarul/todomvc-go-templ-htmx-_hyperscript","owner":"syarul","description":"TodoMVC build with GO, TEMPL, HTMX \u0026 _HYPERSCRIPT","archived":false,"fork":false,"pushed_at":"2024-02-04T13:32:25.000Z","size":66,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T06:11:13.853Z","etag":null,"topics":["go","golang","htmx","hyperscript","templ","todoapp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syarul.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}},"created_at":"2023-12-27T14:57:53.000Z","updated_at":"2024-11-22T14:48:29.000Z","dependencies_parsed_at":"2024-02-08T23:03:12.924Z","dependency_job_id":"c06d831f-934e-43a2-aa1e-027a48dce833","html_url":"https://github.com/syarul/todomvc-go-templ-htmx-_hyperscript","commit_stats":null,"previous_names":["syarul/todomvc-go-templ-htmx-_hyperscript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syarul%2Ftodomvc-go-templ-htmx-_hyperscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syarul%2Ftodomvc-go-templ-htmx-_hyperscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syarul%2Ftodomvc-go-templ-htmx-_hyperscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syarul%2Ftodomvc-go-templ-htmx-_hyperscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syarul","download_url":"https://codeload.github.com/syarul/todomvc-go-templ-htmx-_hyperscript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352158,"owners_count":21416452,"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":["go","golang","htmx","hyperscript","templ","todoapp"],"created_at":"2024-08-03T17:00:42.348Z","updated_at":"2025-04-23T01:30:46.827Z","avatar_url":"https://github.com/syarul.png","language":"Go","funding_links":[],"categories":["Examples by Back-end"],"sub_categories":["Go"],"readme":"\n     ooooo   ooooo ooooooooooooo ooo        ooooo ooooooo  ooooo \n     `888'   `888' 8'   888   `8 `88.       .888'  `8888    d8'  \n      888     888       888       888b     d'888     Y888..8P    \n      888ooooo888       888       8 Y88. .P  888      `8888'     \n      888     888       888       8  `888'   888     .8PY888.    \n      888     888       888       8    Y     888    d8'  `888b   \n     o888o   o888o     o888o     o8o        o888o o888o  o88888o\n    ===========================================================\n            Build with GO, TEMPL, HTMX \u0026 _HYPERSCRIPT\n[![Go](https://github.com/syarul/todomvc-go-templ-htmx-_hyperscript/actions/workflows/go.yml/badge.svg)](https://github.com/syarul/todomvc-go-templ-htmx-_hyperscript/actions/workflows/go.yml)\n\n### E2E Testing\n\n\nhttps://github.com/syarul/todomvc-go-templ-htmx-_hyperscript/assets/2774594/fdcba602-73f2-499b-a106-152569d37e80\n\n\nEmulating the functionalities of modern frameworks which is base on React TodoMVC, [cypress test](https://github.com/syarul/todomvc-go-templ-htmx-_hyperscript/actions/runs/7412273948/job/20168687544) from https://github.com/cypress-io/cypress-example-todomvc. This demonstration serves to showcase that HTMX, when paired with _hyperscript, can replicate if not all the behaviors typically associated with most modern client framework with minimum needs to write javascript.\n\n### Security\nCheck on [this link](https://templ.guide/security/) when using `templ` as HTML template engine.\n\n### Usage\n- install go if you don't have\n- run `go mod tidy` to fetch all needed modules\n- install templ `go install github.com/a-h/templ/cmd/templ@latest`\n- run `templ generate`\n- finally run `go run .`\n- visit `http://localhost:8888`\n- alternatively you can compile into executable with `go build .`\n- if you need to run the e2e testing make sure to have `nodejs` installed\n- run in the root folder `git clone https://github.com/cypress-io/cypress-example-todomvc`\n- `cd cypress-example-todomvc`\n- `npm install`\n- if you need to see the test in browser run `npm run cypress:open`\n- for headless test `npm run cypress:run`\n\n### HTMX\nVisit [https://github.com/rajasegar/awesome-htmx](https://github.com/rajasegar/awesome-htmx) to look for HTMX curated infos\n\n###\nTodo\n- Perf test (consolidate with other langs rust, zig, odin, ocaml, etc+)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyarul%2Ftodomvc-go-templ-htmx-_hyperscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyarul%2Ftodomvc-go-templ-htmx-_hyperscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyarul%2Ftodomvc-go-templ-htmx-_hyperscript/lists"}