{"id":20845893,"url":"https://github.com/flowchain/flowchain-sim","last_synced_at":"2026-04-20T23:31:14.180Z","repository":{"id":80210088,"uuid":"127296242","full_name":"flowchain/flowchain-sim","owner":"flowchain","description":"The flowchain debug tool","archived":false,"fork":false,"pushed_at":"2018-03-29T14:02:27.000Z","size":154,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-12-28T13:28:45.351Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flowchain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-29T13:35:12.000Z","updated_at":"2018-03-30T05:50:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"4559a16b-f991-4917-9472-d479ab539a08","html_url":"https://github.com/flowchain/flowchain-sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flowchain/flowchain-sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowchain%2Fflowchain-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowchain%2Fflowchain-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowchain%2Fflowchain-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowchain%2Fflowchain-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowchain","download_url":"https://codeload.github.com/flowchain/flowchain-sim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowchain%2Fflowchain-sim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32070549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-18T02:14:18.875Z","updated_at":"2026-04-20T23:31:14.174Z","avatar_url":"https://github.com/flowchain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"The `flowchain-sim` tool.\n\n# Introduction\n\n`flowchain-sim` (Flowchain Simulator) is a simple tool to watch the p2p network of Flowchain IoT nodes.\n\n# Install\n\n```\n$ git clone https://github.com/flowchain/flowchain-sim.git\n$ cd flowchain-sim\n$ npm i\n```\n\n# How to Use\n\n1. Please open a terminal and start the debug server:\n\n```\n$ export HOST=192.168.124.4\n$ export PORT=9009\n$ node index.js \nWoT/WebSocket server is listening at ws://192.168.124.4:9009\n```\n\nThe environment variables:\n\n* `HOST`: the listening host\n* `PORT`: the listening port\n\n2. After starting the debug server, please modify `dist/index.html` by placing the debug server IP address and port number:\n\n```\nvar client = new WebSocket( 'ws://192.168.124.4:9009/node/00000000/viewer' );\n```\n\n3. Start a web server locally:\n\n```\n$ http-server dist/ -p 3000\nStarting up http-server, serving dist/\nAvailable on:\n  http://127.0.0.1:3000\n  http://192.168.124.4:3000\nHit CTRL-C to stop the server\n```\n\nYou can install `http-server` by executing `npm i http-server -g`. \n\n4. Open the debug application with your browser by the the url `http://127.0.0.1:3000`.\n\n![](screenshot/app.png)\n\n# License\n\nflowchain-sim is released under the [MIT License](http://www.opensource.org/licenses/MIT). See [LICENSE.md](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowchain%2Fflowchain-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowchain%2Fflowchain-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowchain%2Fflowchain-sim/lists"}