Git Product home page Git Product logo

specifications-v4's Introduction

TOMPHTTP Specifications - bare v4 Edition

Deprecation Notice

Bare v4 is the last update and version of bare

In 2024, bare shouldn't be used for general proxying in SWs (standard bare). You should only use it if you can't afford proper server hosting and rely on cheaper hosting that doesn't support Web Sockets. You should switch to wisp at the very least and to epoxy-tls if you have the resources to do so. I only recommend bare for bare-extended, which should be in any proxy that has API interceptors to take advantage of those features as a supplement to wisp. It is more important to ensure the safety of your users rather than speed. Regardless, most wisp servers are more optimized than bare, so you will likely notice a speed improvement when switching.

Standard bare refers to bare without the regular proxying functionality, and the entire bare meta is used for alternative transports.

bare -> wisp migration guide

  • Change your imports from bare-server-node to wisp-server-node
  • If you are using bare-mux, as you should, switch your bare transport to EpoxyTransport

wisp won't give you the E2EE benefits that epoxy has, but it will be maintained more often and will make your transition to epoxy more easier

What is TOMP?

TOMP (acronym for Too Many Proxies) is an organization containing new standards and implementations for web proxies built on Service Workers.

Why should I use the TOMP specifications?

Many proxies have been successful without following any specifications. Although the proxies may run very well, a unified backend or protocol must exist. Before the TOMP model, if you wanted to set up n proxies, you needed to set up n servers. The TOMP model accomplishes a unified backend. In practice, you can have n implementations that use only one bare server, saving resources and the maintenance required for multiple servers.

Creating specifications allows for productivity. One developer can implement the TOMP model without writing an entire backend. Instead, they can set up a Bare Server. This saves valuable time and allows the developer to focus more on their code, not HTTPS frameworks or URL parsing libraries.

We want to provide as little as possible for a wide range of compatibility while allowing others to extend the standard.

What if I want to do something radical instead

That's fine! It should be easy to migrate to a different backend because the BareClient is still standardized. You can swap the backend if you provide a BareClient-compatible implementation.

Listing

Planning

Although we take issues and pull requests, much planning for new specifications happens here.

specifications-v4's People

Contributors

movbyte avatar e9x avatar gavbog avatar cohenerickson avatar countbleck avatar illusiontba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.