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: 20 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T15:04:20.000Z (about 1 year ago)
- Last Synced: 2024-04-25T19:21:48.880Z (12 months ago)
- Topics: cli, nodejs, proxy, tomphttp
- Language: TypeScript
- Homepage:
- Size: 487 KB
- Stars: 67
- Watchers: 5
- Forks: 117
- 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).