/oai

terminal image viewer

Primary LanguageC++

oai - Simple terminal image viewer

Still under development

TODO List

  • Fix color corrections for different image types
  • Keep image aspect ratio
  • Set image centered as default
  • Code cleanup
  • Fix bugs

IDEAS

  • Implement ffmpeg/ffplay/mplayer/mpv to play videos in terminal (seperate project?)
  • In-terminal opengl rendering surface (seperate project?)
Build (debian/ubuntu based)
git clone https://github.com/olealgoritme/oai
cd oai
./install_deps.sh
make
Install oai system wide
sudo make install
Use in terminal emulator
  • arrow keys moves image inside terminal
  • +/- for zoom in/out (still buggy, needs fix)
  • mouse click on image or 'q' closes oai
oai stepsis.png
oai stepsis.png -s 0.3 (downscale to 30%)
oai stepsis.png -s 2.0 (upscale to 200%)