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

https://github.com/ninest/tiny-expander

Get the full URL from shortened URLs
https://github.com/ninest/tiny-expander

tiny tinyurl tinyurl-api

Last synced: 3 months ago
JSON representation

Get the full URL from shortened URLs

Awesome Lists containing this project

README

        

Tiny Expander


An API that returns the redirect of URLs



Made with Deno


Make a PR

MIT

Buy Me A Coffee

## 🚀 Usage

Visiting the URL will return the expanded URL:

```
https://tiny-expander.now.sh/api/
```

For example,

```
https://tiny-expander.now.sh/api/tinyurl.com/y6dqpgc7

# returns
http://www.google.com/
```

Warning: in the GET request, you have to provide the tinyurl **without** the `https://`. This is just a temporary solution until POST is added.

## 🛠 Build setup
Clone or fork the repository, then run

```
pipenv shell
flask run
```

### Hosting
Tiny Expander is hosted with vercel. To host, run

```
vercel
```

## 📜 License
MIT