Skip to content
Snowflake API
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main/java/pw/aru/libs/snowflake
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Snowflake API

A simple but complete Snowflake generation Java API.

Licensed under the MIT License.

Installation

Latest Version

Using in Gradle:

repositories {
  jcenter()
}

dependencies {
  compile 'pw.aru.libs:snowflake:LATEST' // replace LATEST with the version above
}

Using in Maven:

<repositories>
  <repository>
    <id>central</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>pw.aru.libs</groupId>
    <artifactId>snowflake</artifactId>
    <version>LATEST</version> <!-- replace LATEST with the version above -->
  </dependency>
</dependencies>

Usage

This repository contains the interfaces and utilities methods that define a Snowflake Generation API.

Check out the local implementation of this library, Local Snowflakes.

Alternatively, you are free implement your own Snowflake library based on this API.

Support

Support is given on Aru's Discord Server

Aru's Discord Server

You can’t perform that action at this time.