phogo is a lightweight, terminal-native image gallery and ASCII renderer built with Go and the Bubble Tea framework. It transforms your images into vibrant ASCII art.
- Smart Launch: Open specific files or directories directly from the CLI.
- Live ASCII Filters: Swap between Color, Grayscale, Inverted, and Duotone modes instantly using
1-4. - Slideshow Mode: Hands-free viewing with an automatic looping slideshow.
- Wayland Integration: Native
wl-copysupport for copying file paths. - Headless Conversion: A dedicated
--convertflag to spit ASCII art directly tostdout. - File Management: Rename, delete, and search for files without leaving the TUI.
- Advanced Sorting: Organize your gallery by Name, Size, or Date Modified.
Download from relaese page
||
go install github.com/SirSobhan0/phogo@latest||
Compile from source:
Ensure you have Go installed, then:
# Clone the repository
git clone https://github.com/SirSobhan0/phogo.git
cd phogo
# Install dependencies
go mod download
# Build and install the binary
go build -o phogo main.go
sudo mv phogo /usr/local/bin/Note: For clipboard support on Wayland, ensure wl-clipboard is installed.
# Open phogo in the current directory
phogo
# Open phogo in a specific directory
phogo ~/Pictures/Wallpapers
# Open a specific image directly
phogo drone_shot.jpg
# Convert an image to ASCII and output to terminal (Headless)
phogo --convert drone_shot.jpg| Key | Action |
|---|---|
| j / k | Move cursor down/up |
| Enter | View Image / Open Folder |
| P | Start Looping Slideshow |
| s | Cycle Sort (Name, Size, Date) |
| h | Toggle Hidden Files |
| / | Filter/Search files |
| r | Rename selected file |
| x | Delete selected file |
| y | Copy absolute path to clipboard (Wayland) |
| d | Set current directory (in Folder Browser) |
| q | Quit |
| Key | Action |
|---|---|
| 1 | Color Filter |
| 2 | Grayscale Filter |
| 3 | Inverted Filter |
| 4 | Duotone Filter |
| Esc / q | Back to browser |
| Any Key | Stop Slideshow |
This project is licensed under the GPL-3.0-or-later License, see the COPYING file for details.
