Skip to content

JDevKit is a Java Dev Kit offering essential tools for streamlined development. It includes common components, WebCal (RFC5545) support, GUID generation, and JWT features. Designed to enhance efficiency across projects of all sizes.

License

OnixByte/JDevKit

Repository files navigation

JDevKit

JDevKit is a Java Development Kit that offers a set of convenient tools for writing code efficiently.

Modules

For more information, please visit the README file of each module.

devkit-core Learn more

The core module for JDevKit, by now, this module contains the commonly used classes of the whole dev-kit.

devkit-utils Learn more

A collection of common utility classes to simplify Java development. It includes tools for Base64 encoding/decoding of strings, reducing if-else code blocks using Lambda expressions, converting between maps and arbitrary objects, high-precision chained mathematical calculations, and string hashing or message digest calculations.

A module for generating globally unique IDs. It includes a facade interface and an implementation of GUID generation using the Snowflake algorithm. More globally unique ID generation modes will be added in the future.

WebCal Learn more

The module webcal is a Java library that facilitates the generation and resolution of iCalendar content for web-based calendar applications. It provides a flexible and easy-to-use API for creating web calendars with customisable settings and events.

With the webcal module, developers can easily integrate calendar functionality into web applications, enabling users to view, add, and manage events in a structured and standardized format. It is designed to simplify calendar-related tasks and enhance the overall user experience when dealing with calendar data on the web.

Please note that the webcal module adheres to the iCalendar standard specified in RFC 5545, ensuring compatibility with other calendar applications that support this format.

simple-jwt-facade Learn more

A facade for Simple JWT (JSON Web Token) implementations in Java. This module provides a unified interface to work with JWTs regardless of the underlying implementation.

simple-jwt-authzero Learn more

A Simple JWT implementation using the com.auth0:java-jwt library.

simple-jwt-jjwt Learn more

A Simple JWT implementation using the io.jsonwebtoken:jjwt-api library.

simple-jwt-spring-boot-starter Learn more

A Spring Boot autoconfiguration wrapper for the simple-jwt module, making it easier to integrate JWT functionality into Spring Boot applications.

Installation and Usage

Before Installation

For Chinese Mainland users, it is suggested to use maven packages services provided by coding.net.

You could follow the following steps to configure.

For Maven

You could add the following codes to register Coding Nexus to your Maven.

<repository>
    <id>codecrafters-coding-nexus</id>
    <name>codecrafters-coding-nexus</name>
    <url>https://codecrafters-maven.pkg.coding.net/repository/common-productions/maven-packages/</url>
    <releases>
        <enabled>true</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

For Gradle

You could add a new repository to Gradle repositories closure.

maven { url 'https://codecrafters-maven.pkg.coding.net/repository/common-productions/maven-packages/' }
maven(url = "https://codecrafters-maven.pkg.coding.net/repository/common-productions/maven-packages/")

If you are using Maven, please paste the following codes to pom.xml in your project.

<dependency>
    <groupId>cn.org.codecrafters</groupId>
    <artifactId>${artifactId}</artifactId>
    <version>${version}</version>
</dependency>

If you are using Gradle, please paste the following codes to buile.gradle[.kts] in your project.

implementation 'cn.org.codecrafters:$artifactId:$version'
implementation("cn.org.codecrafters:$artifactId:$version")

If you want to check the available versions, please check out at our official site.

Contribution

Contributions are welcome! If you encounter any issues or want to contribute to the project, please feel free to raise an issue or submit a pull request.

License

This project is licensed under the Apache License 2.0.

Contact

If you have any suggestions, ideas, don't hesitate contacting us via GitHub Issues or Discord Community.

If you face any bugs while using our library and you are able to fix any bugs in our library, we would be happy to accept pull requests from you on GitHub.

About

JDevKit is a Java Dev Kit offering essential tools for streamlined development. It includes common components, WebCal (RFC5545) support, GUID generation, and JWT features. Designed to enhance efficiency across projects of all sizes.

Topics

Resources

License

Stars

Watchers

Forks

Languages