https://github.com/shaikhsajid1111/elfinsurl
elfinsurl is a free and open source URL shortener built with javascript
https://github.com/shaikhsajid1111/elfinsurl
api api-rest javascript microservice nodejs rest url url-shortener url-shortener-microservice web
Last synced: about 2 months ago
JSON representation
elfinsurl is a free and open source URL shortener built with javascript
- Host: GitHub
- URL: https://github.com/shaikhsajid1111/elfinsurl
- Owner: shaikhsajid1111
- License: mit
- Created: 2020-12-08T10:09:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-06T06:03:45.000Z (over 5 years ago)
- Last Synced: 2025-01-14T06:15:16.631Z (over 1 year ago)
- Topics: api, api-rest, javascript, microservice, nodejs, rest, url, url-shortener, url-shortener-microservice, web
- Language: JavaScript
- Homepage: http://www.elfinsurl.tk
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Elfinsurl
elfinsurl is a free and open source URL shortener built with javascript
Usage:
To short a URL , make a JSON POST request to ``` www.elfinsurl.tk/new ```
Request JSON should like:
```json
{
"url":"Your long url"
}
```
Using CURL:
```bash
curl -X POST -H 'Content-Type: application/json' -i 'http://www.elfinsurl.tk/new' --data '{
"url" : "Your long url goes here"
}'
```
Response:
```javascript
{
"original_url": "Your long url",
"short_url": "elfinsurl.tk/shortcode" //your short url
}
```
To use that short url just open it in browser and done!.
Tech:
Note: Short URL will last for only 6 months period
LICENSE:
MIT