{"id":39011146,"url":"https://github.com/sonjek/go-templ-gorm-htmx-picocss-example","last_synced_at":"2026-01-29T08:01:20.538Z","repository":{"id":228658367,"uuid":"774519750","full_name":"sonjek/go-templ-gorm-htmx-picocss-example","owner":"sonjek","description":"Example CRUD app based on Go + templ + \u003c/\u003ehtmx + PicoCSS + Ionicons","archived":false,"fork":false,"pushed_at":"2025-11-23T22:17:43.000Z","size":1906,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T01:30:19.466Z","etag":null,"topics":["example-code","example-project","go","golang","htmx","htmx-app","htmx-notes","picocss","servemux","server-side-rendering","templ"],"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/sonjek.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":"2024-03-19T17:32:52.000Z","updated_at":"2025-11-23T22:17:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"92121136-e184-4919-b36d-99190a8dffdc","html_url":"https://github.com/sonjek/go-templ-gorm-htmx-picocss-example","commit_stats":null,"previous_names":["sonjek/go-templ-htmx-picocss-example","sonjek/go-templ-gorm-htmx-picocss-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sonjek/go-templ-gorm-htmx-picocss-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonjek%2Fgo-templ-gorm-htmx-picocss-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonjek%2Fgo-templ-gorm-htmx-picocss-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonjek%2Fgo-templ-gorm-htmx-picocss-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonjek%2Fgo-templ-gorm-htmx-picocss-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonjek","download_url":"https://codeload.github.com/sonjek/go-templ-gorm-htmx-picocss-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonjek%2Fgo-templ-gorm-htmx-picocss-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28871333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","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":["example-code","example-project","go","golang","htmx","htmx-app","htmx-notes","picocss","servemux","server-side-rendering","templ"],"created_at":"2026-01-17T17:21:34.831Z","updated_at":"2026-01-29T08:01:20.085Z","avatar_url":"https://github.com/sonjek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-templ-htmx-picocss-example\n\nExample of a Web CRUD app based on [Go](https://github.com/golang/go) + ([sqlite](https://gitlab.com/cznic/sqlite) + [gorm](https://github.com/go-gorm/gorm)) + [templ](https://github.com/a-h/templ) + [\u003c/\u003ehtmx](https://github.com/bigskysoftware/htmx) + [PicoCSS](https://github.com/picocss/pico) + [Ionicons](https://github.com/ionic-team/ionicons)\n\n\n![demo](demo.gif)\n\nFeatures:\n- Comfortable and flexible component based templates via [templ](https://github.com/a-h/templ)\n- CRUD functionality\n- Persistent storage via [SQLite](https://gitlab.com/cznic/sqlite) + ORM ([gorm](https://github.com/go-gorm/gorm))\n- Modal windows\n- Error handling on user interface side\n- Infinite scroll (Lazy Loading)\n- User frendly interface\n- Preserve static files\n\n## Develop\n\nAvailable makefile actions:\n```sh\n% make\nUsage:  make COMMAND\n\nCommands:\n  build          Compile templ files and build application\n  start          Build and start application\n  build-docker   Build Docker container image with this app\n  run-docker     Run Docker container image with this app\n  get-js-deps    Install frontend dependencies using bun (locally if available and otherwise via Docker)\n  test           Run unit tests\n  generate-web   Compile templ files via github.com/a-h/templ/cmd/templ\n  air            Build and start application in live reload mode via air\n  lint           Run golangci-lint to lint Go files\n  lint-fix       Run golangci-lint to lint Go files and fix issues\n  lint-fmt       Run golangci-lint fmt to show code format issues\n  audit          Quality checks\n  tidy           Removes unused dependencies and adds missing ones\n  update-deps    Update Go dependencies\n  get-deps       Download Go dependencies\n  check-go       Check that Go is installed\n  help           Display help\n```\n\n## Local Development Setup\n\nTo get started, follow these steps:\n\n1) Run `make start` to download go dependencies, compile templ files, build application and finally start application.\n```sh\n% make start\ngo mod download\ngo tool templ generate\n(✓) Complete [ updates=7 duration=13.893847ms ]\ngo run ./cmd/app\nStarting web interface on port: 8089\n```\n\nYou should now be able to access application in your web browser at http://localhost:8089\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonjek%2Fgo-templ-gorm-htmx-picocss-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonjek%2Fgo-templ-gorm-htmx-picocss-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonjek%2Fgo-templ-gorm-htmx-picocss-example/lists"}