Skip to content

ninest/tiny-expander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/<tiny url without https>

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