{"id":38811273,"url":"https://github.com/0xcpu/diremon","last_synced_at":"2026-01-17T12:55:41.553Z","repository":{"id":292738920,"uuid":"978362165","full_name":"0xcpu/diremon","owner":"0xcpu","description":"lightweight macOS command-line tool that watches a directory via FSEvents ","archived":false,"fork":false,"pushed_at":"2025-10-31T22:17:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-01T00:10:54.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xcpu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-05-05T21:43:42.000Z","updated_at":"2025-10-31T22:17:22.000Z","dependencies_parsed_at":"2025-05-29T23:28:08.771Z","dependency_job_id":"6d393878-027c-4503-b2ac-e38a12d31caf","html_url":"https://github.com/0xcpu/diremon","commit_stats":null,"previous_names":["0xcpu/diremon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xcpu/diremon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xcpu%2Fdiremon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xcpu%2Fdiremon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xcpu%2Fdiremon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xcpu%2Fdiremon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xcpu","download_url":"https://codeload.github.com/0xcpu/diremon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xcpu%2Fdiremon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-17T12:55:40.882Z","updated_at":"2026-01-17T12:55:41.545Z","avatar_url":"https://github.com/0xcpu.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Xcode - Build and Analyze](https://github.com/0xcpu/diremon/actions/workflows/objective-c-xcode.yml/badge.svg)](https://github.com/0xcpu/diremon/actions/workflows/objective-c-xcode.yml)\n\n# Diremon\n\nDiremon is a lightweight _macOS_ command-line tool that watches a directory via FSEvents and logs activity to _log sinks_.\nIt's intended to be used for monitoring of canary tokens, sensitive files, or directories that should not be modified on _macOS_ systems (especially where the EDR doesn't monitor file system operations).\n\n## Log sinks\n\nCurrently, Diremon supports the following log sinks:\n- `file`: Logs events to `/var/log/diremon/events.log` in JSON format.\n\n## Requirements\n\n- macOS 13.0 or later\n- Xcode 14.0 or later\n\n## Build\n\n1. Clone the repository\n2. Open `diremon.xcodeproj` in Xcode\n3. Build and run the project\n\n## Usage\n\nTo use Diremon, you need to specify the path to the directory you want to monitor. The command is as follows:\n```\nsudo diremon \u003cpath to monitor\u003e\n```\n\n### Debugging\n\n`Debug` and `Info` log level events are logged to the console. Use `com.cpu.diremon` as the subsystem to filter logs in Console.app.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xcpu%2Fdiremon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xcpu%2Fdiremon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xcpu%2Fdiremon/lists"}