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
- Host: GitHub
- URL: https://github.com/ninest/tiny-expander
- Owner: ninest
- License: mit
- Created: 2020-06-03T13:57:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:07:13.000Z (over 2 years ago)
- Last Synced: 2025-01-07T14:23:10.695Z (4 months ago)
- Topics: tiny, tinyurl, tinyurl-api
- Language: Python
- Homepage: https://tinyurl.com/yab2rleb
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tiny Expander
An API that returns the redirect of URLs
## 🚀 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