Reorganize project into standard root layout

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
GitHub Copilot
2026-02-14 22:40:29 +00:00
parent 374b69bd7e
commit 516f1b1946
62 changed files with 34 additions and 32 deletions
+4 -9
View File
@@ -27,26 +27,24 @@ This repository is the Go port of the original Python implementation, which is p
```bash
git clone https://github.com/rcarmo/webterm.git
cd webterm/go
cd webterm
mkdir -p bin
go build -o ./bin/webterm ./cmd/webterm
```
The command above produces `go/bin/webterm`; you can also build it from repo root with `make build-go`.
The command above produces `bin/webterm`; you can also build it from repo root with `make build-go`.
## Quick start
Run a default shell session:
```bash
cd go
go run ./cmd/webterm
```
Run a specific command:
```bash
cd go
go run ./cmd/webterm -- htop
```
@@ -64,14 +62,12 @@ Then open <http://localhost:8080>.
```
```bash
cd go
go run ./cmd/webterm -- --landing-manifest ../landing.yaml
go run ./cmd/webterm -- --landing-manifest ./landing.yaml
```
### Docker watch
```bash
cd go
go run ./cmd/webterm -- --docker-watch
```
@@ -83,8 +79,7 @@ Containers with these labels become tiles:
### Compose manifest
```bash
cd go
go run ./cmd/webterm -- --compose-manifest ../docker-compose.yaml
go run ./cmd/webterm -- --compose-manifest ./docker-compose.yaml
```
## Environment variables