Shitty url shortener, emoji powered. 🌍✌🏼
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
public
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
app.json
cli.js
emoji.js
index.js
package.json
readme.md
server.js
yarn.lock

readme.md

Shitty url shortener, emoji powered.

url-shortener

Deploy your own shitty url shortener.

Shitty, works well in heroku environment. It requires NodeJS and MongoDB.

Deploy

Usage In Command Line Interface

Install

npm i -g emoji-url-shortener;

Usage

shorten https://github.com πŸ‘ŽπŸ‘

Usage In Programmatic API

Install

npm i -S emoji-url-shortener

Usage

const Shortener = require('emoji-url-shortener');

const shorten = new Shortener();
shorten.pick({url: 'https://github.com/', emoji: 'πŸ‘ŽπŸ‘'})
  .then(response => console.log(response))
  .catch(error => console.log(error))