Skip to content

universal-development/youtube-id-generator

Repository files navigation

youtube-id-generator

Build Status

Easy generation of 'Youtube' like id from Java.

Download

Gradle:

repositories {
    maven {
        url "https://mvn.universal-development.com/public" 
    }
}
...
implementation 'com.unidev.idgenerator:youtube-id-generator:0.0.12'

Example :

import com.unidev.idgenerator.YoutubeIdGenerator;

YoutubeIdGenerator youtubeIdGenerator = new YoutubeIdGenerator();

String id = youtubeIdGenerator.generate("potato");
// pueXRwy1qs5MBK

Each time, for same input string, will be same generated id.

Built artifacts

https://mvn.universal-development.com/