Skip to content

A simple API via a Worker that serves all the template content

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

cloudflare/template-registry

Template Registry

This repo runs a simple API via a Worker that serves all the template content consumed by different services (e.g. our template gallery at developers.cloudflare.com/workers/templates).

API

The API is a Cloudflare Worker that lives in workers-site. That uses KV to store the toml/JS data and parses the data for the appropriate endpoints

Data

All the content that is served from the API lives in templates

To contribute see CONTRIBUTING

Get Started

To run for development

npm install
npm run start

Then in the Workers preview test a link like https://example.com/templates/ or https://example.com/templates/ab_testing

About

A simple API via a Worker that serves all the template content

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published