Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
/ worker Public archive

Cloudflare worker that processes webpage hits

License

Notifications You must be signed in to change notification settings

nolytics/worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

worker

Cloudflare worker that processes webpage hits


This worker was bootstrapped and configured with wrangler CLI. You can install it via NPM: npm install -g wrangler

Development

Run the local server via npm run start

Deploy

Setup worker environment variables with the following one-line:

IFS='='; ENV_FILE=.dev.vars; cat $ENV_FILE | while read line || [[ -n $line ]]; do read -ra envy <<< $line; wrangler secret put ${envy[0]} <<< ${envy[1]} ; done

Deploy to Cloudflare via npm run deploy

About

Cloudflare worker that processes webpage hits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published