{"id":20597197,"url":"https://github.com/cathive/dart-file-tailer","last_synced_at":"2026-04-20T00:10:26.410Z","repository":{"id":247784082,"uuid":"826841126","full_name":"cathive/dart-file-tailer","owner":"cathive","description":"File tailing functionality for Dart/Flutter.","archived":false,"fork":false,"pushed_at":"2024-11-15T19:51:14.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T01:08:09.557Z","etag":null,"topics":["dart-library","dart-package"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/file_tailer","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cathive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-07-10T13:37:07.000Z","updated_at":"2025-01-06T03:05:12.000Z","dependencies_parsed_at":"2024-07-10T16:09:14.569Z","dependency_job_id":"a47bb290-1103-419e-847a-a5e396fad071","html_url":"https://github.com/cathive/dart-file-tailer","commit_stats":null,"previous_names":["cathive/dart-file-tailer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Fdart-file-tailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Fdart-file-tailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Fdart-file-tailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Fdart-file-tailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cathive","download_url":"https://codeload.github.com/cathive/dart-file-tailer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242231441,"owners_count":20093636,"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":["dart-library","dart-package"],"created_at":"2024-11-16T08:21:02.059Z","updated_at":"2026-04-20T00:10:26.357Z","avatar_url":"https://github.com/cathive.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file_tailer\n\nA cross-platform file tailing library for Dart.\n\nThe file_tailer package provides functionality to read the stream the contents of a file to which data might be appended. This is especially useful for log files.\n\nThe functionality of this library should be similar to the experience when using the `tail`\ncommand on the shell.\n\n## Using\n\nThe file_tailer library was designed to be used without a prefix.\n\n```dart\nimport 'package:file_tailer/file_tailer.dart';\n```\n\nThe most common way to use this library to stream log files is by handling the data that is emitted\nby tailing a file:\n\n```dart\nimport 'dart:convert' show LineSplitter, utf8;\nimport 'dart:io' show File, stderr, stdout;\n\nimport 'package:file_tailer/file_tailer.dart' show tailFile;\n\nvoid main(List\u003cString\u003e arguments) {\n  if (arguments.length != 1) {\n    stderr.write('You need to provide exactly one file to be tailed.\\n');\n  }\n  final (stream, _) = tailFile(File(arguments.first), follow: true, bytes: '+0');\n  stream\n      .transform(utf8.decoder)\n      .transform(const LineSplitter())\n      .forEach((line) async =\u003e stdout.write('$line\\n'));\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcathive%2Fdart-file-tailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcathive%2Fdart-file-tailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcathive%2Fdart-file-tailer/lists"}