Skip to content

Create human-readable Ids just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

License

Notifications You must be signed in to change notification settings

GFoley83/GfycatesqueIds

Repository files navigation

GfycatesqueIds

.NET Core

Create human-readable Ids, just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

Example Usage

https://dotnetfiddle.net/4KGjWQ

// Create Id in the default form VerbAdjectiveAnimal
var id = GfycatesceIds.Generate(); // id == "ExaltedDifficultAntelope"

// Create classic Gfycat Id in the form AdjectiveAdjectiveAnimal
var id = GfycatesceIds.Generate(GfycatesceIds.GfycatPattern); // id == "CalmFriendlyLion"

// Create Id in a custom form and length
var id = GfycatesceIds.Generate(new[]
    {
        WordType.Verb, WordType.Adjective, WordType.Verb, WordType.Verb, WordType.Animal
    }); // id == "WalkHorribleConfessQuestionZebra"

About

Create human-readable Ids just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages