Collection of human friendly terminal interface for git.

Overview


git tui

git tui

A collection of human friendly terminal user interface for git.

GitHub action linux clang GitHub action linux gcc GitHub action mac clang LICENSE

Demo • Installation • Usage • Contribute

Demo

gittui diff

Demo

Install

Snap:

git-tui

sudo snap install git-tui

From binaries:

10 different packages (deb, rpm, sh, zip, tar.gz, etc...): Latest.

From source:

git clone https://github.com/ArthurSonzogni/git-tui;
cd git-tui;
mkdir build;
cd build;
cmake ..;
sudo make install -j;

Usage

Replace git by git tui and use the usual commands and arguments.

Available commands:

git tui diff

asciicast

git tui log

asciicast

More to be added...

Contribute

If you like git tui and you find it useful, there are ways for you to contribute. You can suggest improvement or propose your own pull requests.

Issues
  • Enhancement: PgUp, PgDown, Home, End support

    Enhancement: PgUp, PgDown, Home, End support

    The project seems to be very clever and useful. But to have more robust control over the panes it would be nice to be able to scroll the content by one page or to the very beginning or the very end of the diff.

    enhancement 
    opened by szczad 4
  • diff: Keep user's background color

    diff: Keep user's background color

    [why] The background in the main area is hardcoded to dark grey (30,30,30). This breaks the usability for people who have a light theme (i.e. black or dark text on light background).

    [how] One solution would be to also change the foreground color, but that will for sure irritate people who use 'solarized' or other themes.

    Imho it would be best not to tinker with the background colors unless at least light and dark is selectable as option (and ideally autoselect depending on the used terminal's current background (vim for example does that, adapt the color scheme to the current user selected background in the terminal).

    So the solution implemented here is to completely drop the change in background color.

    Screenshots

    Here two sets of screenshots. tilix is used in a light theme, while terminal is set up for a dark theme.

    Before PR

    1

    Background color in both terminals is the same, albeit tilix uses normally white and has black text while terminal uses black background and white text.

    After PR

    2

    Background color not touched anymore. This means it's not dark-gray anymore but the default background color, that matches the used default foreground color.

    opened by Finii 1
  • log: Correct column titles

    log: Correct column titles

    [why] The column headers for 'files' and 'commits' are swapped.

    This has been introduced with commit 2c8d56e Use resizable split

    [how] Just change the string literals.

    Fixes: #7

    opened by Finii 1
  • Enhancement: Scroll content view horizontaly

    Enhancement: Scroll content view horizontaly

    Right now left and right arrows switch between views.

    The idea is to switch the content with tab key and use arrows to scroll the content of the view. I.e.: the diff area if the content is too long or the file explorer view (apart from resizing the pane using the mouse).

    opened by szczad 0
  • Doesn't seem to work on Mac OSX

    Doesn't seem to work on Mac OSX

    I was able to build from source (using make and cmake installed with brew), but invoking the commands git-tui log and git-tui diff does nothing. The commands were issued within an active repo and the plain git commands git log and git diff do show correct output.

    Any ideas? It would be cool to use the diff feature instead of built-in git diff.

    opened by jeffwright13 9
Releases(v1.0.8)
Owner
Arthur Sonzogni
Love C++. - Image rendering / analysis. - Ascii art / TUI. - Games
Arthur Sonzogni
Spitfire is a basic terminal language that can exicute code via the terminal.

Spitfire is a basic terminal language that can exicute code via the terminal. It is easy to learn and runs fast, considering that its just a 300 line c++ file.

jhomas tefferson 0 Nov 18, 2021
:computer: C++ Functional Terminal User Interface. :heart:

FTXUI Functional Terminal (X) User interface A simple C++ library for terminal based user interface. Demo: Feature Functional style. Inspired by [1] a

Arthur Sonzogni 3.2k Jun 23, 2022
A (relatively) small node library to clone and pull git repositories in a standalone manner thanks to libgit2, powered by WebAssembly and Emscripten

simple-git-wasm A (relatively) small node library to clone and pull git repositories in a standalone manner thanks to libgit2, powered by WebAssembly

Powercord 20 May 20, 2022
Small header only C++ library for writing multiplatform terminal applications

Terminal Terminal is small header only library for writing terminal applications. It works on Linux, macOS and Windows (in the native cmd.exe console)

Jupyter Xeus 208 Jun 30, 2022
A little UNIX-inspired terminal application for the Numworks Calculator (not using escher).

L.E. Terminal (let for short) is a little UNIX-inspired terminal for the Numworks Calculator.

Cacahuète Sans Sel 18 Apr 27, 2022
Draw sequence diagram in text from terminal.

sequence-diagram-cli Draw seqence diagram from terminal.

null 42 Feb 28, 2022
Terminal calculator made for programmers working with multiple number representations, sizes, and overall close to the bits

Programmer calculator The programmer calculator is a simple terminal tool designed to give maximum efficiency and flexibility to the programmer workin

romes 164 Jun 22, 2022
X terminal emulator rendering through OpenGL ES Compute Shaders

Zutty is a terminal emulator for the X Window System, functionally similar to several other X terminal emulators such as xterm, rxvt and countless others

Tom Szilagyi 212 Jun 22, 2022
The new Windows Terminal and the original Windows console host, all in the same place!

The new Windows Terminal and the original Windows console host, all in the same place!

Microsoft 83.8k Jun 27, 2022
n³ The unorthodox terminal file manager

n³ The unorthodox terminal file manager

Mischievous Meerkat 14.3k Jun 28, 2022
Graphs the activity of a chia harvester in a linux terminal.

Chia Harvest Graph Monitor for Chia Harvesting Introduction The chiaharvestgraph tool will graph Chia Harvesting activity in a linux terminal. Use a 2

Bram Stolk 219 Jun 3, 2022
a simple to use linux terminal

a simple to use linux terminal

notaweeb 7 Feb 17, 2022
Simple benchmark for terminal output

TermBench This is a simple timing utility you can use to see how slow your terminal program is at parsing escape-sequence-coded color output. It can b

Casey Muratori 171 May 30, 2022
tinytetris - 80x23 terminal tetris

tinytetris - 80x23 terminal tetris

Conor Taylor 1.8k Jul 2, 2022
Contour - A modern C++ Terminal Emulator

contour is a modern terminal emulator, for everyday use. It is aiming for power users with a modern feature mindset.

Contour Terminal Emulator 873 Jun 26, 2022
A C, C++ and Rust library to draw graphics with pixels in the terminal

A library to draw graphics with pixels in the terminal Who needs a GUI when you have a terminal ? Building To generate libpluto.a, run: $ make To ins

null 67 Jun 15, 2022
📺🗿 Terminal graphics for the 21st century.

???? Chafa is a command-line utility that converts all kinds of images, including animated GIFs, into sixel or ANSI/Unicode character output that can be displayed in a terminal.

Hans Petter Jansson 1.4k Jun 24, 2022
Simple Unix Terminal Football Manager-like game.

Superleage 2020/2021 It is a "work in progress" simple game based on some mechanics of Football Manager. The game is in a very early stage of Developm

sewe2000 2 Oct 14, 2021
timg - Terminal Image and Video Viewer

timg - Terminal Image and Video Viewer

Henner Zeller 1.2k Jun 27, 2022