All Projects → Debdut → Uuid Readable

Debdut / Uuid Readable

Generate Easy to Remember, Readable UUIDs, that are Shakespearean and Grammatically Correct Sentences 🥳

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Uuid Readable

React Native Responsive Grid
Bringing the Web's Responsive Design to React Native
Stars: ✭ 369 (-40.1%)
Mutual labels:  universal
React Ab
Simple declarative and universal A/B testing component for React.
Stars: ✭ 424 (-31.17%)
Mutual labels:  universal
Angular Material App
基于最新Angular 9框架与Material 2技术的web中后台前端应用框架。
Stars: ✭ 509 (-17.37%)
Mutual labels:  universal
Judo Heroes
A React application to showcase rendering with Universal JavaScript
Stars: ✭ 373 (-39.45%)
Mutual labels:  universal
Preact Render To String
📄 Universal rendering for Preact: render JSX and Preact components to HTML.
Stars: ✭ 411 (-33.28%)
Mutual labels:  universal
Go.uuid
UUID package for Go
Stars: ✭ 4,427 (+618.67%)
Mutual labels:  uuid
Uniuri
Go package uniuri generates random strings good for use in URIs to identify unique objects.
Stars: ✭ 336 (-45.45%)
Mutual labels:  uuid
Rill
🗺 Universal router for web applications.
Stars: ✭ 541 (-12.18%)
Mutual labels:  universal
Cra Universal
🌏 Create React App companion for universal app. No eject, auto SSR, zero config, full HMR, and more (inactive project)
Stars: ✭ 419 (-31.98%)
Mutual labels:  universal
Polyglot
A universal grpc command line client
Stars: ✭ 488 (-20.78%)
Mutual labels:  universal
Go Nanoid
Golang random IDs generator.
Stars: ✭ 373 (-39.45%)
Mutual labels:  uuid
React Server
🚀 Blazing fast page load and seamless navigation.
Stars: ✭ 3,932 (+538.31%)
Mutual labels:  universal
Uuid
Generate and parse UUIDs.
Stars: ✭ 457 (-25.81%)
Mutual labels:  uuid
Android cn oaid
适用于国内各大Android手机厂商的开放匿名设备标识(OAID)解决方案,可替代移动安全联盟提供的 SDK 闭源方案(miit_mdid_xxx.aar)。
Stars: ✭ 370 (-39.94%)
Mutual labels:  uuid
Universal Starter
Angular 9 Universal repo with many features
Stars: ✭ 518 (-15.91%)
Mutual labels:  universal
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (-42.69%)
Mutual labels:  universal
Rfx Stack
RFX Stack - Universal App
Stars: ✭ 427 (-30.68%)
Mutual labels:  universal
Shortuuid
🍄 A generator library for concise, unambiguous and URL-safe UUIDs
Stars: ✭ 603 (-2.11%)
Mutual labels:  uuid
Laravel Binary Uuid
Optimised binary UUIDs in Laravel
Stars: ✭ 523 (-15.1%)
Mutual labels:  uuid
Upash
🔒Unified API for password hashing algorithms
Stars: ✭ 484 (-21.43%)
Mutual labels:  universal

uuid-readable Generic badge Generic Badge

Generic badge Generic badge

Generate Easy to Remember, Readable UUIDs, that are Shakespearean and Grammatically Correct Sentences 🥳

Logo

  • Built on UUID v4
  • Optionally pass your UUID to generate a unique sentence
  • 128 Bit Crypto Secure
  • Grammatically correct sentences
  • Easy to remember
  • Has a Shakespeare feeling
  • Universally Unique Identifier
  • Generate Low Entropy 32 Bit Tokens

Example

128 Bit UUID Readable

Loren Chariot Addy the Titbit of Cholame questioned Cele Garth Alda and 16 windy frogs

Drucill Hubert Lewse the Comer of Avera rejoices Fiann Craggy Florie and 5 hard trouts

Jacquette Brandt John the Pectus of Barnsdall doubted Glenn Gay Gregg and 12 noisy stoats

Low Entropy 32 Bit

11 pretty dragonflies regularly sang

2 fat toads happily buzzed

Note

Think of it this way, it's impossible to remember 32 random characters in UUID, but these sentences even though hard can be remembered, and are definitely fun!

Alternatively, generate 32 bit readable small sentences from 128 bit UUID and check later if they match.

API

Thanks to uuid.rocks, we have an API Endpoint

curl https://uuid.rocks/plain?readable
# Joyce Ange Barrett the Orient of Alco killed Marlyn Hewett Lady and 11 strong bulls

Installation

npm install uuid-readable --save

Usage

const id = require('uuid-readable')

console.log( id.generate() )
// Cathleen d Dieball the Monolith of Alderson reflects Arly Arnie Keenan and 18 large ants

Pass your own UUID

console.log( id.generate(uuid) )

Inverse, get UUID back from Readable UUID

const uuid = '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'
const readable = id.generate(uuid)
const inverse = id.inverse(readable)
 
inverse === uuid // true

Low Entropy 32bit Readable (Use as Readable Hash)

const short = id.short(uuid)
// 5 fat toads happily buzzed

// Check Later
id.check(short, uuid) //true

MongoDB

const id = require('uuid-readable')

readable_id: {
  'type': String,
  'default': id
}

// or use as real id

_id: {
  'type': String,
  'default': id
}

How does it work?

UUID is converted to 128 bits.

  • 12 bits for first name
  • 11 bits for middle name
  • 14 bits for last name
  • 13 bits for a personal pronoun
  • 13 bits for name of place
  • 10 bits for verb
  • 12 bits for first name
  • 11 bits for middle name
  • 14 bits for last name
  • 5 bits for number of animals
  • 6 bits for animal adjective
  • 7 bits for animal

For example, 7 bits for animal means we choose one animal from a list of atleast 2**7 = 128 animals

Alternatively, the inverse funcation proves that UUID and Readable UUID form a bijection, hence no loss of entropy.

Use Cases

  • Customer Support

You can remember parts of the id and that's enough to search it up and communicate throughout a large team. I will be using it as a secret generation for a service, and customer tickets.

Sponsors

Shakespeare Geek

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].