{"id":22820190,"url":"https://github.com/kizzycode/serialserver-rust","last_synced_at":"2025-03-30T23:16:39.200Z","repository":{"id":64737504,"uuid":"524220623","full_name":"KizzyCode/SerialServer-rust","owner":"KizzyCode","description":"`SerialServer` is a tiny server that bridges a serial device to UDP","archived":false,"fork":false,"pushed_at":"2023-10-01T13:07:55.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T04:44:16.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/KizzyCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE BSD 2-CLAUSE.md","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":"2022-08-12T20:48:15.000Z","updated_at":"2022-08-12T20:49:15.000Z","dependencies_parsed_at":"2025-02-06T04:42:37.875Z","dependency_job_id":"1386c981-0c60-4eab-89ed-0e82b3700d7f","html_url":"https://github.com/KizzyCode/SerialServer-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2FSerialServer-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2FSerialServer-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2FSerialServer-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2FSerialServer-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KizzyCode","download_url":"https://codeload.github.com/KizzyCode/SerialServer-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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":[],"created_at":"2024-12-12T15:16:56.337Z","updated_at":"2025-03-30T23:16:39.143Z","avatar_url":"https://github.com/KizzyCode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License BSD-2-Clause](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![AppVeyor CI](https://ci.appveyor.com/api/projects/status/github/KizzyCode/serialServer-rust?svg=true)](https://ci.appveyor.com/project/KizzyCode/serialServer-rust)\n[![docs.rs](https://docs.rs/serial_server/badge.svg)](https://docs.rs/serial_server)\n[![crates.io](https://img.shields.io/crates/v/serial_server.svg)](https://crates.io/crates/serial_server)\n[![Download numbers](https://img.shields.io/crates/d/serial_server.svg)](https://crates.io/crates/serial_server)\n[![dependency status](https://deps.rs/crate/serial_server/0.2.0/status.svg)](https://deps.rs/crate/serial_server/0.2.0)\n\n\n# `SerialServer`\nWelcome to `SerialServer` 🎉\n\n`SerialServer` is a tiny server that bridges a serial device to UDP - incoming packets are written to the serial\ndevice's input, and the serial device's output can be forwarded to a given UDP address.\n\n\n## Configuration\nThe server is configured via a config file. The path to the config file can be specified via:\n - the `SERIALSERVER_CONFIG` environment variable\n - the first command line argument\n\nIf no path is specified, the server expects a `config.toml` in the current working directory.\n\n\n### Example configuration file\nAn example configuration file could look like this:\n\n```toml\n[serial]\n# The path to the serial device\ndevice = \"/dev/tty.usbmodem21201\"\n\n# The baudrate of the serial connection (defaults to 115200)\nbaudrate = 115200\n\n\n[udp]\n# The UDP port to listen on for incoming packets\nlisten = \"127.0.0.1:6666\"\n\n# The UDP port to send the serial device's output to (optional; if omitted, nothing is sent)\nsend = \"224.0.0.1:6666\"\n\n# The TTL for outgoing UDP packets (defaults to 0)\nttl = 0\n\n\n[log]\n# Whether to log the serial device's I/O to stdout (defaults to false)\nenabled = true\n```\n\n## Notes on security\nThis server acts as a simple, stupid bridge – there is *no* authentication or data validation. The primary usecase for\nthis server is to run within a docker container or similar with UDP on localhost as brigde to e.g. NodeRED.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fserialserver-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkizzycode%2Fserialserver-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fserialserver-rust/lists"}