{"id":20310980,"url":"https://github.com/progrium/wsio","last_synced_at":"2025-04-11T16:06:08.456Z","repository":{"id":894681,"uuid":"647179","full_name":"progrium/wsio","owner":"progrium","description":"Pipe data anywhere","archived":false,"fork":false,"pushed_at":"2010-05-09T03:58:16.000Z","size":99,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-08T22:01:46.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/progrium.png","metadata":{"files":{"readme":"README","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":"2010-05-04T19:42:49.000Z","updated_at":"2021-02-04T20:06:28.000Z","dependencies_parsed_at":"2022-08-16T11:20:42.255Z","dependency_job_id":null,"html_url":"https://github.com/progrium/wsio","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/progrium%2Fwsio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fwsio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fwsio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fwsio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progrium","download_url":"https://codeload.github.com/progrium/wsio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224664989,"owners_count":17349526,"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-11-14T17:35:11.162Z","updated_at":"2024-11-14T17:35:11.805Z","avatar_url":"https://github.com/progrium.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"wsio -- web stream input/output tool\n\nDependencies: Ruby (dev version to compile extensions) and Rubygems\n\nInstall: sudo gem install wsio\n\nUsage: wsio [options] [user[:pass]@][hostname][path]\n  -l  Listen to stream and print to STDOUT\n  -s  Use HTTPS\n  -k  Ignore SSL verification (like curl)\n  \nBy default, wsio listens to STDIN and does an HTTP POST for each line.\n\nThis tool is similar to netcat in that it's intended to be used with STDIN and\nSTDOUT, making it perfect for command pipelining. However, instead of direct\npoint to point TCP/UDP connections, it uses HTTP. Coupled with a server that\nprovides realtime pubsub over HTTP and you have one of the most magical tools\never. Here's a toy log aggregation example:\n\nRun this on one or several machines:\n\n  tail -f /var/log/something | wsio somehost/log\n\nRun this on your central aggregator:\n\n  wsio -l somehost/log \u003e /var/log/aggregate\n\nRun this on your *laptop behind NAT* to watch the logs:\n\n  wsio -l somehost/log\n\n\nObviously there is a server-side component to this. It's not that complicated\nand there are some servers that already implement streams this way. \n\nFor example, Twitter's Stream API:\n\n  wsio -l \u003cuser\u003e:\u003cpass\u003e@stream.twitter.com/1/statuses/sample.json\n\nHowever, wsio was made with a particular server-side component in mind. If you\nare interested in this, please email me. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrium%2Fwsio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrium%2Fwsio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrium%2Fwsio/lists"}