chore: update README
This commit is contained in:
@@ -7,13 +7,14 @@
|
|||||||
- Minimal tracking setup: Country, browser, OS, referer. No cookies or persistent tracking mechanisms are used beyond what's available from a basic client's request.
|
- Minimal tracking setup: Country, browser, OS, referer. No cookies or persistent tracking mechanisms are used beyond what's available from a basic client's request.
|
||||||
- Includes `X-Forwarded-For` header.
|
- Includes `X-Forwarded-For` header.
|
||||||
- Multiple users are supported via API key authentication. Create, list and delete keys via the [CLI](docs/SETUP.md#cli).
|
- Multiple users are supported via API key authentication. Create, list and delete keys via the [CLI](docs/SETUP.md#cli).
|
||||||
- Easy to extend, Ruby on Rails-inspired setup.
|
- Easy to extend, Ruby on Rails inspired setup.
|
||||||
|
- Auto update UA regexes and GeoLite2 database
|
||||||
|
|
||||||
## Why bit?
|
## Why bit?
|
||||||
|
|
||||||
**Fast:** **11k req/sec**, latency 11ms, 40MiB avg memory usage (100k requests using 125 connections, [benchmark](docs/SETUP.md#benchmark)).
|
**Fast:** **11k req/sec**, latency 11ms, 40MiB avg memory usage (100k requests using 125 connections, [benchmark](docs/SETUP.md#benchmark)).
|
||||||
|
|
||||||
**Lightweight:** <100MB disk space, <100MiB RAM.
|
**Lightweight:** Minimal dependencies, image size under 20 MiB, memory usage under 60 MiB at peak.
|
||||||
|
|
||||||
**Self-hosted:** [Dokku](docs/SETUP.md#dokku), [Docker Compose](docs/SETUP.md#docker-compose).
|
**Self-hosted:** [Dokku](docs/SETUP.md#dokku), [Docker Compose](docs/SETUP.md#docker-compose).
|
||||||
|
|
||||||
|
|||||||
+3
-5
@@ -11,16 +11,14 @@ info:
|
|||||||
## Authentication
|
## Authentication
|
||||||
|
|
||||||
Multiple users are supported via `X-Api-Key` headers. Create, list and delete keys via the [CLI](https://github.com/sjdonado/bit/blob/master/SETUP.md#cli).
|
Multiple users are supported via `X-Api-Key` headers. Create, list and delete keys via the [CLI](https://github.com/sjdonado/bit/blob/master/SETUP.md#cli).
|
||||||
version: 1.0.0
|
version: 1.6.0
|
||||||
contact:
|
contact:
|
||||||
name: API Support
|
name: Juan Rodriguez Donado
|
||||||
url: https://github.com/sjdonado/bit
|
url: https://sjdonado.com
|
||||||
|
|
||||||
servers:
|
servers:
|
||||||
- url: http://localhost:4000
|
- url: http://localhost:4000
|
||||||
description: Development server
|
description: Development server
|
||||||
- url: http://localhost:4001
|
|
||||||
description: Benchmark server
|
|
||||||
|
|
||||||
security:
|
security:
|
||||||
- ApiKeyAuth: []
|
- ApiKeyAuth: []
|
||||||
|
|||||||
Reference in New Issue
Block a user