{"id":44690706,"url":"https://github.com/janekbaraniewski/ser2net2ser","last_synced_at":"2026-02-15T07:07:50.581Z","repository":{"id":236051980,"uuid":"791806159","full_name":"janekbaraniewski/ser2net2ser","owner":"janekbaraniewski","description":"Share and connect to serial devices over network!","archived":false,"fork":false,"pushed_at":"2025-09-09T23:30:00.000Z","size":856,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T02:54:33.968Z","etag":null,"topics":["asio","boost","c","cmake","cpp","devices","network","network-devices","physical-devices","ser2net","serial-communication","serial-communications","serial-devices","serial-over-ip","serial-port","serialport","socat","virtual-devices","virtual-serial-port"],"latest_commit_sha":null,"homepage":"","language":"C++","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/janekbaraniewski.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":"2024-04-25T12:08:03.000Z","updated_at":"2025-09-09T23:29:58.000Z","dependencies_parsed_at":"2024-05-04T10:27:23.921Z","dependency_job_id":"fc01f4b7-d209-457b-87db-9d860681cf8e","html_url":"https://github.com/janekbaraniewski/ser2net2ser","commit_stats":null,"previous_names":["janekbaraniewski/ser2net2ser"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/janekbaraniewski/ser2net2ser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janekbaraniewski%2Fser2net2ser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janekbaraniewski%2Fser2net2ser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janekbaraniewski%2Fser2net2ser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janekbaraniewski%2Fser2net2ser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janekbaraniewski","download_url":"https://codeload.github.com/janekbaraniewski/ser2net2ser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janekbaraniewski%2Fser2net2ser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29472879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"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":["asio","boost","c","cmake","cpp","devices","network","network-devices","physical-devices","ser2net","serial-communication","serial-communications","serial-devices","serial-over-ip","serial-port","serialport","socat","virtual-devices","virtual-serial-port"],"created_at":"2026-02-15T07:07:48.109Z","updated_at":"2026-02-15T07:07:50.576Z","avatar_url":"https://github.com/janekbaraniewski.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ser2net2ser\n\n## Motivation\n\nI've been using `socat` + `ser2net` for sharing serial devices over network for some time, mainly in my other project [kubeserial]. I've run into few limitations so I created this project to recreate the behaviour of `socat` + `ser2net` and then solve connection issues I've been having.\n\n## Requirements\n\n- Linux or macOS operating system\n- CMake for building the project\n- Docker (optional) for containerization\n\n## Building the Project\n\nClone the repository and use CMake to build the project:\n\n```bash\ngit clone https://github.com/janekbaraniewski/ser2net2ser.git\ncd ser2net2ser\nmake build\n```\n\nThis will compile both the server and client applications.\n\n## Running the Server\n\nThe server needs to be connected to a serial device. It can be started with the following command:\n\n```bash\nser2net2ser serve \\\n  --device /dev/ttyUSB0 \\\n  --baud 9600 \\\n  --port 12345\n```\n\n```text\n--device: Specifies the serial device.\n--baud: Sets the baud rate for the serial device.\n--port: TCP port on which the server will listen for incoming connections.\n```\n\n![serve](docs/serve01.png)\n\n## Running the Client\n\nThe client should be run on the machine where you want the virtual serial port to be created:\n\n```bash\nser2net2ser connect \\\n  --server 192.168.1.100 \\\n  --port 12345 \\\n  --vsp \"tty.usbserial-666\"\n```\n\n```text\n--server: IP address of the server.\n--port: TCP port on which the server is running.\n--vsp: Name of the virtual serial port to be created.\n```\n\n![connect](docs/connect01.png)\n\n## Docker Containers\n\nDockerfiles for both the server and client are included. Build and run the containers using:\n\n```bash\nmake build-images\n```\n\n\u003c!-- Links --\u003e\n\n[kubeserial]: https://github.com/janekbaraniewski/kubeserial \"KubeSerial\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanekbaraniewski%2Fser2net2ser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanekbaraniewski%2Fser2net2ser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanekbaraniewski%2Fser2net2ser/lists"}