{"id":15352435,"url":"https://github.com/vorburger/ch.vorburger.fswatch","last_synced_at":"2025-10-17T16:22:01.274Z","repository":{"id":28769326,"uuid":"119279809","full_name":"vorburger/ch.vorburger.fswatch","owner":"vorburger","description":"Java lib for monitoring directories or individual files via java.nio.file.WatchService","archived":false,"fork":false,"pushed_at":"2025-10-03T22:34:27.000Z","size":113,"stargazers_count":31,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T00:23:26.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/vorburger.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":"SECURITY.md","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},"funding":{"github":"vorburger","patreon":"vorburger","open_collective":"vorburger","ko_fi":"vorburger","tidelift":"maven/ch.vorburger.mariaDB4j","community_bridge":"MariaDB4j","liberapay":"vorburger","issuehunt":"vorburger","custom":"https://www.paypal.me/MichaelVorburgerCH"}},"created_at":"2018-01-28T17:12:12.000Z","updated_at":"2025-10-03T22:34:24.000Z","dependencies_parsed_at":"2025-04-13T21:35:13.452Z","dependency_job_id":"cb8ea158-3c8b-44d8-a165-df293a13712d","html_url":"https://github.com/vorburger/ch.vorburger.fswatch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vorburger/ch.vorburger.fswatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorburger%2Fch.vorburger.fswatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorburger%2Fch.vorburger.fswatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorburger%2Fch.vorburger.fswatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorburger%2Fch.vorburger.fswatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vorburger","download_url":"https://codeload.github.com/vorburger/ch.vorburger.fswatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorburger%2Fch.vorburger.fswatch/sbom","scorecard":{"id":1238458,"data":{"date":"2025-08-25","repo":{"name":"github.com/vorburger/ch.vorburger.fswatch","commit":"5104a01cb1ff094123b74bd18ba73c77675e6d57"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":5.7,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/maven.yml:23","Warn: no topLevel permission defined: .github/workflows/maven.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vorburger/ch.vorburger.fswatch/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/vorburger/ch.vorburger.fswatch/maven.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/maven.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/vorburger/ch.vorburger.fswatch/maven.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-10-04T00:23:27.413Z","repository_id":28769326,"created_at":"2025-10-04T00:23:27.413Z","updated_at":"2025-10-04T00:23:27.413Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279374873,"owners_count":26157967,"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","status":"online","status_checked_at":"2025-10-17T02:00:07.504Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-01T12:09:29.733Z","updated_at":"2025-10-17T16:22:01.224Z","avatar_url":"https://github.com/vorburger.png","language":"Java","funding_links":["https://github.com/sponsors/vorburger","https://patreon.com/vorburger","https://opencollective.com/vorburger","https://ko-fi.com/vorburger","https://tidelift.com/funding/github/maven/ch.vorburger.mariaDB4j","https://funding.communitybridge.org/projects/MariaDB4j","https://liberapay.com/vorburger","https://issuehunt.io/r/vorburger","https://www.paypal.me/MichaelVorburgerCH"],"categories":["Projects","项目"],"sub_categories":["Utility","实用程序"],"readme":"# ch.vorburger.fswatch\n\nJava lib for monitoring directories or individual files based on the `java.nio.file.WatchService`.\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/ch.vorburger/fswatch/badge.svg)](https://maven-badges.herokuapp.com/maven-central/ch.vorburger/fswatch)\n[![Javadocs](http://www.javadoc.io/badge/ch.vorburger/fswatch.svg)](http://www.javadoc.io/doc/ch.vorburger/fswatch)\n[![Build Status](https://app.travis-ci.com/vorburger/ch.vorburger.fswatch.svg?branch=master)](https://app.travis-ci.com/vorburger/ch.vorburger.fswatch)\n\n## Usage\n\n[Get it from Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22ch.vorburger%22%20AND%20a%3A%22fswatch%22) and see [the ExampleMain class](src/test/java/ch/vorburger/fswatch/test/ExampleMain.java) for how to use this library.\n\n\n\n## History\n\nThis code was originally (in 2015) written for https://github.com/vorburger/HoTea,\nand factored out of it in 2018 for re-use in project https://github.com/vorburger/ch.vorburger.osgi.gradle.\n\n## Related projects\n\n* https://github.com/google/guava/issues/2030\n* [commons-io](https://commons.apache.org/proper/commons-io/) with its [File Monitor](https://commons.apache.org/proper/commons-io/javadocs/api-release/index.html?org/apache/commons/io/monitor/package-summary.html): Polling, not using Java 7+ NIO WatchService.\n* https://github.com/Hindol/commons\n* https://github.com/SenorArchitect/fswatcher: NOK due to https://github.com/SenorArchitect/fswatcher/issues/2 :-(\n* https://github.com/azemm/FsWatcher\n* https://github.com/encima/FSWatcher7\n* https://www.teamdev.com/jxfilewatcher: Commercial, are they serious?!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvorburger%2Fch.vorburger.fswatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvorburger%2Fch.vorburger.fswatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvorburger%2Fch.vorburger.fswatch/lists"}