How do I go about generating the unique text ids like “bowery-drizzle-unicorn” - you know the random stuff you get when you create a github app or netlify app…
I bet there’s a one-liner or package for that and I don’t need to reinvent the wheel here… Thank you!
1 Like
Using Faker, I’d do this:
Faker.Lorem.words(3)
|> Enum.join("-")
That’s using Latin words though.
Other word sources are Faker.Cannabis.buzzword
and Faker.Company.buzzword
.
5 Likes
Thank you very much!
Faker.Company.bullshit()
is brilliant 
In the end went with https://hexdocs.pm/mnemonic_slugs/MnemonicSlugs.html which does the same without the bullshit 
1 Like