{"id":35232048,"url":"https://github.com/niclashoyer/rtltcp","last_synced_at":"2026-04-09T05:31:58.233Z","repository":{"id":38360903,"uuid":"199526667","full_name":"niclashoyer/rtltcp","owner":"niclashoyer","description":"A rust implementation of rtl-tcp with better buffering and support for systemd socket activation.","archived":false,"fork":false,"pushed_at":"2024-03-11T00:39:40.000Z","size":66,"stargazers_count":19,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-11T16:59:10.395Z","etag":null,"topics":["gqrx","raspberry-pi","rtl-sdr","rtl-tcp","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niclashoyer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-29T21:04:49.000Z","updated_at":"2024-06-07T15:55:44.000Z","dependencies_parsed_at":"2023-02-19T06:16:16.526Z","dependency_job_id":null,"html_url":"https://github.com/niclashoyer/rtltcp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/niclashoyer/rtltcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niclashoyer%2Frtltcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niclashoyer%2Frtltcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niclashoyer%2Frtltcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niclashoyer%2Frtltcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niclashoyer","download_url":"https://codeload.github.com/niclashoyer/rtltcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niclashoyer%2Frtltcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31587789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["gqrx","raspberry-pi","rtl-sdr","rtl-tcp","rust"],"created_at":"2025-12-30T02:58:18.853Z","updated_at":"2026-04-09T05:31:58.213Z","avatar_url":"https://github.com/niclashoyer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtltcp\n\n[![Rust GitHub Template](https://img.shields.io/badge/Rust%20GitHub-Template-blue)](https://rust-github.github.io/)\n[![Crates.io](https://img.shields.io/crates/v/rtltcp.svg)](https://crates.io/crates/rtltcp)\n[![CI](https://github.com/niclashoyer/rtltcp/workflows/CI/badge.svg)](https://github.com/niclashoyer/rtltcp/actions)\n[![Coverage Status](https://coveralls.io/repos/github/niclashoyer/rtltcp/badge.svg?branch=main)](https://coveralls.io/github/niclashoyer/rtltcp?branch=main)\n\nA rust implementation of [rtl-tcp](https://github.com/pinkavaj/rtl-sdr/blob/master/src/rtl_tcp.c)\nwith better buffering and support for systemd [socket activation](http://0pointer.de/blog/projects/socket-activation.html).\n\n## Installation\n\n### Download the latest binary release\n\nDownload the [latest release](https://github.com/niclashoyer/rtltcp/releases) of rtltcp and place it in `/usr/local/bin`:\n\n```bash\n# ARMv7 (e.g. Raspberry Pi)\nwget https://github.com/niclashoyer/rtltcp/releases/download/0.1.0/rtltcp-raspbian-armv7 -O /usr/local/bin/rtltcp\nchmod +x /usr/local/bin/rtltcp\n```\n\n### Cargo\n\nIf you want to build the code using your own rust toolchain, you can use `cargo` to do this for you.\n\n* Install the rust toolchain in order to have cargo installed by following\n  [this](https://www.rust-lang.org/tools/install) guide.\n* run `cargo install rtltcp`\n\n### Using Systemd Socket Activation\n\nBy using systemd socket activation it is possible to start rtltcp just if there is a connection. This keeps the rtl-sdr stick cool while not in use without any effort on the server side.\n\nTo use socket activation, place a file `rtltcp.service` and a file `rtltcp.socket` in `/etc/systemd/system/`.\n\n`rtltcp.service`:\n\n```ini\n[Unit]\nDescription=RTL TCP Service\nAfter=network.target\nRequires=rtltcp.socket\n\n[Service]\nType=notify\nUser=pi\nExecStart=/usr/local/bin/rtltcp\nTimeoutStopSec=5\n```\n\n`rtltcp.socket`:\n```ini\n[Unit]\nDescription=RTL TCP Socket\nPartOf=rtltcp.service\n\n[Socket]\nListenStream=[::]:1234\n\n[Install]\nWantedBy=sockets.target\n```\n\nInstall rtltcp either by using `cargo install` or download the latest release (see above).\nNow enable and start the socket:\n\n```bash\nsystemctl enable rtltcp.socket\nsystemctl start rtltcp.socket\n```\n\nSystemd should now be listening on port 1234 and start/stop rtltcp automatically.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniclashoyer%2Frtltcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniclashoyer%2Frtltcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniclashoyer%2Frtltcp/lists"}