Miniflare is a simulator for developing and testing Cloudflare Workers. It's an alternative to wrangler dev, written in TypeScript, that runs your workers in a sandbox implementing Workers' runtime APIs.
cloudflare cloudflare-workers workers worker local cloudworker"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno. The test suite utilizes examples defined in RFC7520 to confirm its JOSE implementation is correct.
verify jwt node browser jose validate jsonwebtoken sign jwk jwe jws jwa encrypt decrypt jwks deno cloudflare-workers cloudflare compact decode detached ec ecdsa eddsa electron embedded flattened general isomorphic json-web-token oct okp payload pem pkcs8 rsa secp256k1 signature spki universal webcrypto workers x509An Apollo GraphQL server, built with Cloudflare Workers. Try a demo by looking at a deployed GraphQL playground. Why this rules: Cloudflare Workers is a serverless application platform for deploying your projects across Cloudflare's massive distributed network. Deploying your GraphQL application to the edge is a huge opportunity to build consistent low-latency API servers, with the added benefits of "serverless" (I know, the project has server in it): usage-based pricing, no cold starts, and instant, easy-to-use deployment software, using Wrangler.
graphql apollo serverless cloudflare-workersCombining the power of Cloudflare Workers and React will allow you to render the same React code you would on the browser on Cloudflare Workers. Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.
react cloudflare-workers serverless serverless-examples server-side-rendering ssrCombining the power of Cloudflare Workers and React will allow you to render the same React code you would on the browser on Cloudflare Workers. In order for this application to work, you'll have to be able to serve /worker.js from your own origin. This example uses terraform to upload the worker script to Google Cloud Storage, but you are welcome to use any other origin.
react worker-script cloudflare-workers ssr server-side-rendering progressive-web-apps pwaBuilding a GraphQL Gateway allows you to make a single query, have GraphQL and take care of breaking it down to multiple rest calls. This example makes use of dataloader to batch and cache the queries so a query with the same key will not be requested twice. Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.
graphql cloudflare cloudflare-workers dataloaderA Cloudflare Workers and Workers KV demo that encrypts messages in the browser and stores them in a global key-value store for easy sharing. All the cryptography is done in the browser using Triplesec. A library made by the folks at Keybase. They do publish an npm module for Node.js. Unfortunately, that doesn't include the browser version of the library, so I've included the latest release in the repo.
cloudflare cloudflare-workers typescript preact server-side-renderingWebpack is the recommended means for Cloudflare Worker developers to leverage npm's massive, modular ecosystem. But to those unfamiliar with Webpack's black magic configuration, it can mean investing countless hours in tooling-tweaks and .*rc-file-fiddling. So the goal, here, is to provide a fiddle-free, Webpack-powered launchpad with default settings sane enough for almost any use case.
webpack boilerplate cloudflare cloudflare-worker cf-workers serverless bundler template cloudflare-workersLaunch Cloudflare Workers to the Edge from the comfort of your build step 🚀
cloudflare webpack webpack-plugin serverless worker cf-workers cloudflare-workers plugin workersDeploy a private, secure and serverless RESTful endpoint for sanely scoring users' new passwords using Dropbox's zxcvbn library while (k-)anonymously querying Troy Hunt's haveibeenpwned collection of +5.1 billion breached accounts. People seemed to think this concept was neat, and a tiny RESTful API like this is a perfect use case for Cloudflare Workers.
haveibeenpwned cloudflare zxcvbn password-strength rest-api cf-workers serverless security authentication passwords restful-api cloudflare-workersConnect your SQL database to Cloudflare Workers. Import this lightweight Javascript library to execute commands or cache queries from a database through an Argo Tunnel. Although designed for Workers, this library can be used in any environment that has access to the Fetch and SubtleCrypto APIs. db-connect supports the following database drivers out-of-the-box. If your database is not explicitly on the list it may still be supported. For instance, MariaDB uses the MySQL protocol and CockroachDB uses the PostgreSQL protocol.
sql cloudflare-workers postgres mysql database workers cloudflareThis is the source for repo-hunt, a project built with Cloudflare Workers.
cloudflare-workers serverless full-stackAn Apollo GraphQL server, built with Cloudflare Workers. Try a demo by looking at a deployed GraphQL playground. Why this rules: Cloudflare Workers is a serverless application platform for deploying your projects across Cloudflare's massive distributed network. Deploying your GraphQL application to the edge is a huge opportunity to build consistent low-latency API servers, with the added benefits of "serverless" (I know, the project has server in it): usage-based pricing, no cold starts, and instant, easy-to-use deployment software, using Wrangler.
serverless graphql apollo cloudflare-workersThis project is based on Google Analytics Measurement Protocol, using Cloudflare Workers with a less than 1KB gzipped tiny cfga.min.js to accelerate the Google Analytics, rather than a heavy (45KB gzipped) analytics.js from Google. Login into Cloudflare Dashboard and enter Workers App. Create a new script, delete default code in the editor, and then copy the woker.js content into the editor. After saving the workers script, do not forget to register a route for the scripts.
cloudflare cloudflare-workers google-analyticsA batteries included template for kick starting a TypeScript Cloudflare worker project. This template is meant to be used with Wrangler. If you are not already familiar with the tool, we recommend that you install the tool and configure it to work with your Cloudflare account. Documentation can be found here.
template boilerplate typescript workers cloudflare wrangler cloudflare-workersThis project is a React application generated with create-react-app, and deployed with Workers Sites.
react serverless cloudflare-workersThe parser, which is responsible for reading cron expressions into an easy to understand format, which can be simplified with the compiler, or described with CronExpr::describe. The compiler, which simplifies expressions into their most compact form. This compact form can check if a chrono date time is contained in a given expression in constant time, no matter the size of the original expression. It can also be used to get future times that match efficiently as an iterator.
cron cloudflare-workersWeb application that we’re going to protect - http://botd-example-app.fpjs.sh. We will be referring to this app as the origin. We'll protect it by adding a CDN layer on top of it, provided by Cloudflare workers, Fastly Compute@Edge, or Amazon Lambda@Edge.
bot cloud cloudflare cloudfront fastly bot-detection cloudflare-workers cloud-integration fastly-compute-at-edge cloudfront-lambda-at-edge bot-protectionGoogle reCAPTCHA v3 Cloudflare Worker that handles the server-side verification of your reCAPTCHA. From your client-side, make a POST request to your deployed cloudflare worker endpoint with the header field g-recaptcha set to your reCAPTCHA token.
recaptcha captcha google-recaptcha cloudflare recaptcha-api captcha-recaptcha recaptcha-verification cloudflare-worker cloudflare-workers recaptcha-v3 recaptcha-workerThis is an example project showing how you can build a website with Gatsby.js, and serve it at the edge using Cloudflare Workers. Cloudflare Workers allows developers to write and deploy applications at the edge. When a user requests your site, your Worker will serve it directly from one of our hundreds of data centers around the world. Static sites are perfect fit for building extremely fast, high availability sites, and Cloudflare's default caching behavior will result in a high cache rate for the bulk of your site. The result is an easy-to-manage site, hosted at the edge, with the ability for further customization via editing the provided Workers function.
serverless gatsby cloudflare-workers
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.