favicon-editor

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: BSD-3-Clause Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Favicon Editor License

View, create and edit favicon.ico and favicon.png images by using a TUI.

Quick start

You can install favicon-editor with Go 1.25 or later:

go install github.com/xyproto/favicon-editor@latest

Features and limitations

  • Can open both Icon files and PNG files.
  • Saves graphics as 16-color grayscale images, or as 16-color indexed red images when in red mode (ctrl-r).
  • Lets you draw a simple favicon.ico file even if you are ssh'd into a server.

Hotkeys

  • ctrl-q - Quit
  • ctrl-s - Save
  • ctrl-a - Go to start of text, then start of line and then to the previous line.
  • ctrl-e - Go to end of line and then to the next line.
  • ctrl-p - Scroll up 10 lines.
  • ctrl-n - Scroll down 10 lines, or go to the next match if a search is active.
  • ctrl-k - Delete characters to the end of the line, then delete the line.
  • ctrl-g - Toggle the filename/line/column/unicode/word count status display.
  • ctrl-r - Toggle between red mode and regular grayscale mode.
  • ctrl-d - Delete a single character.
  • delete - Clear the color of a pixel to the default color.
  • ctrl-x - Cut the current line.
  • ctrl-c - Copy the current line.
  • ctrl-v - Paste the current line.
  • ctrl-u - Undo (ctrl-z is also possible, but may background the application).
  • ctrl-l - Jump to a specific line number.
  • esc - Redraw the screen and clear the last search.
  • ctrl-space - Export to .png if editing an .ico file. Export to .ico if editing a .png file.
  • ctrl-~ - Save and quit.

Manual installation

On Linux:

git clone https://github.com/xyproto/favicon-editor
cd favicon-editor
go build -mod=vendor
sudo install -Dm755 favicon-editor /usr/bin/favicon-editor
gzip favicon-editor.1
sudo install -Dm644 favicon-editor.1.gz /usr/share/man/man1/favicon-editor.1.gz

General info

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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