{"id":44500918,"url":"https://github.com/stonedot/regtail","last_synced_at":"2026-02-13T07:02:14.581Z","repository":{"id":37797495,"uuid":"162786666","full_name":"StoneDot/regtail","owner":"StoneDot","description":"Regex base tail written in Rust","archived":false,"fork":false,"pushed_at":"2023-03-20T16:59:52.000Z","size":247,"stargazers_count":9,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-09T22:12:06.988Z","etag":null,"topics":["monitor","regex","rust","tail"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/StoneDot.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}},"created_at":"2018-12-22T06:13:16.000Z","updated_at":"2023-08-09T22:12:06.988Z","dependencies_parsed_at":"2023-02-14T09:05:35.528Z","dependency_job_id":null,"html_url":"https://github.com/StoneDot/regtail","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"purl":"pkg:github/StoneDot/regtail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneDot%2Fregtail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneDot%2Fregtail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneDot%2Fregtail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneDot%2Fregtail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StoneDot","download_url":"https://codeload.github.com/StoneDot/regtail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneDot%2Fregtail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["monitor","regex","rust","tail"],"created_at":"2026-02-13T07:02:11.355Z","updated_at":"2026-02-13T07:02:14.577Z","avatar_url":"https://github.com/StoneDot.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# regtail\nRegex base tail written in Rust.\n\n[![Build Status](https://app.travis-ci.com/StoneDot/regtail.svg?branch=main)](https://app.travis-ci.com/StoneDot/regtail)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n\n## Documentation quick links\n\n* [Why regtail?](#why-regtail)\n* [Installation](#installation)\n* [Development](#development)\n\n# Why regtail?\n`tail -F` is very common way to monitor log files.\nAlthough it requires specify the monitored files before it's launched as below.\n\n```bash\n\u003e ls\nlog.20190101 log.20190102\n\u003e tail -F log.*\n==\u003e log.20190101 \u003c==\nThis is log.20190101\n\n==\u003e log.20190102 \u003c==\nThis is log.20190102\n```\n\nIt seems to be sufficient to monitor all log files. But actually this IS NOT\nthe sufficient way as follows:\n\n```bash\nterm1 \u003e ls\nlog.20190101 log.20190102\nterm1 \u003e tail -F log.*\n==\u003e log.20190101 \u003c==\nThis is log.20190101\n\n==\u003e log.20190102 \u003c==\nThis is log.20190102\nterm2 \u003e echo \"This is log.20190103\" \u003e log.20190103\nterm1 \u003e # No output on term1\n```\n\nNewly created file is not monitored at all!\n\nThis problem is solved by regtail! You just run regtail with no arguments as follows:\n\n```bash\nterm1 \u003e ls\nlog.20190101 log.20190102\nterm1 \u003e regtail\n==\u003e log.20190101 \u003c==\nThis is log.20190101\n\n==\u003e log.20190102 \u003c==\nThis is log.20190102\nterm2 \u003e echo \"This is log.20190103\" \u003e log.20190103\nterm1 \u003e # term1 output is below\n\n==\u003e log.20190103 \u003c==\nThis is log.20190103\n```\n\nMoreover you can specify target files with regular expression as follow:\n\n```bash\n\u003e ls\nerror.20180101 error.20190101 error.20190102 log.20190101 log.20190102\n\u003e regtail 'error\\.\\d{4}0101'\n==\u003e error.20180101 \u003c==\nThis is error.20180101\n\n==\u003e error.20190101 \u003c==\nThis is error.20190101\n```\n\nRegtail is the perfect way to monitor your log files in all situation, isn't it?\n\n# Installation\n## Homebrew\n```bash\nbrew tap StoneDot/regtail\nbrew install regtail\n```\n\n## Binary\n```bash\n# Linux x86_64\nwget https://github.com/StoneDot/regtail/releases/download/v0.1.1/regtail-v0.1.1-x86_64-unknown-linux-gnu.tar.gz\ntar zxf regtail-v0.1.1-x86_64-unknown-linux-gnu.tar.gz\ncd regtail-v0.1.1-x86_64-unknown-linux-gnu\nsudo cp regtail /usr/local/bin\n```\n\n## Source build\n```bash\nwget https://github.com/StoneDot/regtail/archive/v0.1.1.tar.gz\ntar zxf v0.1.1.tar.gz\ncd regtail-0.1.1\ncargo install --root $HOME --path .\nexport PATH=\"$HOME/bin:$PATH\"\n```\n\n# Benchmark\n```shell\n$ sudo -s\n# On your root session type below\n# CAUTION: Internally,\n$ cargo bench\n```\n\n# Development\nWe use git pre-commit hook to ensure that the code is well formatted and clippy does not raise warning.\nYou should follow below instructions before starting development.\n\n```shell\n# Install the pre-commit framework\n# See: https://pre-commit.com/\n$ pre-commit install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonedot%2Fregtail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstonedot%2Fregtail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonedot%2Fregtail/lists"}