{"id":25334213,"url":"https://github.com/milkdrinkers/versionwatch","last_synced_at":"2025-07-05T22:35:43.194Z","repository":{"id":269312295,"uuid":"907029320","full_name":"milkdrinkers/VersionWatch","owner":"milkdrinkers","description":"Lightweight Java library to fetch the latest software versions from Spigot, Modrinth, GitHub, and more, with SemVer parsing and sync/async support.","archived":false,"fork":false,"pushed_at":"2025-06-24T21:18:04.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T22:27:14.640Z","etag":null,"topics":["async","builtbybit","bukkit","curseforge","github-api","gradle","hangar","java","java-8","java-library","maven","minecraft-plugins","modrinth","paper","polymart","semver","spigot","update-checker","version-checker"],"latest_commit_sha":null,"homepage":"https://milkdrinkers.athyrium.eu/versionwatch","language":"Java","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/milkdrinkers.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"ko_fi":"darksaid98","patreon":"darksaid98","github":["darksaid98"]}},"created_at":"2024-12-22T16:04:25.000Z","updated_at":"2025-06-24T21:18:05.000Z","dependencies_parsed_at":"2024-12-22T17:19:24.586Z","dependency_job_id":"a24b8ef7-9d84-4a37-8aba-c1194299a589","html_url":"https://github.com/milkdrinkers/VersionWatch","commit_stats":null,"previous_names":["milkdrinkers/versionwatch"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/milkdrinkers/VersionWatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkdrinkers%2FVersionWatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkdrinkers%2FVersionWatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkdrinkers%2FVersionWatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkdrinkers%2FVersionWatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milkdrinkers","download_url":"https://codeload.github.com/milkdrinkers/VersionWatch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkdrinkers%2FVersionWatch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263818949,"owners_count":23516092,"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":["async","builtbybit","bukkit","curseforge","github-api","gradle","hangar","java","java-8","java-library","maven","minecraft-plugins","modrinth","paper","polymart","semver","spigot","update-checker","version-checker"],"created_at":"2025-02-14T05:38:24.836Z","updated_at":"2025-07-05T22:35:43.181Z","avatar_url":"https://github.com/milkdrinkers.png","language":"Java","readme":"\u003ch1 style=\"text-align:center;\"\u003eVersionWatch\u003c/h1\u003e\n\n\u003cp style=\"text-align:center;\"\u003e\n    \u003ca href=\"https://github.com/milkdrinkers/VersionWatch/blob/main/LICENSE\"\u003e\n        \u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/milkdrinkers/VersionWatch?style=for-the-badge\u0026color=blue\u0026labelColor=141417\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://central.sonatype.com/artifact/io.github.milkdrinkers/versionwatch\"\u003e\n        \u003cimg alt=\"Maven Central Version\" src=\"https://img.shields.io/maven-central/v/io.github.milkdrinkers/versionwatch?style=for-the-badge\u0026labelColor=141417\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://milkdrinkers.athyrium.eu/versionwatch\"\u003e\n        \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/DOCUMENTATION-900C3F?style=for-the-badge\u0026labelColor=141417\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://javadoc.io/doc/io.github.milkdrinkers/versionwatch\"\u003e\n        \u003cimg alt=\"Javadoc\" src=\"https://img.shields.io/badge/JAVADOC-8A2BE2?style=for-the-badge\u0026labelColor=141417\"\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/milkdrinkers/VersionWatch/ci.yml?style=for-the-badge\u0026labelColor=141417\"\u003e\n    \u003ca href=\"https://github.com/milkdrinkers/VersionWatch/issues\"\u003e\n        \u003cimg alt=\"GitHub Issues\" src=\"https://img.shields.io/github/issues/milkdrinkers/VersionWatch?style=for-the-badge\u0026labelColor=141417\"\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/milkdrinkers/VersionWatch?style=for-the-badge\u0026labelColor=141417\"\u003e\n\u003c/p\u003e\n\n**VersionWatch** is a lightweight, easy-to-use Java library that simplifies version monitoring across popular software distribution platforms.\n\nIt supports both synchronous and asynchronous requests and leverages **Semantic Versioning (SemVer)** for parsing and comparing versions via the [`Java-Semver`](https://github.com/MilkDrinkers/Java-Semver) library.\n\n---\n\n## 🌟 Features\n\n- **Java 8+ compatible**: Works with older and modern Java environments.  \n- **Sync/Async support**: Choose between blocking or non-blocking requests.  \n- **Well-tested**: Robust JUnit test coverage ensures reliability.  \n- **Simple API**: Minimal setup and intuitive methods.  \n- **SemVer Support**: Built on [`Java-Semver`](https://github.com/MilkDrinkers/Java-Semver) for reliable parsing and comparison of semantic versions.  \n- **Light**: The library is built with bundle size in mind to keep your application small.\n- **Wide Support**: Supports fetching versions from **Spigot**, **Modrinth**, **CurseForge**, **GitHub**, **Hangar**, **BuiltByBit** and **Polymart**. \n\n## 📦 Installation\n\nAdd VersionWatch and its `Java-Semver` dependency to your project with Maven or Gradle:\n\n\u003cdetails\u003e\n\u003csummary\u003eGradle Kotlin DSL\u003c/summary\u003e\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation(\"io.github.milkdrinkers:versionwatch:LATEST_VERSION\")\n    implementation(\"io.github.milkdrinkers:javasemver:LATEST_VERSION\")\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eMaven\u003c/summary\u003e\n\n```xml\n\u003cproject\u003e\n    \u003cdependencies\u003e\n        \u003cdependency\u003e  \n            \u003cgroupId\u003eio.github.milkdrinkers\u003c/groupId\u003e  \n            \u003cartifactId\u003eversionwatch\u003c/artifactId\u003e  \n            \u003cversion\u003eLATEST_VERSION\u003c/version\u003e  \n        \u003c/dependency\u003e  \n        \u003cdependency\u003e  \n            \u003cgroupId\u003eio.github.milkdrinkers\u003c/groupId\u003e  \n            \u003cartifactId\u003ejavasemver\u003c/artifactId\u003e  \n            \u003cversion\u003eLATEST_VERSION\u003c/version\u003e  \n        \u003c/dependency\u003e  \n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\u003c/details\u003e\n\n## Usage Example 🚀\n```java\nimport io.github.milkdrinkers.javasemver.Version;\nimport io.github.milkdrinkers.versionwatch.Platform;\nimport io.github.milkdrinkers.versionwatch.VersionWatcher;\n\nfinal Version currentVersion = Version.of(\"1.0.0\");\n\n// Build a version watcher for spigot\nfinal VersionWatcher watcher = VersionWatcher.builder()\n    .withPlatform(Platform.Spigot)\n    .withVersion(currentVersion)\n    .withResourceId(\"1234567\")\n    .withAgent(\"VersionWatch\")\n    .build();\n\n// Fetch the latest version with a blocking request\nfinal Version latestVersion = watcher.fetchLatest(); // The result is cached in the watcher\n\nSystem.out.println(\"Has update: \" + !watcher.isLatest().toString())  \n```\n\n## 📚 Documentation \n\n- [Full Javadoc Documentation](https://javadoc.io/doc/io.github.milkdrinkers/versionwatch)\n- [Documentation](https://milkdrinkers.athyrium.eu/versionwatch)\n- [Maven Central](https://central.sonatype.com/artifact/io.github.milkdrinkers/versionwatch)\n\n---\n\n## 🔨 Building from Source \n\n```bash\ngit clone https://github.com/milkdrinkers/VersionWatch.git\ncd versionwatch\n./gradlew publishToMavenLocal\n```\n\n---\n\n## 🔧 Contributing\n\nContributions are always welcome! Please make sure to read our [Contributor's Guide](CONTRIBUTING.md) for standards and our [Contributor License Agreement (CLA)](CONTRIBUTOR_LICENSE_AGREEMENT.md) before submitting any pull requests.\n\nWe also ask that you adhere to our [Contributor Code of Conduct](CODE_OF_CONDUCT.md) to ensure this community remains a place where all feel welcome to participate.\n\n---\n\n## 📝 Licensing\n\nYou can find the license the source code and all assets are under [here](../LICENSE). Additionally, contributors agree to the Contributor License Agreement \\(*CLA*\\) found [here](CONTRIBUTOR_LICENSE_AGREEMENT.md).\n","funding_links":["https://ko-fi.com/darksaid98","https://patreon.com/darksaid98","https://github.com/sponsors/darksaid98"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilkdrinkers%2Fversionwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilkdrinkers%2Fversionwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilkdrinkers%2Fversionwatch/lists"}