Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 891 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 891 Bytes

TOMP Bare Server

This repository implements the TompHTTP bare server. See the specification here.

In use with proxies! All you need to do is deploy this to cloudflare, get the worker url clone this repo(can be hosted static!) and put the workers url in the place bare server link

What I did

I fixed some things from this repo

Quickstart

  1. Clone this repository
git clone https://github.com/tomphttp/bare-server-worker.git
  1. Install
npm install
  1. Build
npm run build

Output will contain:

  • dist/sw.js - All-in-one service worker. Automatically creates the Bare Server.
  • dist/index.js - ESM library. For use in environments where scripts can be imported.