{"id":48805567,"url":"https://github.com/spectra010s/fstrace","last_synced_at":"2026-04-14T05:01:24.547Z","repository":{"id":350935145,"uuid":"1208814117","full_name":"Spectra010s/fstrace","owner":"Spectra010s","description":"A lightweight file system watcher for files and folders.","archived":false,"fork":false,"pushed_at":"2026-04-12T20:48:53.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T22:21:40.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Spectra010s.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-12T19:23:36.000Z","updated_at":"2026-04-12T20:44:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Spectra010s/fstrace","commit_stats":null,"previous_names":["spectra010s/fstrace"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Spectra010s/fstrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spectra010s%2Ffstrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spectra010s%2Ffstrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spectra010s%2Ffstrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spectra010s%2Ffstrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spectra010s","download_url":"https://codeload.github.com/Spectra010s/fstrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spectra010s%2Ffstrace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":[],"created_at":"2026-04-14T05:01:22.457Z","updated_at":"2026-04-14T05:01:24.541Z","avatar_url":"https://github.com/Spectra010s.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fstrace\n\nA lightweight file system watcher for files and folders.\n\n## Installation\n\n**Linux / macOS:**\n```sh\ncurl -fsSL https://spectra010s.github.io/fstrace/install.sh | sh\n```\n\n**Android (Termux):**\n```sh\ncurl -fsSL https://spectra010s.github.io/fstrace/install.sh | sh\n```\n\n**Windows:**\n```ps1\niex (irm https://spectra010s.github.io/fstrace/install.ps1)\n```\n\n**npm:**\n```sh\nnpm install -g @hiverra/fstrace\n```\n\n**cargo:**\n```sh\ncargo install fstrace\n```\n\n**Build from source:**\n```bash\ngit clone https://github.com/Spectra010s/fstrace.git\ncd fstrace\ncargo build --release\ncp target/release/fstrace $PREFIX/bin/fstrace\n```\n\n---\n\n## Usage\n\n```bash\nfstrace \u003cpath\u003e [options]\n```\n\n**Watch a file:**\n```bash\nfstrace file.txt\n```\n\n**Watch a folder:**\n```bash\nfstrace ./myproject\n```\n\n**Exclude folders or files:**\n```bash\nfstrace ./myproject --exclude node_modules --exclude .git\n```\n\n**JSON output:**\n```bash\nfstrace ./myproject --json\n```\n\n**Combine flags:**\n```bash\nfstrace ./myproject --exclude node_modules --json\n```\n\n---\n\n## Events\n\n| Event      | Description         |\n|------------|---------------------|\n| `created`  | A file was created  |\n| `modified` | A file was modified |\n| `deleted`  | A file was deleted  |\n\n---\n\n## JSON Output\n\nWhen using `--json`, each event is a single line of JSON:\n\n```json\n{\"event\":\"modified\",\"path\":\"/home/user/project/index.js\",\"timestamp\":1744392000}\n```\n\nUseful for consuming events in other tools or scripts:\n\n```js\nimport { spawn } from \"child_process\";\n\nconst proc = spawn(\"fstrace\", [\"./project\", \"--json\"]);\n\nproc.stdout.on(\"data\", (data) =\u003e {\n  const event = JSON.parse(data);\n  console.log(event.event, event.path);\n});\n```\n\n---\n\n## Options\n\n| Flag                    | Description                          |\n|-------------------------|--------------------------------------|\n| `--exclude \u003cname\u003e`      | Exclude a file or folder (repeatable)|\n| `--json`                | Output events as JSON                |\n| `-v, --version`         | Show version                         |\n| `-h, --help`            | Show help                            |\n\n---\n\n## License\n\nMIT — see the [LICENSE](LICENSE) file for details.\n\n---\n\nWritten by [Spectra010s](https://spectra010s.vercel.app)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectra010s%2Ffstrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectra010s%2Ffstrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectra010s%2Ffstrace/lists"}