Giter VIP home page Giter VIP logo

ivie's Introduction

image-viewer

Image viewer made for my requirements.

How to build

You will need ghc, stack and probably cabal

Also your system will need GTK3.

stack build in root directory will build the program.

How to launch

It does not have any GUI whatsoever and intended to be invoked from command line. It does not have any options and treats all input as a list of files. If there is only one file, and it is a directory, it will descend and load all files from it; it is recursive. If there aren't any, it loads all files from current directory.

What to do with it

Keybindings are the following:

space and enter will load next random image

backspace will load previous random image

e will load next sequential image (they are sorted by name), w will load previous. Note that moving sequentially will not affect random order, so space, e, e, backspace will result in the same as space, backspace

p prints file name to stdout, also copies its full path into system buffer

y copies full path to file into system buffer, also prints it to stdout

q and ESC exits program.

0 will return image sequence to the first image. If you want to view all images in sequence, press 0 after the start and then use e and w to navigate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.