{"id":41716302,"url":"https://github.com/wangxianzhuo/web-console","last_synced_at":"2026-01-24T22:17:06.777Z","repository":{"id":84533866,"uuid":"124662947","full_name":"wangxianzhuo/web-console","owner":"wangxianzhuo","description":"It can print data on web by websocket","archived":false,"fork":false,"pushed_at":"2018-03-10T14:25:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T20:53:41.381Z","etag":null,"topics":["go","websocket"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangxianzhuo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-10T14:23:13.000Z","updated_at":"2018-03-10T14:26:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"870d6e09-a362-4abc-8a25-e9e2aae38556","html_url":"https://github.com/wangxianzhuo/web-console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wangxianzhuo/web-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxianzhuo%2Fweb-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxianzhuo%2Fweb-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxianzhuo%2Fweb-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxianzhuo%2Fweb-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangxianzhuo","download_url":"https://codeload.github.com/wangxianzhuo/web-console/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxianzhuo%2Fweb-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28738348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"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":["go","websocket"],"created_at":"2026-01-24T22:17:06.009Z","updated_at":"2026-01-24T22:17:06.769Z","avatar_url":"https://github.com/wangxianzhuo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Console\n\n\u003eIt can print data on web by websocket. But only have one server entity.\n\n## Install\n\n    go get -u github.com/wangxianzhuo/web-console\n\n## Usage\n\n```golang\npackage main\n\nimport (\n    \"bytes\"\n    \"time\"\n\n    \"github.com/wangxianzhuo/web-console/server\"\n)\n\nfunc main() {\n    var buffer bytes.Buffer\n    server, _ := server.New(\u0026buffer, nil)\n    go func() {\n        for {\n            time.Sleep(1 * time.Second)\n            // It can print newest time on web.\n            buffer.Write([]byte(time.Now().String()))\n        }\n    }()\n    server.Run(\"\")\n}\n```\n\n```shell\ngo run main.go\n```\n\n\u003e Visiting `http://localhost:8080/` can see the newest time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangxianzhuo%2Fweb-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangxianzhuo%2Fweb-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangxianzhuo%2Fweb-console/lists"}