flxvwr

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 10 Imported by: 0

README

flxvwr

This project is a simple, cross-platform image viewer written in Go using the Fyne toolkit. The application provides a minimal user interface, keyboard shortcuts for navigation, and smooth performance across platforms including Windows, macOS, and Linux.

Features

  • Cross-Platform Support: Runs on Windows, macOS, and Linux.
  • Simple UI: Minimalistic interface for a clean viewing experience.
  • Keyboard Shortcuts: Navigate through images and control the viewer with intuitive key bindings.
  • Responsive: Built with Fyne, enabling a responsive and native look on all platforms.

Keyboard Shortcuts

  • Q/Esc: Quit the application
  • C: Clear the current playlist
  • Space: Play/Pause the current playlist
  • Left/Right Arrow: Prev/Next image
  • Up/Down Arrow: Delay +/- 0.5s
  • S: Toggle shuffle mode
  • /: Show settings

Installation

  1. Get Go:

    Go here to install Go.

  2. Ensure Go paths are set: Add the following to your .bashrc or .zshrc:

    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    
  3. Install flxvwr:

    go install github.com/justjcurtis/flxvwr@latest
    
  4. Run the application

    flxvwr
    

Usage

Launch the application, drag&drop images or directories into the window, and start viewing. Use the keyboard shortcuts to navigate between images and manage the viewer. Directories are recursively scanned for images, and you can clear the current playlist using C or toggle shuffle mode using S for a random viewing experience.

Roadmap

  • Zoom & Pan: Fixes for keeping the image centered when zooming in/out are needed.
  • Customisable Key Bindings: Allow users to customise key bindings for navigation and controls.
  • Image Metadata: Display image metadata such as resolution, file size, and format.
  • Image Sorting: Sort images by name, date, or size.
  • Image Filtering: Filter images by file type or resolution.
  • Plugins: Add support for Lua plugins to extend the application's functionality.
    • Package Manager: Implement a package manager for installing and managing plugins.
  • Thumbnail View: Display a grid of image thumbnails for quicker navigation.
  • UI Tests: Write tests to ensure the application functions as expected.

Contributing

Contributions are welcome! Feel free to submit a pull request to suggest improvements or additional features.

License

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL