All Projects → Atrox → haikunatorjava

Atrox / haikunatorjava

Licence: MIT license
Generate Heroku-like random names to use in your Java applications

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to haikunatorjava

haikunatorphp
Generate Heroku-like random names to use in your php applications.
Stars: ✭ 99 (+266.67%)
Mutual labels:  heroku, haikunator
haikunatorgo
Generate Heroku-like random names to use in your go applications.
Stars: ✭ 50 (+85.19%)
Mutual labels:  heroku, haikunator
heroku-slugs
CLI Plugin to manage downloading of slugs
Stars: ✭ 36 (+33.33%)
Mutual labels:  heroku
eksi
Eksi sözlük crawl,stat , api calismalari
Stars: ✭ 25 (-7.41%)
Mutual labels:  heroku
sakura-card-captor-api
protected-taiga-89091.herokuapp.com/
Stars: ✭ 32 (+18.52%)
Mutual labels:  heroku
ULTRA-X
No description or website provided.
Stars: ✭ 60 (+122.22%)
Mutual labels:  heroku
VKRdownloader
Vkrdownloader: All in one Video Downloader - Download videos from facebook twitter youtube tiktok and 1000+ other sites . YouTube downloader , facebook downloader . made by Vijay Kumar
Stars: ✭ 25 (-7.41%)
Mutual labels:  heroku
order-management
Simple Order Management web application built using NodeJS, ExpressJS, Polymer, MongoDB
Stars: ✭ 33 (+22.22%)
Mutual labels:  heroku
capture-website-api
Capture screenshots of websites as a (host it yourself) API
Stars: ✭ 30 (+11.11%)
Mutual labels:  heroku
binance-spot-order-notification-heoku
[binance order trade fill notification] Telegram Notification when Binance order created, cancelled or filled. Ready to Deploy on Heroku
Stars: ✭ 30 (+11.11%)
Mutual labels:  heroku
price-tracker-bot
Telegram 聊天機器人,追蹤momo降價、重新上架
Stars: ✭ 54 (+100%)
Mutual labels:  heroku
generator-vars-jekyll
Generator for raw web app with CircleCI, Jekyll, Webpack, Express + more.
Stars: ✭ 18 (-33.33%)
Mutual labels:  heroku
WhiteDevil
🌀Quick Response Whatsapp Bot🌀
Stars: ✭ 45 (+66.67%)
Mutual labels:  heroku
twitter-bot-bootstrap
Template for creating a twitter bot using python (twython) and heroku
Stars: ✭ 26 (-3.7%)
Mutual labels:  heroku
ZestX-Frontend
Month-Long Fest Website ZestX with some Awsome UI and Intact Backend. Implemented admin page for user and event management
Stars: ✭ 28 (+3.7%)
Mutual labels:  heroku
planning-poker
Effective Planning Poker sessions for remote teams
Stars: ✭ 29 (+7.41%)
Mutual labels:  heroku
django-dialogflow
[Maintainer Required] Dialogflow Django is a web client to chat 💖
Stars: ✭ 26 (-3.7%)
Mutual labels:  heroku
buffalo-heroku
Archived use github.com/gobuffalo/buffalo-heroku
Stars: ✭ 16 (-40.74%)
Mutual labels:  heroku
python-web-dev-21-2
Material for "Web Development in Python with Django" using Django 2.1, published as a Pearson LiveLesson on Safari Books Online
Stars: ✭ 38 (+40.74%)
Mutual labels:  heroku
tyr
A CLI to generate node.js applications in an opinionated way.
Stars: ✭ 28 (+3.7%)
Mutual labels:  heroku

HaikunatorJAVA

Build Status Latest Version Coverage Status

Generate Heroku-like random names to use in your java applications.

Installation

To install Haikunator add the following to your maven configuration

<dependency>
    <groupId>me.atrox.haikunator</groupId>
    <artifactId>Haikunator</artifactId>
    <version>2.0.1</version>
</dependency>

For more examples how to add Haikunator to your project, follow this link

Usage

Haikunator is pretty simple.

import me.atrox.haikunator;

// default usage
Haikunator haikunator = new Haikunator();
haikunator.haikunate() // => "wispy-dust-1337"

// custom length (default=4)
Haikunator haikunator = new Haikunator().setTokenLength(6);
haikunator.haikunate() // => "patient-king-887265"

// use hex instead of numbers
Haikunator haikunator = new Haikunator().setTokenHex(true);
haikunator.haikunate() // => "purple-breeze-98e1"

// use custom chars instead of numbers/hex
Haikunator haikunator = new Haikunator().setTokenChars("HAIKUNATE");
haikunator.haikunate() // => "summer-atom-IHEA"

// don't include a token
Haikunator haikunator = new Haikunator().setTokenLength(0);
haikunator.haikunate() // => "cold-wildflower"

// use a different delimiter
Haikunator haikunator = new Haikunator().setDelimiter(".");
haikunator.haikunate() // => "restless.sea.7976"

// no token, space delimiter
Haikunator haikunator = new Haikunator().setTokenLength(0).setDelimiter(" ");
haikunator.haikunate() // => "delicate haze"

// no token, empty delimiter
Haikunator haikunator = new Haikunator().setTokenLength(0).setDelimiter("");
haikunator.haikunate() // => "billowingleaf"

Options

The following options are available:

Haikunator haikunator = new Haikunator()
                            .setDelimiter("-")
                            .setTokenLength(4)
                            .setTokenHex(false)
                            .setTokenChars("0123456789")
                            .setAdjectives(new String[]{"..."})
                            .setNouns(new String[]{"..."})
                            .setRandom(new Random());

If tokenHex is true, it overrides any tokens specified in tokenChars

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

Other Languages

Haikunator is also available in other languages. Check them out:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].