{"id":51039274,"url":"https://github.com/brandonkramer/ipc","last_synced_at":"2026-06-22T09:30:26.902Z","repository":{"id":361683535,"uuid":"1255373273","full_name":"brandonkramer/ipc","owner":"brandonkramer","description":"Cross-platform local transport for service daemons: Unix domain sockets, Windows named pipes, and HTTP-over-Unix helpers.","archived":false,"fork":false,"pushed_at":"2026-05-31T19:14:28.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T21:12:36.439Z","etag":null,"topics":["cross-platform","daemons","go","golang","ipc","library","named-pipe","unix-socket"],"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/brandonkramer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T18:46:58.000Z","updated_at":"2026-05-31T19:14:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brandonkramer/ipc","commit_stats":null,"previous_names":["brandonkramer/ipc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/brandonkramer/ipc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonkramer%2Fipc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonkramer%2Fipc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonkramer%2Fipc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonkramer%2Fipc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonkramer","download_url":"https://codeload.github.com/brandonkramer/ipc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonkramer%2Fipc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34643409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["cross-platform","daemons","go","golang","ipc","library","named-pipe","unix-socket"],"created_at":"2026-06-22T09:30:25.776Z","updated_at":"2026-06-22T09:30:26.896Z","avatar_url":"https://github.com/brandonkramer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipc\n\nCross-platform local transport for service daemons: Unix domain sockets, Windows named pipes, detached child spawn, and optional HTTP-over-Unix helpers.\n\n## Quick start\n\n```go\naddr := ipc.Addr{\n    Unix:       \"/var/run/mysvc/rpc.sock\",\n    PipePrefix: \"mysvc\",\n    PipeKey:    \"/data/mysvc-home\",\n}\n\nln, err := ipc.Listen(addr)\nconn, err := ipc.Dial(ctx, addr)\nipc.SetDetach(cmd)\n```\n\n## With svcroot\n\n```go\nlayout := svcroot.Layout{SocketName: \"rpc.sock\", PipePrefix: \"mysvc\"}\naddr := ipc.Addr{\n    Unix:       svcroot.Socket(root, \u0026layout),\n    PipePrefix: layout.WithDefaults().PipePrefix,\n    PipeKey:    root,\n}\n```\n\n## HTTP over Unix (Unix only)\n\n```go\nctx, cancel := context.WithCancel(context.Background())\ndefer cancel()\ngo func() { _ = ipc.RunUnixHTTP(ctx, \"/var/run/mysvc/observe.sock\", true, mux) }()\n\nclient := ipc.NewUnixHTTPClient(\"/var/run/mysvc/observe.sock\")\nerr := client.Get(ctx, \"/status\", \u0026out)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonkramer%2Fipc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonkramer%2Fipc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonkramer%2Fipc/lists"}