https://github.com/xyproto/favicon-editor
:abacus: Spartan grayscale favicon editor for the terminal
https://github.com/xyproto/favicon-editor
4-bit favicon graphics-editor grayscale image-editor terminal
Last synced: 3 days ago
JSON representation
:abacus: Spartan grayscale favicon editor for the terminal
- Host: GitHub
- URL: https://github.com/xyproto/favicon-editor
- Owner: xyproto
- License: bsd-3-clause
- Created: 2020-04-16T08:56:28.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T11:49:03.000Z (over 3 years ago)
- Last Synced: 2026-04-27T11:36:38.879Z (about 2 months ago)
- Topics: 4-bit, favicon, graphics-editor, grayscale, image-editor, terminal
- Language: Go
- Homepage:
- Size: 4.33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - Favicon Editor - Minimalist grayscale favicon editor for the terminal. (<a name="graphics"></a>Graphics)
- awesome-cli-apps - Favicon Editor - Minimalist grayscale favicon editor for the terminal. (<a name="graphics"></a>Graphics)
- awesome-tuis - favicon-editor
README
# Favicon Editor [](https://goreportcard.com/report/github.com/xyproto/favicon-editor) [](https://raw.githubusercontent.com/xyproto/favicon-editor/master/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.17 or later:
go install github.com/xyproto/favicon-editor@latest
## Features and limitations
* Can open both Icon files and PNG files.
* Will only save graphics as 16-color graysacle images.
* 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-d` - Delete a single character.
* `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 o /usr/bin/favicon-editor
gzip fav.1
sudo install -Dm644 favicon-editor.1.gz /usr/share/man/man1/favicon-editor.1.gz
## General info
* Version: 1.0.0
* License: 3-clause BSD
* Author: Alexander F. Rødseth <xyproto@archlinux.org>