https://onelink.to alternative built on CloudFlare Workers
This script redirects to urls based on User Agents If it is Android redirects to playstore link, if iOS goes to appstore otherwise redirects to fallback url.
To deploy this on CloudFlare workers you need to have installed Wrangler CLI
npm install -g wrangler
Update playstoreURL
, appstoreURL
and fallbackURL
as per your needs
After installation authenticate with wrangler CLI using this command
wrangler login
docs
In wrangler.toml update account_id
and zone_id
To find out CloudFlare account id and zone id checkout docs
In order for this to work you should have an active DNS record proxied through CloudFlare
Update route to desired subdomain. e.g get.ardd.cloud
To deploy/publish this worker run command
wrangler publish