{"id":21581538,"url":"https://github.com/thoughtscript/simple-go-server","last_synced_at":"2025-03-18T08:14:36.021Z","repository":{"id":256985351,"uuid":"856681141","full_name":"Thoughtscript/simple-go-server","owner":"Thoughtscript","description":"Simple Static File Server in Go","archived":false,"fork":false,"pushed_at":"2024-12-11T00:47:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T14:44:58.158Z","etag":null,"topics":["golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thoughtscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-13T02:15:36.000Z","updated_at":"2024-12-11T00:47:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad749853-67d2-4a7e-add4-129e8a9c5616","html_url":"https://github.com/Thoughtscript/simple-go-server","commit_stats":null,"previous_names":["thoughtscript/simple-go-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fsimple-go-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fsimple-go-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fsimple-go-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thoughtscript%2Fsimple-go-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thoughtscript","download_url":"https://codeload.github.com/Thoughtscript/simple-go-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181391,"owners_count":20411605,"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":["golang"],"created_at":"2024-11-24T14:12:51.592Z","updated_at":"2025-03-18T08:14:35.992Z","avatar_url":"https://github.com/Thoughtscript.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Go Server\r\n\r\n[![](https://img.shields.io/badge/Go-1.23-blue.svg)](https://golang.org/pkg/)\r\n\r\n## Regular Use\r\n\r\nLocally, with GoLang installed:\r\n\r\n```bash\r\nbash run.sh\r\n```\r\n\r\n## Docker\r\n\r\n```bash\r\ndocker build .\r\n\r\ndocker images\r\n\r\ndocker run -p 8888:8888 sha256:2296c6ce739b9e80a963cbee76d7d64c47cef35a7e151e5857cebb63e2b6ab2b\r\n```\r\n\r\n## Endpoints\r\n\r\n1. [localhost:8888/heartbeat](http://localhost:8888/heartbeat)\r\n    * Simple String to HTML writeout representing a dummy Heart Beat / Status / Test endpoint.\r\n1. [http://localhost:8888/public/](http://localhost:8888/public/)\r\n    * Also: [http://localhost:8888/public/index.html](http://localhost:8888/public/index.html)\r\n    * Simple HTML Static File Serve\r\n1. [http://localhost:8888/stop](http://localhost:8888/stop)\r\n    * Immediately terminate the application.\r\n    * Note that calling `os.Exit(0)` in the main Process will also terminate each Go Routine.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtscript%2Fsimple-go-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtscript%2Fsimple-go-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtscript%2Fsimple-go-server/lists"}