108 Repositories
JavaScript cloudflare-worker Libraries
Remix run stack built for the edge (cloudflare pages and d1)
Remix Race Stack Learn more about Remix Stacks. npx create-remix@latest --template jose-donato/race-stack What's in the stack Cloudflare Pages for ho
Use Cloudflare Gateway DNS/VPN to block ads, malware and tracking domains - free alternative to NextDNS, Pi-hole and Adguard
Cloudflare Gateway Pi-hole Scripts (CGPS) Cloudflare Gateway allows you to create custom rules to filter HTTP, DNS, and network traffic based on your
Multithread emulator. The wrun allows you to dynamically run a function inside a Web Worker on the client side, without the needing of a dedicated file
wrun This lib allows you to dynamically run a function inside a Web Worker on the client side, without the needing of a dedicated file. This means tha
An `og:image` (social card) generator that is fast, browser-less (no Puppeteer), and capable of running on the edge. This package is designed to be used with Cloudflare Workers (but may be used elsewhere), with the simple API inspired by `@vercel/og`.
Cloudflare Workers OG Image Generator Using Vercel's Satori engine, and many credits to @vercel/og for the inspiration. An og:image (social card) gene
๐โโ๏ธ Proxy POST/PUT/PATCH requests through a GET request
๐โโ๏ธ to-GET Proxy POST/PUT/PATCH requests through a GET request Usage Base URL: https://toget.mihir.ch Endpoint: /:method Supported methods (case ins
Dead-simple CORS handling for any itty-router API (test with Cloudflare Workers, but works anywhere)!
Simple CORS-handling for any itty-router API. Designed on Cloudflare Workers, but works anywhere. Features Tiny. Currently ~600 bytes, with zero-depen
This is a demo for Remix SPA's via Service Worker. (doesn't currently work in Safari)
Welcome to Remix! Remix Docs Development From your terminal: npm run dev This starts your app in development mode, rebuilding assets on file changes.
Nanoservices in no time with seamless TypeScript support.
Nanolith Nanoservices in no time with seamless TypeScript support. Table of Contents About Defining a set of tasks Creating multiple sets of definitio
A rate-limiter using Durable Objects on CF Workers that actually doesn't rate limit anything.
Rate Limiter - built for Cloudflare Workers, using Durable Objects Features Supports fixed or sliding window algorithms Scoped rate-limiting Caching C
Example of a Cloudflare Pages server side rendering (SSR) project powered by Hono.
Hono SSR on Cloudflare Pages Example of a Cloudflare Pages server side rendered (SSR) project powered by Hono. This project demonstrates: Accessing en
Kafka 0.8.0 broker implementation on top of Cloudflare Workers
Kafka Worker A Kafka 0.8.0 broker implementation on top of Cloudflare Workers and Durable Objects. This broker supports 4 client-facing APIs: Produce
Running Next.js on Cloudflare Pages.
Nextflare - Run Next.js Edge Runtime on Cloudflare Pages (Workers) NOTE: We're still actively updating this repository, docs, and preparing a potentia
A simple, strictly typed ORM, to assist you in using Cloudflare's D1 product
D1-Orm โจ A simple, strictly typed ORM, to assist you in using Cloudflare's D1 product API reference can be found at https://d1-orm.pages.dev/modules D
A great place for platforms to get started on Cloudflare Workers!
Workers for Platforms Example Project Blog post Docs For SaaS companies, it's challenging to keep up with the never ending requests for customizations
A CloudFlare Worker / script / bot to sync Notion pages publicly as GitHub Discussions.
notion-github-sync This bot syncs public Notion pages as GitHub Discussions/Issues. It's done periodically, based on the pages shared with the Notion
SurrealDB on the edge!
surrealdb-cloudflare SurrealDB on the edge! Cloudflare workers This module has been build specifically to be compatible with cloudflare workers. Teste
A example cloudflare workers app โค๐ผ๐
๐ ๐ผ CloudFlare Workers Example Installation git clone https://github.com/kardespro/cloudflare-workers npm i wrangler wranglerjs Login Cloudflare Acc
Functional-style Cloudflare Durable Objects with direct API calls from Cloudflare Workers and TypeScript support.
durable-apis Simplifies usage of Cloudflare Durable Objects, allowing a functional programming style or class style, lightweight object definitions, a
Using Cloudflare worker to generate host list from firebog to keep updated.
AdGuardCloudflareHostGenerator Use a cloudflare worker to generate a up to date list from FireBog's ticked list found at https://v.firebog.net/hosts/l
Type-safe and Promisified API for Web Worker and Iframe
๐ You can help the author become a full-time open-source maintainer by sponsoring him on GitHub. typed-worker Install npm i typed-worker Usage Create
A chat application build on top of Remix and Cloudflare.
Remix + Cloudflare Workers starter with Turborepo ๐ Starter to get going with Remix and Cloudflare Workers. This template is based on the starter cre
๏ฃฟ Shortcuts โ Cloudflare Images โ GitHub Action
shortcuts-cfimages-action This repository guides you through setting up a workflow to upload photos from your Apple device to Cloudflare Images, then
Low cost, low effort P2P WebRTC serverless signalling using Cloudflare Workers
P2PCF P2PCF enables free (or cheap) serverless WebRTC signalling using a Cloudflare worker and a Cloudflare R2 bucket. The API is inspired by P2PT, bu
A zero-dependency, strongly-typed web framework for Bun, Node and Cloudflare workers
nbit A simple, declarative, type-safe way to build web services and REST APIs for Bun, Node and Cloudflare Workers. Examples See some quick examples b
Configure Wrangler in the format of your choice.
wjson โจ Configure Wrangler in the format of your choice. โจ Installation npm i -D @darkflare/wjson Usage (CLI) Run the below command and wjson will aut
Persistent key/value data storage for your Browser and/or PWA, promisified, including file support and service worker support, all with IndexedDB. Perfectly suitable for your next (PWA) app.
BrowstorJS ๐ ๐พ ๐ Persistent key/value data storage for your Browser and/or PWA, promisified, including file support and service worker support, all
Firebase/Admin Auth Javascript Library for Cloudflare Workers
Flarebase Auth Firebase/Admin Auth Javascript Library for Cloudflare Workers Supported operations: createSessionCookie() verifySessionCookie() signInW
A flexible gateway for running ML inference jobs through cloud providers or your own GPU. Powered by Replicate and Cloudflare Workers.
Cogflare (Working title) Cogflare is a Cloudflare Workers application that aims to simplify running distributed ML inference jobs through a central AP
A Cloudflare Workers service that fetches and renders Notion pages as HTML, Markdown, or JSON.
notion-fetch A Cloudflare Workers service that fetches and renders Notion pages as HTML, Markdown, or JSON. Powered by Durable Objects and R2. Usage P
Run RPC over a MessagePort object from a Worker thread (or WebWorker)
thread-rpc Run RPC over a MessagePort object from a Worker thread (or WebWorker) npm install thread-rpc Usage First in the parent thread const Thread
The iofod SDK provides developers with the ability to interact with the main iofod interface within the Web worker, enabling rapid development of iofod extensions through the SDK.
iofod-sdk English | ็ฎไฝไธญๆ The iofod SDK provides developers with the ability to interact with the main iofod interface within the Web worker, enabling
Configure Wrangler in the format of your choice.
wjson โจ Configure Wrangler in the format of your choice. โจ Installation npm i -D @darkflare/wjson Usage (CLI) Run the below command and wjson will aut
An easy way for users to appeal from a server ban. Hosted with Cloudflare workers.
Discord Ban Appeal Make it possible for users to appeal their bans online With a simple configuration to make your form unqiue to your server and with
A full query console for Cloudflare's D1 database product.
D1 Console A console/REPL for Cloudflare's D1 Database product. NPM | GitHub Supports all the features expected of a modern database client, including
A common front-end/Service Worker-based Key/Value database based on CacheStorage
Cache-DB A common front-end/Service Worker-based Key/Value database based on CacheStorage const db = new CacheDB('ChenYFanDB') undefined await d
A starter template for Remix + Cloudflare Workers + DO + KV + Turborepo
Remix + Cloudflare Workers starter with Turborepo ๐ Starter to get going with Remix and Cloudflare Workers. This template is based on the starter cre
Lightweight universal Cloudflare API client library for Node.js, Browser, and CF Workers
Cloudflare API Client Lightweight universal HTTP client for Cloudflare API based on Fetch API that works in Node.js, browser, and CF Workers environme
Abusing Cloudflare Workers to establish persistence and exfiltrate sensitive data at the edge.
Abusing Cloudflare Workers This repository contains companion code for the blog post MITM at the Edge: Abusing Cloudflare Workers. malicious-worker/ c
An example Worker for copying Cloudflare Pub/Sub messages to R2 storage
pubsub-to-r2 An example Cloudflare Worker that acts as an on-publish hook for Pub/Sub and copies a subset of messages to R2 object storage. To deploy
fetch and process data in web worker, store in indexedDB.
Query+ install yarn add query-plus or pnpm add query-plus or npm install query-plus import import { useFetch, usePreFetch } from "query-plus" use
A collection of useful tools for building web apps on Cloudflare Workers.
Keywork is a batteries-included, magic-free, library for building web apps on Cloudflare Workers. Features ๐ช Written in TypeScript ๐ Modules Support
Connect to a Postgres database from a Cloudflare Worker, using Cloudflare Tunnel
Cloudflare Workers Postgres Client This is an experimental module. Heavily based on cloudflare/worker-template-postgres, but cleaned up and bundled in
Server-side rendering blog runs on Cloudflare workers
Serverside rendered blog I have tried something completely against to current web trends. What are these? I am using the React as backend framework wi
A set of useful helper methods for writing functions to handle Cloudflare Pub/Sub messages (https://developers.cloudflare.com/pub-sub/)
pubsub A set of useful helper methods for writing functions to handle Cloudflare Pub/Sub messages. This includes: A isValidBrokerRequest helper for au
Lib for work to multiple thread (Node.js)
ad-worker npm i ad-worker This library allows spawn threads and transfer control by name, with an isolated context, or shared data between threads. Ex
Image hosting based on Cloudflare R2. Supports PicGo.
Cloudflare R2 ImageBed English | ็ฎไฝไธญๆ CF-R2-ImageBed is a image hosting service based on Cloudflare R2 object storage. PicGo supported. Cloudflare R2
Like useReducer, but runs in a worker.
useWorkerizedReducer useWorkerizedReducer is like useReducer, but the reducer runs in a worker. This makes it possible to place long-running computati
Use Cloudflare Pages Functions as a reverse proxy with custom domain support.
cf-page-func-proxy Use Cloudflare Pages Functions as a reverse proxy with custom domain support. Getting Start 1.ไธ่ฝฝๆๆฏForkๆฌไปๅบ 2.ไฟฎๆน_worker.jsไธญ็url.hostn
A Tauri update server, hosted as a Cloudflare edge function
Tauri Update Server: Cloudflare One-Click Deploy Click the button above, let Cloudflare walk you through: it's easy! Go to your forked repository, edi
Remix + Cloudflare Workers + Wrangler2 + Tailwind + ESLint + Prettier + Vitest + Playwright
Welcome to Remix! Remix Docs Development You will be running two processes during development: The Miniflare server (miniflare is a local environment
A drop in replacement for Hacker News with support for dark mode and more.
Worker News A drop in replacement for Hacker News with support for dark mode, quotes in comments, user identicons and submission favicons. What's cool
โ Yet Another Cloud Notepad.
โ Serverless Cloud Notepad English | ็ฎไฝไธญๆ Build for recording text or sharing between friends. Powerby Cloudflare Workers, easy to deploy privately. โจ
Cloudflare Worker to make a R2 Bucket public!
r2-public-worker A Cloudflare Worker to make your R2 bucket public! Minimum Requirements Cloudflare Account wrangler = 2.0.2 Note: Ensure you are usi
Send emails using Cloudflare Worker, for free.
Email API for Proselog. Not intended for use outside of Proselog, but it should work with any worker, without any configuration. import { sendEmail }
Remix + Cloudflare Workers + DO + Turborepo
Remix + Cloudflare Workers + DO + Turborepo A starter to get you up and going with Remix on Cloudflare with all the latest and greatest. What's inside
A simple Prometheus (aggregated) push gateway allowing stateless/serverless workloads, ephemeral and batch jobs to easily expose their metrics.
Serverless Prometheus (aggregated) Push Gateway A simple Prometheus (aggregated) push gateway allowing stateless/serverless workloads, ephemeral and b
A cloudflare worker based REST API for your R2 bucket.
A cloudflare worker based REST API for your R2 bucket. Usage: Change the bucket_name and preview_bucket_name in wrangler.toml if you want. Set ENCRYPT
Store and Deliver images with R2 backend Cloudflare Workers.
r2-image-worker Store and Deliver images with Cloudflare R2 backend Cloudflare Workers. Synopsis Deploy r2-image-worker to Cloudflare Make a base64 st
Cloudflare Worker that will allow you to progressively migrate files from an S3-compatible object store to Cloudflare R2.
A Cloudflare Worker for Progressive S3 to R2 Blog Post: https://kian.org.uk/progressive-s3-to-cloudflare-r2-migration-using-workers/ This is a Cloudfl
Build your Cloudflare Workers with esbuild.
build-worker Bundle your Cloudflare Worker with esbuild instead of webpack. (It's ridiculously faster!) Wrangler v1 uses webpack. Wrangler v2 is using
๐ โข community maintained APIs for Poland's public transport
๐ Poland's Public Transport API Simple, open and community-maintained REST API you can use in your project limitlessly. ๐ฌ Let's talk ยท ๐ฅ Contribute
โ๏ธ Offline-capable Astro apps via SWSR (Service Worker Side Rendering)
Astro-service-worker โ๏ธ Offline-capable Astro apps via SWSR (Service Worker Side Rendering) astro-service-worker will take your Astro SSR project, and
PDF.js compiled for node-less, serverless enviroments.
Pdf.mjs PDF.js custom-compiled for nodeless, serverless enviroments, like Deno Deploy and Cloudflare Workers. Rocking in under 700kb uncompressed. Usa
Use Cloudflare Workers Cron Triggers to keep your Hetzner Cloud Firewall allowing the latest list of Cloudflare IPs, or any other lists!
Hetzner Cloud Firewall automation with Cloudflare Workers Heavily inspired by xopez/Hetzner-Cloud-Firewall-API-examples, this repository holds a Cloud
WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc.
HTML Rewriter WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc. It uses lol-html under the hood, the same implem
Web API about ๐
Ramen API ๐ Ramen API is a free Web API about ๐ . This API is designed for the purpose of testing a software application which is accessing Web APIs
Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats ๐
Stats check ๐ข Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats ๐ You can see it in action he
A tool library for handling window && iframe && worker communication based on the JSON RPC specification
rpc-shooter A tool library for handling window && iframe && worker communication based on the JSON RPC specification ไธไธชๅบไบ JSON-RPC ่ง่็จไบๅค็ window && if
A simple API to interact with Stacks and CityCoins data.
CityCoins API Probably Nothing CF Workers + IttyRouter + micro-stacks + TypeScript ...and it feels good! Things to Note uses simple typed responses an
CF Workers Wrangler GraphQL Yoga template ๐ฆ ๐
GraphQL Yoga for Cloudflare Workers (Wrangler template) Fully-featured GraphQL Server with focus on easy setup, performance & great developer experien
ZxCDDoS for education with LAYER 7, LAYER 4, AMP METHODS
๐ ZxCDDoS: Release v1.0 - Free DDoS Panel ๐ Terminal only accepts ANSI color. Username: admin Password: admin Language Logs Fixed L7 methods (crash,
Google-Drive-Directory-Index | Combining the power of Cloudflare Workers and Google Drive API will allow you to index your Google Drive files on the browser.
๐ฟ Google-Drive-Directory-Index Combining the power of Cloudflare Workers and Google Drive will allow you to index your Google Drive files on the brow
A cloudflare worker to use the user-agent for ~~rickrolling~~ without a discord embed
nextcord.gay A cloudflare worker to use the user-agent for rickrolling without a discord embed Build npm run build Find the output in ./dist/worker.mj
Colour me! is a simple Discord bot running on Cloudflare Workers that allows server admins to give users the ability to change the colour of their own assigned colour roles!
Colour me! Colour me! is a simple Discord bot that allows server admins to give users the ability to change the colour of their own assigned colour ro
Add partytown support to WordPress sites.
WP Partytown This plugin is a POC for ticket #176 in WordPress/performance repo. Goals Allow plugin developers to execute scripts inside a Partytown W
This library helps implement caching using Cloudflare Workers KV
With a few lines of code, you can control the execution of functions that you want to cache for speed, store them in the cache, and skip execution of the function if the cache exists.
Starting template for building a Remix site with CloudFlare Workers (ES Modules Syntax)
Starting template for building a Remix site with CloudFlare Workers (ES Modules Syntax)
A Cloudflare Worker that translates TeX to SVG
TeX SVG Worker A Cloudflare Worker that translates TeX to SVG.
Partytown integration for Nuxt
@nuxtjs/partytown Partytown integration for Nuxt Features ๐ Zero-config required ๐ฅ Relocates resource intensive scripts into a web worker โก๏ธ Speeds
Server and Browser code are really the same. It's magic.
Service Worker Magic Server (Cloudflare Workers) code is sw.js. Browser ( Service Worker ) code is sw.js. Cloudflare Workers sw.js serves sw.js. Servi
A URL shortener that runs on Cloudflare Workers
ITP Works A URL shortener that runs on Cloudflare Workers. It stores the rules in Cloudflare KV storage and sends a 301 redirect when a matched pathna
๐งโ๐ป Developer Docs builder. Write guides in Markdown and references in API Blueprint. Comes with a built-in search engine.
Developer Docs builder. Write guides in Markdown and references in API Blueprint. Comes with a built-in search engine. Chappe is a Developer Docs buil
โก Something like react server components, but web workers instead of a server
react-worker-components-plugin โก something like react server components, but web workers instead of a server react-worker-components-plugin is a plugi
Cloudflare DDNS (Dynamic DNS) support for UniFi OS
Cloudflare DDNS for UniFi OS A Cloudflare Worker script that exposes a UniFi-compatible DDNS API to dynamically update the IP address of a DNS A recor
A service worker that buffers a full video, so when the video tag ask for ranges, these can be satisfied. Play + pause = buffer the whole video.
Full Video Buffer with Service Workers The specification of the preload attribute on a Video element won't allow you to fully buffer a video. This rep
๐ My simple worker for short links
๐ My simple worker for short links I wanted a quick-and-easy way to create links on my domain, so I turned to Cloudflare Workers. All routes availabl
โ๏ธ Strongly-typed Discord commands on Cloudflare Workers
โ๏ธ Slshx Slshx is a slightly wacky, experimental, library for building strongly-typed Discord commands that run on Cloudflare Workers, using a React-i
Edge-side GitHub authentication
cloudflare-workers-github-auth Edge-side GitHub authentication example. Requirements node.js (v16.13.1 or later) Installation Clone this repository an
Redirect requests of current origin to another domain with Service Worker.
Service Worker to Redirect Origin This is a tool for your static website which could intercept all GET requests of the origin domain and redirect them
Airtable + Cloudflare Workers URL Shortener ๐ค
tableflare Airtable + Cloudflare Workers URL Shortener ๐ค Quick Start Airtable Generate your Airtable API key from your account dashboard: https://air
@TGMusicfy - Minimalistic Telegram music search bot written in TypeScript and based on Telegraf and Express JS.
@TGMusicfy Go to bot Deployed thanks to Heroku and New-Relic Bots are special Telegram accounts designed to handle messages automatically. Users can i
Self-hosting web code editor (for Hack Club CodeJelly)
reflection Self-hosting web code editor (for Hack Club CodeJelly) Reflection-editor is a code editor that edits its own code, and uses modern web tech
The proxied-worker tech for NodeJS
proxied-node This is exactly the same proxied-worker module, specific for a NodeJS proxied namespace. The only difference is that the client side is a
Easily redirect one entire domain to another with a serverless Cloudflare Worker.
Domain Redirecting with Cloudflare Workers Easily redirect one entire domain to another with a serverless Cloudflare Worker. All paths and other data
slash-create with Cloudflare Workers template
/create with Cloudflare Workers A slash-create template, using Cloudflare Workers. Getting Started Cloning the repo You can either use degit to locall
A Cloudflare Worker for fetching data from Twitter User API.
cloudflare-worker-twitter This is a Cloudflare Worker for fetching data from Twitter User API. โ About this project I created this Worker to hide my A
๐ฅ Miniflare is a simulator for developing and testing Cloudflare Workers.
๐ฅ Miniflare is a simulator for developing and testing Cloudflare Workers.
Cloudflare Workers Discord embed & keep URL example scripts.
Using Cloudflare Workers for Discord embed support Requirements: Your own image host, on a domain that you control via Cloudflare. Limitations: 100,00
A template for WebSockets powered Cloudflare Worker project using graphql-ws
๐ก graphql-ws on Cloudflare Workers A template for WebSockets powered Cloudflare Worker project using graphql-ws. The worker serves the following rout
A tiny utility to asynchronously drive a namespace exposed through a Worker.
proxied-worker Social Media Photo by Ricardo Gomez Angel on Unsplash A tiny utility to asynchronously drive a namespace exposed through a Shared/Servi