{"id":15373739,"url":"https://github.com/debugtalk/wstailog","last_synced_at":"2025-06-14T01:39:09.727Z","repository":{"id":87470184,"uuid":"310241487","full_name":"debugtalk/wstailog","owner":"debugtalk","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-27T07:43:13.000Z","size":247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T12:11:32.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/debugtalk.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":"2020-11-05T08:55:59.000Z","updated_at":"2021-09-14T03:28:16.000Z","dependencies_parsed_at":"2024-06-20T06:58:29.369Z","dependency_job_id":"13b0ad63-8cc4-447e-b4db-2adbbdbc9955","html_url":"https://github.com/debugtalk/wstailog","commit_stats":null,"previous_names":["debugtalk/seelog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debugtalk%2Fwstailog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debugtalk%2Fwstailog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debugtalk%2Fwstailog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debugtalk%2Fwstailog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debugtalk","download_url":"https://codeload.github.com/debugtalk/wstailog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244609432,"owners_count":20480781,"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-01T13:56:12.549Z","updated_at":"2025-03-20T11:48:22.876Z","avatar_url":"https://github.com/debugtalk.png","language":"Go","readme":"# wstailog\r\n[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/debugtalk/wstailog/blob/master/LICENSE)\r\n\r\nForked from `github.com/xmge/seelog`\r\n\r\n### 项目介绍\r\n* 与 golang 项目集成、提供浏览器实时查看日志的功能，类似 `tail -f xxx.log`\r\n* 支持监控多个日志文件\r\n* 支持多浏览器同时访问\r\n* 支持浏览器 websocket 断线重连\r\n* 支持暂停、清屏、过滤功能\r\n* 查找功能可直接使用浏览器 `Ctrl+F` 来完成\r\n\r\n### 集成方式\r\n\r\n```go\r\nimport \"github.com/debugtalk/wstailog\"\r\n\r\nwstailog.Tail(\"错误日志\", \"err.log\")   // 实时监听 err.log\r\nwstailog.Tail(\"调试日志\", \"debug.log\") // 实时监听 debug.log\r\nwstailog.Serve(27129)\r\n```\r\n\r\n在浏览器中访问 `http://host:port/wstailog`\r\n\r\n### 项目展示\r\n\r\n![image](demo.gif)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebugtalk%2Fwstailog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebugtalk%2Fwstailog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebugtalk%2Fwstailog/lists"}