Simple Gist and GitHub pages based url shortener
You should probably use https://github.com/tadhglewis/cloudflare-pages-url-shortener
<meta data-gist-to="url" data-gist-to-content="YOUR_URL">
in the head tag<meta data-gist-to="prefix" data-gist-to-content="YOUR_PREFIX">
in the head tag (optional)<meta data-gist-to="refresh">
in the head tag<p data-gist-to="message"></p>
at the bottom of the body tag<script src="gistto.js"></script>
at the bottom of the body tagYOUR_URL
is the Gist URL. To set this up simply create a Gist and add files with the Filename as the custom alias you want and the contents of the Gist as the url you want that alias to redirect to (eg https://gist.github.com/tadhglewis/b90c2f422081a7870f8abae69223d105)YOUR_PREFIX
is the url prefix before the custom alias (eg /goto)