Skip to content

A URL Shortener built on Cloudflare Developer Platform

Notifications You must be signed in to change notification settings

craigsdennis/shorty-dot-dev

Repository files navigation

shrty.dev

This is a #BuildInPublic project of a URL Shortening service built on the Cloudflare Developer Platform.

It makes use of the Key Value service KV to store the shorty and the URL.

It also uses the Workers Analytics Engine to track and report on usage.

Resources

Watch shrty.dev Admin IA on YouTube

Setup your own

Setup

Build a new KV service for yourself to track the URLs

npx wrangler kv:namespace create URLS

Replace wrangler.toml settings for the KV section

Create a new Workers Analytics Engine API token

Copy the .dev.vars.example to .dev.vars (for local development)

Regenerate types

npx wrangler cf-typegen

Develop

npm run dev

Deploy

npm run deploy

About

A URL Shortener built on Cloudflare Developer Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published