URL-Shortener is a simple app that is build on Cloudflare Workers using Short.io API.
-
Open Website
https://short.francis.run
-
Paste the long link you want to shorten.
-
Click the Short button to generate a short link.
-
Request Url
https://short.francis.run
-
Request parameters and return response data
parameters | description | required |
---|---|---|
?link="" | link, which you want to shorten | Y |
?api="true" | Return json data - Required | Y |
?title="" | title of created URL to be shown in short.cm admin panel | N |
?path"" | optional path part of newly created link. If empty - it will be generated automatically | N |
- Install Cloudflare Wrangler
npm i @cloudflare/wrangler -g
- Build
wrangle build
- Preview
wrangle preview
- Debug
wrangle dev
- Publish
wrangle publish