Skip to content
A shortlink system built on Cloudflare workers
Branch: master
Clone or download
Latest commit a72841b Jul 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Jul 11, 2019
LICENSE Create LICENSE Jul 11, 2019
README.md Update README.md Jul 18, 2019
index.js cleanup Jul 15, 2019
package-lock.json initial commit Jul 11, 2019
package.json initial commit Jul 11, 2019
wrangler.toml initial commit Jul 11, 2019

README.md

Lil Link

A shortlink system built on Cloudflare workers

Website - Hosted version coming soon

Live Demo

Before deploying you'll need to put your info into the zone_id, account_id, and route sections of wrangler.toml

Requires 2 Workers KV Namespaces, currently hardcoded as SHORTLINKS and HITS. The shortlink is currently used as the key for both.

HITS currently doesn't display data anywhere but collects hit counts for future usage.

Namespace Key Value
SHORTLINKS shortlink url
HITS shortlink hit count

Currently the KV Namespaces must be setup and connected to this script manually. There is currently a feature branch of the wrangler tool that supports configuring this in the wrangler.toml file. Once this has been merged to master I'll be integrating it into this.

You can’t perform that action at this time.