Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cagataycali/url-shortener
Shitty url shortener, emoji powered. 🌍✌🏼
https://github.com/cagataycali/url-shortener
Last synced: 3 months ago
JSON representation
Shitty url shortener, emoji powered. 🌍✌🏼
- Host: GitHub
- URL: https://github.com/cagataycali/url-shortener
- Owner: cagataycali
- License: mit
- Created: 2017-05-31T02:04:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T21:51:15.000Z (almost 2 years ago)
- Last Synced: 2024-05-22T19:28:31.394Z (6 months ago)
- Language: JavaScript
- Homepage: https://shortener.cagatay.dev/
- Size: 6.08 MB
- Stars: 160
- Watchers: 3
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome - cagataycali/url-shortener - Shitty url shortener, emoji powered. 🌍✌🏼 (JavaScript)
README
### Shitty url shortener, emoji powered.
* [🌍✌🏼.ws](http://🌍✌🏼.ws) (*I did not renew the domain name again because it was expensive.*)
* [👎👍.ws](http://👎👍.ws/) (*I did not renew the domain name again because it was expensive.*)
* [coool.ws](http://coool.ws/) (*I did not renew the domain name again because it was expensive.*)
* [shortener.cagatay.pro](https://shortener.cagatay.pro)![url-shortener](public/readme.png)
**Deploy your own shitty url shortener.**
Shitty, works well in heroku environment.
It requires NodeJS and MongoDB.[![Deploy](https://www.herokucdn.com/deploy/button.svg)](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))
```