{"id":15700519,"url":"https://github.com/perry-mitchell/stdout-collector","last_synced_at":"2025-07-23T13:09:22.608Z","repository":{"id":57370459,"uuid":"126326385","full_name":"perry-mitchell/stdout-collector","owner":"perry-mitchell","description":"Stream stdout from any number of terminal applications to one server for display","archived":false,"fork":false,"pushed_at":"2018-03-24T15:26:29.000Z","size":4328,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T14:14:16.238Z","etag":null,"topics":["cli","client-server","stdio","stdio-stream","stdout","stdout-stream"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/perry-mitchell.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":"2018-03-22T11:40:15.000Z","updated_at":"2024-04-26T19:01:09.000Z","dependencies_parsed_at":"2022-08-29T18:30:19.634Z","dependency_job_id":null,"html_url":"https://github.com/perry-mitchell/stdout-collector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fstdout-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fstdout-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fstdout-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fstdout-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perry-mitchell","download_url":"https://codeload.github.com/perry-mitchell/stdout-collector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754220,"owners_count":21958842,"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":["cli","client-server","stdio","stdio-stream","stdout","stdout-stream"],"created_at":"2024-10-03T19:49:23.135Z","updated_at":"2025-05-12T14:14:22.811Z","avatar_url":"https://github.com/perry-mitchell.png","language":"JavaScript","readme":"# stdout collector\n\u003e Collect and route stdout between computers and terminals\n\n[![Build Status](https://travis-ci.org/perry-mitchell/stdout-collector.svg?branch=master)](https://travis-ci.org/perry-mitchell/stdout-collector)\n\n![2 terminals into 1](https://raw.githubusercontent.com/perry-mitchell/stdout-collector/master/stdout-collector.gif)\n\n## About\nHaving applications running in many terminals and machines can be troublesome to monitor. Setting up log sending/fetching may be a bit too tedious a task for some projects. `stdout-collector` provides an intermediate solution by allowing for easy redirection of application `stdout` streams to one destination.\n\nUsing this application it is possible to route the `stdout` from many different applications on different machines to one terminal on another. This library provides 2 commands:\n\n * `stdsend` - Send `stdout` to a destination receiver\n * `stdrecv` - Receive `stdout` from another machine (or several machines)\n\n## Usage\nTo set up a receiver:\n\n```shell\nstdrecv\n```\n\nThis executes the receiving server application which listens for clients.\n\nTo set up a sending utility:\n\n```shell\n./some-program-with-output.sh | stdsend 192.168.0.1 --name=\"MyApp\"\n```\n\n### stdrecv arguments\nThe follow arguments can be provided to `stdrecv`:\n\n| Argument                | Required | Description                                      |\n|-------------------------|----------|--------------------------------------------------|\n| `--port=`               | No       | Override the listen port. Default: `8888`.       |\n\n### stdsend arguments\nThe follow arguments can be provided to `stdsend`:\n\n| Argument                | Required | Description                                      |\n|-------------------------|----------|--------------------------------------------------|\n| (address/addresses)     | Yes      | Destination addresses, including port if not the default. Multiple addresses separated by a space. |\n| `--name=`               | No       | Set the client name. For display, max 5 characters (trimmed otherwise). |\n\n#### Destination addresses\nYou can specify 1 or more destination addresses. All of the following are valid:\n\n * `192.168.0.1` (port: `8888`)\n * `localhost:3333`\n * `http://server.com` (port: `8888`)\n\n## Potential issues\nSome CLI apps do funny things to their output in terms of buffering. Some times you can get around this by using `stdbuf`. For example, some cryptocurrency miners don't buffer by line, which can be fixed by running:\n\n```shell\nstdbuf -oL -eL ./miner | stdsend 192.168.0.100 --name=\"Rig01\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fstdout-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperry-mitchell%2Fstdout-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fstdout-collector/lists"}