{"id":32168800,"url":"https://github.com/mizalewski/elixir-unixbridge","last_synced_at":"2026-02-19T08:02:54.350Z","repository":{"id":57550394,"uuid":"85427353","full_name":"mizalewski/elixir-unixbridge","owner":"mizalewski","description":"Bridge between unix socket and tcp port","archived":false,"fork":false,"pushed_at":"2018-03-21T07:41:23.000Z","size":8,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T16:56:31.322Z","etag":null,"topics":["elixir","socat","unix-socket"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/mizalewski.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":"2017-03-18T19:38:21.000Z","updated_at":"2024-05-09T09:28:23.000Z","dependencies_parsed_at":"2022-08-29T20:41:04.269Z","dependency_job_id":null,"html_url":"https://github.com/mizalewski/elixir-unixbridge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mizalewski/elixir-unixbridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizalewski%2Felixir-unixbridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizalewski%2Felixir-unixbridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizalewski%2Felixir-unixbridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizalewski%2Felixir-unixbridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizalewski","download_url":"https://codeload.github.com/mizalewski/elixir-unixbridge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizalewski%2Felixir-unixbridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"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":["elixir","socat","unix-socket"],"created_at":"2025-10-21T16:00:46.504Z","updated_at":"2026-02-19T08:02:54.344Z","avatar_url":"https://github.com/mizalewski.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UNIX Socket to TCP Bridge\n\nUNIX Bridge to TCP Bridge uses [socat](https://www.linux.com/news/socat-general-bidirectional-pipe-handler) to create\nthe tunnel between UNIX socket and TCP port.\nThe library can be used with libraries, which need TCP port but you want to use UNIX socket (e.g. for Docker).\n\nInspiration to create this library was erldocker_unixbridge in Erlang library for Docker: [erldocker](https://github.com/proger/erldocker).\n\n## Installation\n\nThe package can be installed by adding `socket_tcp_bridge` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:socket_tcp_bridge, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Usage\n\nJust start a process (in production use supervisor to monitor SocketTcpBridge process) with UNIX socket path and port:\n```elixir\n{:ok, pid} = SocketTcpBridge.start_link(\"/var/run/docker.sock\", 8000)\n```\nand you can connect to docker using port 8000 and Docker library which support Docker HTTP API.\n\n**Important:** Library use `socat`, which need to be installed in your system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizalewski%2Felixir-unixbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizalewski%2Felixir-unixbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizalewski%2Felixir-unixbridge/lists"}