{"id":13620847,"url":"https://github.com/LeKovr/webtail","last_synced_at":"2025-04-14T22:32:45.266Z","repository":{"id":54676907,"uuid":"74791723","full_name":"LeKovr/webtail","owner":"LeKovr","description":"Tail logfile via websocket","archived":false,"fork":false,"pushed_at":"2023-11-12T23:55:12.000Z","size":655,"stargazers_count":56,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T18:11:10.908Z","etag":null,"topics":["docker","go","golang","log","logfiles","tail","websocket","webtail"],"latest_commit_sha":null,"homepage":"","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/LeKovr.png","metadata":{"files":{"readme":"README.ja.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}},"created_at":"2016-11-25T22:34:18.000Z","updated_at":"2025-03-17T17:49:28.000Z","dependencies_parsed_at":"2023-11-13T00:22:56.204Z","dependency_job_id":"0d57c432-3db2-4bbc-b59c-866c2676cef8","html_url":"https://github.com/LeKovr/webtail","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeKovr%2Fwebtail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeKovr%2Fwebtail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeKovr%2Fwebtail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeKovr%2Fwebtail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeKovr","download_url":"https://codeload.github.com/LeKovr/webtail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248972326,"owners_count":21191769,"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":["docker","go","golang","log","logfiles","tail","websocket","webtail"],"created_at":"2024-08-01T21:00:59.970Z","updated_at":"2025-04-14T22:32:40.257Z","avatar_url":"https://github.com/LeKovr.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# webtail\n\n\u003e websocket 経由で [log] ファイルを Tail する\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"README.md#readme\"\u003eEnglish\u003c/a\u003e |\n  \u003ca href=\"README.ru.md#readme\"\u003ePусский\u003c/a\u003e |\n  \u003cspan\u003e日本語\u003c/span\u003e\n\u003c/p\u003e\n\n---\n\n[![Go Reference][ref1]][ref2]\n [![GitHub Release][gr1]][gr2]\n [![Build Status][bs1]][bs2]\n [![GitHub license][gl1]][gl2]\n\n[![Go Coverage][cc1]][cc2]\n [![Test Coverage][cct1]][cct2]\n [![Maintainability][ccm1]][ccm2]\n [![GoCard][gc1]][gc2]\n\n[cct1]: https://api.codeclimate.com/v1/badges/909eca87d9ee5b216a6b/test_coverage\n[cct2]: https://codeclimate.com/github/LeKovr/webtail/test_coverage\n[ccm1]: https://api.codeclimate.com/v1/badges/909eca87d9ee5b216a6b/maintainability\n[ccm2]: https://codeclimate.com/github/LeKovr/webtail/maintainability\n[ref1]: https://pkg.go.dev/badge/github.com/LeKovr/webtail.svg\n[ref2]: https://pkg.go.dev/github.com/LeKovr/webtail\n[cc1]: https://github.com/LeKovr/webtail/wiki/coverage.svg\n[cc2]: https://raw.githack.com/wiki/LeKovr/webtail/coverage.html\n[gc1]: https://goreportcard.com/badge/github.com/LeKovr/webtail\n[gc2]: https://goreportcard.com/report/github.com/LeKovr/webtail\n[bs1]: https://github.com/LeKovr/webtail/actions/workflows/docker-publish.yml/badge.svg\n[bs2]: http://github.com/LeKovr/webtail/actions/workflows/docker-publish.yml\n[gr1]: https://img.shields.io/github/release/LeKovr/webtail.svg\n[gr2]: https://github.com/LeKovr/webtail/releases\n[gl1]: https://img.shields.io/github/license/LeKovr/webtail.svg\n[gl2]: https://github.com/LeKovr/webtail/blob/master/LICENSE\n\n[webtail](https://github.com/LeKovr/webtail) はウェブサービスと golang パッケージで、websocker 経由で継続的に更新されたファイルをブラウザに公開するために使われます。\n\n![Ping stream sample](screenshot.png)\n\n## インストール\n\n```sh\ngo get -v github.com/LeKovr/webtail/...\n```\n\n### ダウンロード バイナリ\n\n[最新リリース](https://github.com/LeKovr/webtail/releases/latest)を参照\n\n### Docker\n\n0.43.2 以降の docker イメージは、[GitHub Packages](https://ghcr.io) で公開されています\n\n```sh\ndocker pull ghcr.io/lekovr/webtail:latest\n```\n\n使用例は [docker-compose.yml](docker-compose.yml) を参照。\n\nv0.43.1 は [dockerhub で利用可能な最後のバージョン](https://hub.docker.com/repository/docker/lekovr/webtail/tags)です。\n\n## サービスでパッケージを使用する\n\n```go\npackage main\nimport (\n    \"github.com/LeKovr/webtail\"\n)\n\nfunc main() {\n    wt, err := webtail.New(log, cfg)\n    if err != nil {\n        return\n    }\n    go wt.Run()\n    defer wt.Close()\n    // ...\n    http.Handle(\"/tail\", wt)\n}\n```\n\nこちらも参照: [app.go](https://github.com/LeKovr/webtail/blob/master/cmd/webtail/app.go)\n\n## gorilla/websocket に関する注意事項\n\nv0.30 から、このコードは [gorilla/websocket チャット例](https://github.com/gorilla/websocket/tree/master/examples/chat)に基づいています。{client,hub}.go を参照\n\n## ライセンス\n\nMIT ライセンス (MIT)、[LICENSE](LICENSE) を参照のこと。\n\nCopyright (c) 2016-2023 Aleksey Kovrizhkin \u003clekovr+webtail@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeKovr%2Fwebtail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeKovr%2Fwebtail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeKovr%2Fwebtail/lists"}