{"id":22752693,"url":"https://github.com/shri3k/pipe-to-websocket","last_synced_at":"2025-03-30T06:45:01.116Z","repository":{"id":57324737,"uuid":"74811523","full_name":"shri3k/pipe-to-websocket","owner":"shri3k","description":"pipe stdout to websocket","archived":false,"fork":false,"pushed_at":"2016-11-27T06:30:12.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T14:30:03.673Z","etag":null,"topics":["logging","pipe","websockets"],"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/shri3k.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":"2016-11-26T07:29:45.000Z","updated_at":"2018-06-06T20:44:13.000Z","dependencies_parsed_at":"2022-09-04T11:51:17.887Z","dependency_job_id":null,"html_url":"https://github.com/shri3k/pipe-to-websocket","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/shri3k%2Fpipe-to-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shri3k%2Fpipe-to-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shri3k%2Fpipe-to-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shri3k%2Fpipe-to-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shri3k","download_url":"https://codeload.github.com/shri3k/pipe-to-websocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285668,"owners_count":20752953,"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":["logging","pipe","websockets"],"created_at":"2024-12-11T05:13:26.501Z","updated_at":"2025-03-30T06:45:01.091Z","avatar_url":"https://github.com/shri3k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pipe-to-websocket | [![Build Status](https://travis-ci.org/shri3k/pipe-to-websocket.svg?branch=master)](https://travis-ci.org/shri3k/pipe-to-websocket) [![Coverage Status](https://coveralls.io/repos/github/shri3k/pipe-to-websocket/badge.svg?branch=master)](https://coveralls.io/github/shri3k/pipe-to-websocket?branch=master)\n\n## Description:\nTakes the standard input and pipes it to websocket to be used\n\n## Install:\n```sh\nnpm install -g pipe-to-websocket\n```\n\n## Usage: \n```sh\ntail -f /var/log/nginx/error.log | p2w\n```\n\n### Config\nDefault port that websocket listens to is `8090` but can be configured as \n\n```sh\ntail -f /var/log/nginx/error.log | SOCKET_PORT=8088 p2w\n```\n\n\n## Example:\nA client example is in `client/index.html` showing how to use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshri3k%2Fpipe-to-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshri3k%2Fpipe-to-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshri3k%2Fpipe-to-websocket/lists"}