Efficient archive server
Find a file
2024-07-02 20:44:22 +04:00
.gitignore feat: gitignore 2024-07-02 18:50:33 +04:00
go.mod chore(deps): go mod tidy 2024-07-02 20:15:29 +04:00
go.sum feat: add main functionality 2024-07-02 18:48:05 +04:00
LICENSE template: fasthttp 2024-07-02 15:24:08 +04:00
README.md docs: add readme 2024-07-02 20:44:22 +04:00
server.go feat: add config via args, log ListenAndServe error if any 2024-07-02 20:33:36 +04:00

Usage of ./server:
  -bind string
        Where to listen for connections (default "127.0.0.1:4001")
  -dbpath string
        Path to SQLite3 DB generated by mitmproxy addon (default "archive.db")
  -proxy
        Whether server is behind a reverse proxy (default true)
  -storage string
        Path to archived responses storage (default "storage")
  -verbose
        Whether to log all URLs