GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - EternalCodeTeam/GitCheck: ✔ Git repository version checker

This repository was archived by the owner on Nov 15, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
gradle/wrapper
gradle/wrapper
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
renovate.json
renovate.json
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

⚠️ This repository has been deprecated since November 15th, 2025. If you would like to use an updater system, please refer to EternalCodeCommons

✔ GitCheck

GitCheck is a Java library that makes it easy to check for updates to a GitHub repository. It utilizes the GitHub API to retrieve information about the latest release and compares it to the current version of your application. With GitCheck, you can ensure that your users are always running the latest version of your software.

Features

  • Simple and easy-to-use API
  • Lightweight and efficient
  • Supports Java 9 and above
  • Utilizes the GitHub API for retrieving release information

Installation

To use GitCheck in your project, if you are using Gradle, add the following to your build.gradle file:

maven { url = uri("https://repo.eternalcode.pl/releases") }
implementation("com.eternalcode:gitcheck:1.0.0")

Or, if you are using Maven, add the following to your pom.xml file:

<repository>
    <id>eternalcode-releases</id>
    <url>https://repo.eternalcode.pl/releases</url>
</repository>
<dependency>
    <groupId>com.eternalcode</groupId>
    <artifactId>gitcheck</artifactId>
    <version>1.0.0</version>
</dependency>

API Usage

To use GitCheck, you need to create an instance of the GitCheck class. Create GitRepository and GitTag objects to specify the repository and the current version of your application. Then, call the checkRelease method to check for updates.

public class MyApplication {

    public static void main(String[] args) {
        GitCheck gitCheck = new GitCheck();
        GitRepository repository = GitRepository.of("Owner", "Project");

        GitCheckResult result = gitCheck.checkRelease(repository, GitTag.of("v1.0.0"));

        if (!result.isUpToDate()) {
            GitRelease release = result.getLatestRelease();
            GitTag tag = release.getTag();

            System.out.println("A new version is available: " + tag.getTag());
            System.out.println("See release page: " + release.getPageUrl());
            System.out.println("Release date: " + release.getPublishedAt());
        }
        
        // ...
    }

}

In this example, GitCheck is used to check for updates to the repository Owner/Project with the current version v1.0.0. If a new version is available, the details of the release are printed to the console.

Contributing

We welcome contributions to GitCheck! If you have an idea for a new feature or have found a bug that needs to be fixed, you can open an issue or submit a pull request with your changes. See CONTRIBUTING.md for more information.

License

GitCheck is licensed under the MIT License. See the LICENSE file for more information.

About

✔ Git repository version checker

Topics

gitgit-libraryhacktoberfestjavajava-librarylibrarieslibrary

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

11 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.