All Projects → GitbookIO → proxies-on-cloudflare

GitbookIO / proxies-on-cloudflare

Licence: other
Proxies in Cloudflare Workers

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to proxies-on-cloudflare

likecoin-button
Every Like is a reward. Turn your Likes into actual income now.
Stars: ✭ 18 (-78.57%)
Mutual labels:  firebase-hosting
cloudflare-worker-router
A super lightweight router (1.3K) with middleware support and ZERO dependencies for CloudFlare Workers.
Stars: ✭ 144 (+71.43%)
Mutual labels:  cloudflare-worker
curl-worker
No description or website provided.
Stars: ✭ 42 (-50%)
Mutual labels:  cloudflare-worker
angular-universal-firebase
angular-universal-firebase.firebaseapp.com/
Stars: ✭ 30 (-64.29%)
Mutual labels:  firebase-hosting
Bento Starter
🍱 Full-Stack solution to quickly build PWA applications with Vue.js and Firebase
Stars: ✭ 1,519 (+1708.33%)
Mutual labels:  firebase-hosting
redirekt
Super simple Cloudflare Worker that performs redirections and serves a static site from Cloudflare Workers KV
Stars: ✭ 15 (-82.14%)
Mutual labels:  cloudflare-worker
cloudflare-worker-app-kit
☁✨ A handy set of tools for creating a Cloudflare Worker app.
Stars: ✭ 75 (-10.71%)
Mutual labels:  cloudflare-worker
IPFS PHOTO SHARE
💰用甚嚒服务器,ServerLess搭建一个图片分享站点!| 基于CloudFlareWorker无服务器函数和IPFS去中心化存储的图片分享网站
Stars: ✭ 76 (-9.52%)
Mutual labels:  cloudflare-worker
bilkent-scheduler
Visualizer that makes Bilkent University students' lives easier during course registration
Stars: ✭ 22 (-73.81%)
Mutual labels:  firebase-hosting
BookRentApp-Chapter3
An app where you can rent some books!
Stars: ✭ 11 (-86.9%)
Mutual labels:  firebase-hosting
kanban-project-management
Web Application to manage software development projects.
Stars: ✭ 39 (-53.57%)
Mutual labels:  firebase-hosting
react-firebase-t3chfest
T3chFest 2017 Workshop about React + Firebase
Stars: ✭ 42 (-50%)
Mutual labels:  firebase-hosting
DNS-over-Discord
A 1.1.1.1 DNS resolver built for Discord
Stars: ✭ 228 (+171.43%)
Mutual labels:  cloudflare-worker
nuxt-ssr-firebase
A example repo for using nuxt with firebase hosting and cloud functions
Stars: ✭ 58 (-30.95%)
Mutual labels:  firebase-hosting
nx-extend
Nx Workspaces builders and tools
Stars: ✭ 67 (-20.24%)
Mutual labels:  firebase-hosting
Contact-Form
The Lightweight Contact Form which send contact requests on your Telegram
Stars: ✭ 28 (-66.67%)
Mutual labels:  cloudflare-worker
ngx-scully-blog
A simple blog made for developers that is easy to setup, supports SEO, Google Adsense, Google Analytics, Facebook Pixel, and many more
Stars: ✭ 36 (-57.14%)
Mutual labels:  firebase-hosting
Gmail-Clone
A Gmail Clone which built with ReactJS and Redux. You can sign in with your Google Account, compose a new e-mail and send realtime emails to the project.
Stars: ✭ 48 (-42.86%)
Mutual labels:  firebase-hosting
poll
Cloudflare worker for embedding polls anywhere.
Stars: ✭ 39 (-53.57%)
Mutual labels:  cloudflare-worker
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (-36.9%)
Mutual labels:  firebase-hosting

proxies-on-cloudflare

Makes it easy to build Cloudflare Workers, by providing high-level proxying primitives addressing common needs.

Installation

$ yarn add proxies-on-cloudflare

Features

  • Built-in proxies for
    • Firebase (Hosting & CloudFunctions)
    • Mixpanel
  • Simple routing via quoi (providing a familiar express-like API)
  • One-liner proxies (e.g: proxy.to('https://upstream.com/'))
  • Loadbalancing (roundrobin, random, iphash, ...)
  • Fallback and error handling

Example

import { quoi, firebase, proxy }  from 'proxies-on-cloudflare';
import { hosting as hostingConfig } from './firebase.json';

// Init firebase proxy
const fbase = new firebase('gitbook-staging', hostingConfig);

// Route and listen
const app = quoi();
app.domain('app.gitbook.com').serve(fbase);
app.domain('test.gitbook.com').serve(proxy.to('https://test.github.io/test/'));
app.domain('storage.gitbook.com').serve(proxy.roundrobin(['https://server1', /* ... */ ]));
app.listen();

You can see a more complex (real-world) example in _examples/gitbook/

Why ?

We originally (GitBook) built proxies-on-cloudflare (previously named firebase-on-cloudflare) to fix connection issues we had between Cloudflare and Fastly/Firebase Hosting but have now extended it to solve broad routing needs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].