git-next/crates/cli/src/tui
Paul Campbell bf6b4fcd21
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 7m42s
Rust / build (map[name:stable]) (push) Successful in 10m55s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m15s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
fix: apply clippy suggestions from rust nightly
2024-11-21 21:57:49 +00:00
..
actor chore(deps): update rust crate bon to v3 2024-11-21 21:40:38 +00:00
components fix: apply clippy suggestions from rust nightly 2024-11-21 21:57:49 +00:00
logging.rs feat(tui): (experimental) show repo state, messages and git log 2024-08-25 15:59:42 +01:00
mod.rs feat(tui): (experimental) show repo state, messages and git log 2024-08-25 15:59:42 +01:00
README.md docs: Add missing port mapping parameter for running in docker 2024-09-13 08:59:38 +01:00

Terminal UI

Currently the Terminal UI is an experimental feature, controlled by the feature flag tui.

Build & Run

The build git-next with the Terminal UI use: cargo install git-next --features tui

To run git-next with the Terminal UI use: git-next server start --ui

Docker

If using the docker image you will need to create a directory to mount that contains the git-next-server.toml file. Mount this directory as /app. In the example below we use the current directory for this.

If you want to persist the clones of your monitored repos then point storage.path in git-next-server.toml to the the directory /app, (e.g. path = "/app/data").

Map the port your webhook notifications are arriving on to the port specified in listen.http.port.

docker run -it -p "8080:8092" -v .:/app/ git.kemitix.net/kemitix/git-next:latest server start --ui

logs

When the Terminal UI is enabled via the --ui parameter, logs are written to the file:

  • ??? on Linux
  • ~/Library/Application Support/net.kemitix.git-next/git-next.log on MacOS
  • ??? on Windows

Keys

  • q - Quit
  • j - Down
  • k - Up
  • f - Page Down
  • b - Page Up
  • g - Top/Home
  • G - Bottom/End