3/31/2023 0 Comments Http toolkit alternativeProjects directory path (default "~/.hetty/projects")ĭetailed documentation is under development and will be available soon. Creates a new CA private key if file doesn't exist (default "~/.hetty/hetty_key.pem") Creates a new CA certificate is file doesn't exist (default "~/.hetty/hetty_cert.pem")ĬA private key filepath. TCP address to listen on, in the form "host:port" (default ":8080")ĬA certificate filepath. To start, ensure hetty (downloaded from a release, or manually built) is in your $PATH and run: $ hettyĪn overview of configuration flags: $ hetty -h hetty directory under the user’s home directory ( $HOME on Linux/macOS, %USERPROFILE% on Windows). When Hetty is run, by default it listens on :8080 and is accessible via Depending on incoming HTTP requests, it either acts as a MITM proxy, or it serves the API and web interface.īy default, project database files and CA certificates are stored in a. $ docker run -v $HOME/.hetty:/root/.hetty -p 8080:8080 dstotijn/hetty Usage For persistent storage of CA certificates and project databases, mount a volume: $ mkdir -p $HOME/.hetty go file with go.rice beforehand.Ĭlone the repository and use the build make target to create a binary: $ git clone cd hettyĪ Docker image is available on Docker Hub: dstotijn/hetty. Additionally, the static resources for the admin interface (Next.js) need to be generated via Yarn and embedded in a. Hetty depends on SQLite (via mattn/go-sqlite3) and needs cgo to compile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |