https://github.com/tomphttp/bare-server-node
TompHTTP Bare server in the Node runtime
https://github.com/tomphttp/bare-server-node
cli nodejs proxy tomphttp
Last synced: 29 days ago
JSON representation
TompHTTP Bare server in the Node runtime
- Host: GitHub
- URL: https://github.com/tomphttp/bare-server-node
- Owner: tomphttp
- License: gpl-3.0
- Created: 2022-01-22T19:39:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-16T06:04:08.000Z (about 2 months ago)
- Last Synced: 2025-09-16T08:15:15.869Z (about 2 months ago)
- Topics: cli, nodejs, proxy, tomphttp
- Language: TypeScript
- Homepage:
- Size: 462 KB
- Stars: 78
- Watchers: 4
- Forks: 147
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TOMP Bare Server
This repository implements the TompHTTP bare server. See the specification [here](https://github.com/tomphttp/specifications/blob/master/BareServer.md).
## Upgrading
A guide for updating from v1 to v2 can be found [here](./docs/V2-UPGRADE-GUIDE.md).
## Usage
We provide a command-line interface for creating a server.
For more features, specify the `--help` option when running the CLI.
## Quickstart
1. Install Bare Server Node globally
```sh
npm install --global @tomphttp/bare-server-node
```
2. Start the server
```sh
npx bare-server-node
```
Optionally start the server localhost:8080:
```sh
npx bare-server-node --port 8080 --host localhost
```
## Programically create a bare server
See [examples/](https://github.com/tomphttp/bare-server-node/tree/master/examples).
## Development
See the [wiki](https://github.com/tomphttp/bare-server-node/wiki).