{"id":15497355,"url":"https://github.com/heapwolf/tsd","last_synced_at":"2025-04-22T22:04:33.147Z","repository":{"id":64269057,"uuid":"8714377","full_name":"heapwolf/tsd","owner":"heapwolf","description":"spins up a server to receive time-series data via tcp streams and then graphs it in the browser via web-sockets","archived":false,"fork":false,"pushed_at":"2013-03-12T01:39:43.000Z","size":478,"stargazers_count":52,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T19:11:34.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/heapwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-11T22:05:08.000Z","updated_at":"2025-03-17T03:38:03.000Z","dependencies_parsed_at":"2022-12-05T19:27:39.476Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/tsd","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/heapwolf%2Ftsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Ftsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Ftsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Ftsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/tsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250331806,"owners_count":21413100,"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-10-02T08:33:05.546Z","updated_at":"2025-04-22T22:04:33.086Z","avatar_url":"https://github.com/heapwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\ntsd-web(3)\n\n# SYNOPSIS\nSpin up a quick server to visualize time series data.\n\n# USAGE\nDeadly simple. just specify the ports you want it to listen on.\n\n```js\nvar tsd = require('tsd-web');\n\ntsd({\n  http: 80,\n  tcp: 9099\n});\n```\n\nWrite some dummy data to the socket (LINE DELIMITED!).\n```js\nvar net = require('net');\nvar x = 0;\nvar client = net.connect({ port: 9099 }, function() {\n\n  function write(json) {\n    client.write(JSON.stringify(json) + '\\n');\n  }\n  \n  setInterval(function() {\n\n    x++;\n\n    write({ key: 'hello',   value: (Math.random() + x) / 50 });\n    write({ key: 'goodbye', value: (Math.random() + x) / 20 });\n    write({ key: 'ohai', value: 1000 });\n    write({ key: 'neat-stuff', value: (Math.random() + x) / 10 });\n\n  }, 150);\n\n});\n```\n\n# WUT?\n![screenshot](/screenshot.png)\n\n# TODO\nThis is a work in progress. Pull requests welcome.\n\n - Provide a way to flush the cache.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Ftsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Ftsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Ftsd/lists"}