{"id":23843866,"url":"https://github.com/oppodelldog/go-simple-webapp-template","last_synced_at":"2025-10-14T08:14:09.308Z","repository":{"id":57499649,"uuid":"171539987","full_name":"Oppodelldog/go-simple-webapp-template","owner":"Oppodelldog","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-26T21:54:55.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T19:48:43.264Z","etag":null,"topics":["assets","gorilla","logrus","mux","template","webapp"],"latest_commit_sha":null,"homepage":null,"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/Oppodelldog.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":"2019-02-19T19:56:30.000Z","updated_at":"2025-05-29T11:01:33.000Z","dependencies_parsed_at":"2024-04-26T22:41:35.847Z","dependency_job_id":"175a387e-e1aa-467d-a265-2887cb4d874f","html_url":"https://github.com/Oppodelldog/go-simple-webapp-template","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/Oppodelldog/go-simple-webapp-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fgo-simple-webapp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fgo-simple-webapp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fgo-simple-webapp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fgo-simple-webapp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oppodelldog","download_url":"https://codeload.github.com/Oppodelldog/go-simple-webapp-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fgo-simple-webapp-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018306,"owners_count":26086334,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["assets","gorilla","logrus","mux","template","webapp"],"created_at":"2025-01-02T19:51:26.891Z","updated_at":"2025-10-14T08:14:09.280Z","avatar_url":"https://github.com/Oppodelldog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go simple webapp template\n\nThis template is intended to show how one can easily setup\na tls encrypted webserver in go including routing, html templating and assets.\n\nFinally all resources are compiled into the binary, to be ready to deploy.\n\nAs you can see from the go.mod file there are some third party dependencies\nbound to this project.\n\nHere are some reasons why I prefer to use them. \n\n## Routing (gorilla mux)\nAs router I chosse the gorilla.mux, which is pretty famous.\n**https://github.com/gorilla/mux**\n\nIt is easy to use, allows short, expressive configuration and has\ngood regular expression support for route parameters.\n\n## Assets\nAssets are embedded into the built binary at compile time using go standard library package \"embed\".\n\n## Logging (logrus)\nThe reasons for logrus are pretty straight forward.\nI like it ...it has colors ... sometimes.... and ... it's used by docker!! ;-)\nNo, seriously. I've seen it can be used in production for logging to syslog,logstash and more.\n\n## Getting started\n* call ```make build```\n* You will find the server binary in **.build-assets**\n\n### local dev\nFor local development I suggest to use the **.env** file\nwhich sets the assets to be load from local filesystem instead\nof looking in the generated go files. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foppodelldog%2Fgo-simple-webapp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foppodelldog%2Fgo-simple-webapp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foppodelldog%2Fgo-simple-webapp-template/lists"}