An open API service indexing awesome lists of open source software.

https://github.com/jellydn/decode-shortened-url

Get the redirect url from shortened link
https://github.com/jellydn/decode-shortened-url

deno shortened-links

Last synced: about 1 month ago
JSON representation

Get the redirect url from shortened link

Awesome Lists containing this project

README

          

Welcome to decode-shortened-url 👋

![Version](https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000)
[![Twitter: jellydn](https://img.shields.io/twitter/follow/jellydn.svg?style=social)](https://twitter.com/jellydn)

> Get the redirect url from shortened link

[![IT Man - Tech #30 - Deno 101 - The best developer experience [Vietnamese]](https://i.ytimg.com/vi/ocLNcwm4xUs/hqdefault.jpg)](https://www.youtube.com/watch?v=ocLNcwm4xUs)

## Usage

```sh
curl 'https://twt-decode-url.productsway.com/?url=https://s.productsway.com/kUDbc9Gg' | jq .
```

```json
{
"shortenedUrl": "https://s.productsway.com/kUDbc9Gg",
"url": "https://productsway.com/"
}
```

### Develop

```sh
deno task dev
```

### Test

```sh
deno task test
```

### Benchmark

```sh
deno task bench
```

## Author

👤 **Dung Huynh**

- Website: https://productsway.com/
- Twitter: [@jellydn](https://twitter.com/jellydn)
- Github: [@jellydn](https://github.com/jellydn)

## Show your support

[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/dunghd)
[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/dunghd)
[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/dunghd)

Give a ⭐️ if this project helped you!