emoji-url-shortener
Version:
Own your own url shortener as a service.
47 lines (31 loc) • 921 B
Markdown
### Shitty url shortener, emoji powered.
* [🌍✌🏼.ws](http://🌍✌🏼.ws)
* [👎👍.ws](http://👎👍.ws/)
* [coool.ws](http://coool.ws/)

**Deploy your own shitty url shortener.**
Shitty, works well in heroku environment.
It requires NodeJS and MongoDB.
[](https://heroku.com/deploy?template=https://github.com/cagataycali/url-shortener)
**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*
```javascript
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))
```