{"id":19307429,"url":"https://github.com/codexlynx/notify-fs","last_synced_at":"2025-02-24T02:42:54.634Z","repository":{"id":43345785,"uuid":"510919158","full_name":"codexlynx/notify-fs","owner":"codexlynx","description":"Connecting filesystem events with instant messaging","archived":false,"fork":false,"pushed_at":"2022-07-06T18:49:00.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-06T01:11:23.700Z","etag":null,"topics":["events","filesystem","inotify","notification","telegram"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codexlynx.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":"2022-07-05T23:04:13.000Z","updated_at":"2022-07-05T23:06:48.000Z","dependencies_parsed_at":"2022-07-08T07:44:34.697Z","dependency_job_id":null,"html_url":"https://github.com/codexlynx/notify-fs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexlynx%2Fnotify-fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexlynx%2Fnotify-fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexlynx%2Fnotify-fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codexlynx%2Fnotify-fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codexlynx","download_url":"https://codeload.github.com/codexlynx/notify-fs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240409358,"owners_count":19796789,"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":["events","filesystem","inotify","notification","telegram"],"created_at":"2024-11-10T00:10:54.987Z","updated_at":"2025-02-24T02:42:54.607Z","avatar_url":"https://github.com/codexlynx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## notify-fs\n[![AUR](https://img.shields.io/github/license/codexlynx/notify-fs)](LICENSE) [![](https://goreportcard.com/badge/github.com/codexlynx/notify-fs)](https://goreportcard.com/report/github.com/codexlynx/notify-fs)\n\nConnecting filesystem events with instant messaging.\n\n### Behaviour:\nWhen a file is created in the watched directory, it is automatically sent to the configured chat.\n\n### Technology:\nThis service uses the [fsnotify](https://github.com/fsnotify/fsnotify) library. This library \nuses the system call `SYS_INOTIFY_INIT1` (294) on Linux systems and `ReadDirectoryChangesW` on Windows systems.\n\n### Configuration:\nThis service is configured via environment variables.\n\n| Variable Name      | Description             |\n|--------------------|-------------------------|\n| `TARGET_DIRECTORY` | Directory to watch      |\n| `TELEGRAM_TOKEN`   | Telegram bot token      |\n| `TARGET_CHAT_ID`   | Telegram target chat id |\n| `ONLY_IMAGES`      | Send only images        |\n\n### Run:\n\nYou can compile the binary.\n\n#### Compile:\n* Requirements:\n    * A version of __Docker__ with __BuildKit__ support.\n    * GNU __make__ utility.\n\n* Procedure:\n    * Run: `make`.\n    * Check the correct creation of `dist` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexlynx%2Fnotify-fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodexlynx%2Fnotify-fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexlynx%2Fnotify-fs/lists"}