Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tadhglewis/cloudflare-pages-url-shortener
URL shortener boilerplate using Cloudflare Pages and _redirects
https://github.com/tadhglewis/cloudflare-pages-url-shortener
cloudflare cloudflare-pages hacktoberfest url-shortener
Last synced: 2 months ago
JSON representation
URL shortener boilerplate using Cloudflare Pages and _redirects
- Host: GitHub
- URL: https://github.com/tadhglewis/cloudflare-pages-url-shortener
- Owner: tadhglewis
- License: mit
- Created: 2021-04-13T07:16:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-10T11:21:52.000Z (over 3 years ago)
- Last Synced: 2024-10-24T13:18:28.148Z (4 months ago)
- Topics: cloudflare, cloudflare-pages, hacktoberfest, url-shortener
- Homepage: https://cloudflare-pages-url-shortener.pages.dev
- Size: 9.77 KB
- Stars: 5
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudflare-pages-url-shortener
URL shortener boilerplate using Cloudflare Pages and \_redirects
## Setup
- Fork repository
- Go to Cloudflare Pages and create a new project with the `cloudflare-pages-url-shortener` repository
- Attach a custom domain in the `Custom domains` tab - optional
- Edit the \_redirects file ([formatting](https://developers.cloudflare.com/pages/platform/redirects)) and push your changes to GitHub - this will trigger a deploy with your latest shortened urls## Formatting
[Cloudflare Pages docs on \_redirects formatting](https://developers.cloudflare.com/pages/platform/redirects)
## Example
- https://cloudflare-pages-url-shortener.pages.dev/github
- https://cloudflare-pages-url-shortener.pages.dev/example
- https://cloudflare-pages-url-shortener.pages.dev/tl