{"id":22213228,"url":"https://github.com/benhid/go-agent","last_synced_at":"2026-02-01T21:01:23.972Z","repository":{"id":57693805,"uuid":"485392058","full_name":"benhid/go-agent","owner":"benhid","description":"A tiny web-server to run functions inside containers.","archived":false,"fork":false,"pushed_at":"2022-04-25T13:53:46.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T14:48:00.207Z","etag":null,"topics":["docker","golang","http-server","reverse-proxy"],"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/benhid.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}},"created_at":"2022-04-25T13:53:17.000Z","updated_at":"2022-12-16T08:28:48.000Z","dependencies_parsed_at":"2022-09-26T21:01:24.789Z","dependency_job_id":null,"html_url":"https://github.com/benhid/go-agent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benhid/go-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhid%2Fgo-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhid%2Fgo-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhid%2Fgo-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhid%2Fgo-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhid","download_url":"https://codeload.github.com/benhid/go-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhid%2Fgo-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28990680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T20:57:35.821Z","status":"ssl_error","status_checked_at":"2026-02-01T20:57:29.580Z","response_time":56,"last_error":"SSL_read: 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":["docker","golang","http-server","reverse-proxy"],"created_at":"2024-12-02T21:09:06.982Z","updated_at":"2026-02-01T21:01:23.954Z","avatar_url":"https://github.com/benhid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## agent 🍚\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/benhid/go-agent)](https://goreportcard.com/report/github.com/benhid/go-agent)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nA tiny web-server (reverse proxy) to run functions for every incoming HTTP request.\n\n![](docs/overview.png)\n\n## Get started\n\n### Build\n\nTo build the agent:\n\n```bash\ndocker build -t benhid/go-agent .\n```\n\nEvery container needs to embed this binary and use it as `CMD`, e.g.:\n\n```Dockerfile\nFROM benhid/go-agent as build-agent\n\n# ...\n\nCOPY --from=build-agent /build/agent .\n\nENV fprocess=\"python3 index.py\"\n\nEXPOSE 80\n\nCMD [ \"./agent\" ]\n```\n\n### Run\n\nYou can find a template of a Python application [here](python3/Dockerfile). Build with:\n\n```bash\ncd python3\ndocker build -t hello-python .\n```\n\nAnd run:\n\n```bash\ndocker run -p 8090:80 hello-python\n```\n\n### Usage\n\n```bash \ncurl http://0.0.0.0:8090/ -d \"hello world\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhid%2Fgo-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhid%2Fgo-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhid%2Fgo-agent/lists"}