{"id":13582101,"url":"https://github.com/cmuench/inotify-proxy","last_synced_at":"2025-06-26T18:35:43.339Z","repository":{"id":37282469,"uuid":"287581482","full_name":"cmuench/inotify-proxy","owner":"cmuench","description":"A utility to help detect file changes in docker containers where filesystem is mounted by NFS. It's much more powerful and faster than other similar solutions.","archived":false,"fork":false,"pushed_at":"2024-03-05T16:50:55.000Z","size":97,"stargazers_count":20,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T21:45:47.980Z","etag":null,"topics":["docker","docker-container","filesystem","inotify","inotify-proxy","mount","nfs","watcher"],"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/cmuench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-14T16:51:18.000Z","updated_at":"2024-11-01T08:23:41.000Z","dependencies_parsed_at":"2022-08-25T20:40:32.261Z","dependency_job_id":"1009da04-42d9-4156-8bc8-34cd30a5432f","html_url":"https://github.com/cmuench/inotify-proxy","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmuench%2Finotify-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmuench%2Finotify-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmuench%2Finotify-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmuench%2Finotify-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmuench","download_url":"https://codeload.github.com/cmuench/inotify-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224091898,"owners_count":17254152,"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","docker-container","filesystem","inotify","inotify-proxy","mount","nfs","watcher"],"created_at":"2024-08-01T15:02:25.680Z","updated_at":"2024-11-11T11:16:09.668Z","avatar_url":"https://github.com/cmuench.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# inotify-proxy\n\n![Maintenance Badge](https://img.shields.io/maintenance/yes/2024.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cmuench/inotify-proxy)](https://goreportcard.com/report/github.com/cmuench/inotify-proxy)\n[![Go Github Action Workflow](https://github.com/cmuench/inotify-proxy/workflows/Go/badge.svg)](https://github.com/cmuench/inotify-proxy/actions?query=workflow%3AGo)\n\nThis tools helps to detect changed files in Docker Containers or in Virtual Machines (e.g. Vagrant).\nIf a file is changed from host system a file watcher inside the container detects the change\nand triggers an inotify event.\n\nThe tool is designed to run over a longer period of time. It comes with a garbage collector to cleanup old watched files in memory.\n\nInstallation is simple -\u003e It's one binary which can be downloaded and executed.\n\n## Purpose\n\nEnables file watcher in a Docker Container/Virtual Machine with a NFS mounted filesystem.\n\n## Installation\n\n- Download compiled application on release page: https://github.com/cmuench/inotify-proxy/releases\n- Extract the zip/tarball.\n- Run `./inotify-proxy` binary.\n\nSee Wiki page for more informations.\nhttps://github.com/cmuench/inotify-proxy/wiki/Installation\n\n## Usage\n\n    Usage of ./inotify-proxy:\n      -no-config\n            Do not load config.\n      -profile string\n            Defines a special profile with extensions to look for. This speeds up the process. Available profiles are 'magento2-theme' (default \"default\")\n      -sleep int\n            Cycle time in seconds. Defines time to sleep after each filesystem walk. Default 2s (default 2)\n\n### Examples\n\n    # Magento 2 Profile\n    ./inotify-proxy -profile magento2 path/to/your/project\n    \n    # Change frequence of file checks to 5s (default 2s)\n    ./inotify-proxy -sleep 5 path/to/your/project\n    \n    # Multiple pathes to watch ...\n    ./inotify-proxy project/path1 project/path2 \n\n### Config\n\nIf the file `inotify-proxy.yaml` exist in the current working directory, it will be applied.\n\nExample config:\n\n    ---\n    watch:\n    - directory: /tmp/watch1\n      profile: magento2\n\n    - directory: /tmp/watch2\n      profile: sass\n\n    - directory: /tmp/watch3\n      extensions: [.css, .html]\n\nThe profile setting is optional.\nThe config loading can be skipped by adding the option `-no-config`.    \n\n## Supported Profiles\n\n| Profile        | Allowed file extensions                         |\n|----------------|-------------------------------------------------|\n| default        | All extensions are allowed                      |\n| javascript     | .js .ts                                         |\n| less           | .less                                           |\n| magento2       | .css .html .less .sass .js .php .phtml .ts .xml |\n| magento2-theme | .css .hs .less .sass .ts                        |\n| sass           | .sass .scss                                     |\n| vue-storefront | .css .js .sass .ts                              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmuench%2Finotify-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmuench%2Finotify-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmuench%2Finotify-proxy/lists"}