shortid - Short id generator. Url-friendly. Non-predictable. Cluster-compatible.

  •        80

Amazingly short non-sequential url-friendly unique id generator. ShortId creates amazingly short non-sequential url-friendly unique ids. Perfect for url shorteners, MongoDB and Redis ids, and any other id users might see.

https://github.com/dylang/shortid

Tags
Implementation
License
Platform

   




Related Projects

shortid - Super short, fully unique, non-sequential and URL friendly Ids

  •    Go

The package is heavily inspired by the node.js shortid library (see more detail below). The package guarantees the generation of unique Ids with no collisions for 34 years (1/1/2016-1/1/2050) using the same worker Id within a single (although can be concurrent) application provided application restarts take longer than 1 millisecond. The package supports up to 32 workers all providing unique sequences from each other.

bitly - A Ruby wrapper for the bit.ly API

  •    Ruby

Bitly recently released their version 3 API. From this 0.5.0 release, the gem will continue to work the same but also provide a V3 module, using the version 3 API. The standard module will become deprecated, as Bitly do not plan to keep the version 2 API around forever. Then, when you call Bitly.new(username, api_key) you will get a Bitly::V3::Client instead, which provides the version 3 api calls (shorten, expand, clicks, validate and bitly_pro_domain). See http://dev.bitly.com for details.

nanoid - A tiny (172 bytes), secure, URL-friendly, unique string ID generator for JavaScript.

  •    Javascript

A tiny, secure, URL-friendly, unique string ID generator for JavaScript. Safe. It uses cryptographically strong random APIs and guarantees a proper distribution of symbols.

ASP.NET ShortIDs Control Toolkit aka NunoGomesControlToolkit

  •    ASPNET

This toolkit is intended to improve web apps performance by decreasing total page size. This page size reduction is achieved by decreasing control ClientID size. This control toolkit can be applied to any existing ASP.NET 2.0 Web Aplication by using tagmappings.

YOURLS - 🔗 Your Own URL Shortener

  •    PHP

YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free. To get started, check yourls.org! Learn more tweaks in the Wiki documentation.


node-hat - Generate random IDs and avoid collisions.

  •    Javascript

Generate random IDs and avoid collisions.Generate a random ID string with bits of data in a base.

cuid - Collision-resistant ids optimized for horizontal scaling and performance.

  •    Javascript

Collision-resistant ids optimized for horizontal scaling and binary search lookup performance.Currently available for Node, browsers, Ruby, .Net, Go, PHP and Elixir (see ports below -- more ports are welcome).

uuid - Formerly rhumsaa/uuid

  •    PHP

NOTICE: Formerly known as rhumsaa/uuid, The package and namespace names have changed to ramsey/uuid and Ramsey\Uuid, respectively. ramsey/uuid is a PHP 5.4+ library for generating and working with RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).

laravel-uuid - Laravel package to generate and to validate a UUID according to the RFC 4122 standard

  •    PHP

Laravel package to generate and to validate a universally unique identifier (UUID) according to the RFC 4122 standard. Support for version 1, 3, 4 and 5 UUIDs are built-in. Laravel-uuid is now refactored for Laravel 5.5. It has the same requirements so that means PHP 7. Laravel package auto-discovery is enabled, and you can now use the UUID validation. Validation examples are below and in the tests.

uuid - A UUID package originally forked from github.com/satori/go.uuid

  •    Go

Package uuid provides a pure Go implementation of Universally Unique Identifiers (UUID) variant as defined in RFC-4122. This package supports both the creation and parsing of UUIDs in different formats. This project was originally forked from the github.com/satori/go.uuid repository after it appeared to be no longer maintained, while exhibiting critical flaws. We have decided to take over this project to ensure it receives regular maintenance for the benefit of the larger Go community.

Short URL Creator

  •    

Short URL Creator is an application for the creation of tiny url, very useful in microblogging services like twitter, the app uses the sevices of TinyURL, TinyArro.ws, Bit.ly, kissa.be, Is.gd, tr.im, Cort.as, u.nu and Karmacracy. It's developed in C# using the .NET Framework 4

laravel-binary-uuid - Optimised binary UUIDs in Laravel

  •    PHP

Using a regular uuid as a primary key is guaranteed to be slow. This package solves the performance problem by storing slightly tweaked binary versions of the uuid. You can read more about the storing mechanism here: http://mysqlserverteam.com/storing-uuid-values-in-mysql-tables/.

mongoid-rspec - RSpec matchers and macros for Mongoid.

  •    Ruby

The mongoid-rspec library provides a collection of RSpec-compatible matchers that help to test Mongoid documents. This gem is compatible with Mongoid 3, 4, 5 and 6.

mongoid-slug - Generates a URL slug/permalink based on fields in a Mongoid-based model.

  •    Ruby

Mongoid Slug generates a URL slug or permalink based on one or more fields in a Mongoid model. It sits idly on top of stringex, supporting non-Latin characters. Mongoid Slug will attempt to determine whether you want to find using the slugs field or the _id field by inspecting the supplied parameters.

ksuid - K-Sortable Globally Unique IDs

  •    Go

ksuid is a Go library that can generate and parse KSUIDs. KSUID is for K-Sortable Unique IDentifier. It's a way to generate globally unique IDs similar to RFC 4122 UUIDs, but contain a time component so they can be "roughly" sorted by time of creation. The remainder of the KSUID is randomly generated bytes.

FCUUID - iOS UUID / Universally Unique Identifiers library as alternative to UDID and identifierForVendor

  •    Objective-C

iOS UUID library as alternative to the old good UDID and identifierForVendor. This library provides the simplest API to obtain universally unique identifiers with different levels of persistence. It's possible to retrieve the UUIDs created for all devices of the same user, in this way with a little bit of server-side help it's possible manage guest accounts across multiple devices easily.

uuid - Automatically exported from code.google.com/p/go-uuid

  •    Go

The uuid package generates and inspects UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services. This package now leverages the github.com/google/uuid package (which is based off an earlier version of this package).

canvid - tiny js library for playing video on canvas elements (without audio)

  •    Javascript

canvid is a tiny dependency free library for playback of relatively short videos on canvas elements. Why not just use HTML5 video? Because you can't until Oct 2016 you could not embed and autoplay HTML5 videos on iOS! Yeah, that sucked.

nanomorph - 🚅 - Hyper fast diffing algorithm for real DOM nodes

  •    Javascript

It's common to work with lists of elements on the DOM. Adding, removing or reordering elements in a list can be rather expensive. To optimize this you can add an id attribute to a DOM node. When reordering nodes it will compare nodes with the same ID against each other, resulting in far fewer re-renders. This is especially potent when coupled with DOM node caching. Sometimes we want to tell the algorithm to not evaluate certain nodes (and its children). This can be because we're sure they haven't changed, or perhaps because another piece of code is managing that part of the DOM tree. To achieve this nanomorph evaluates the .isSameNode() method on nodes to determine if they should be updated or not.

micro-github - A tiny microservice that makes adding authentication with GitHub to your application easy

  •    Javascript

A tiny microservice that makes adding authentication with GitHub to your application easy. Create an application on GitHub here to get your client id and secret if you haven't done that already.