KaloyanYosifov / hkb

The program to contain all needed stuff (Holy Kern Base)
0 stars 0 forks source link

Support showing images #26

Open KaloyanYosifov opened 6 months ago

KaloyanYosifov commented 6 months ago

Inspiration: https://github.com/benjajaja/ratatui-image

KaloyanYosifov commented 6 months ago

Sixel is not supported on my Alacritty (the main terminal I use) https://www.arewesixelyet.com/

Hence we will build a base character based image rendering and allow sixel for terminals that allow it.

KaloyanYosifov commented 6 months ago

This is a fun part of the application to just try out rendering images LOL

KaloyanYosifov commented 6 months ago

Maybe to also write a png decode 😄 https://www.w3.org/TR/png-3/#13Decoders

KaloyanYosifov commented 6 months ago

PNG Decoder (Delayed)

Image rendering on terminal:


Why do we need image rendering?

How are we going to implement it?

  1. We can add attach button support for reminders
  2. We could start the cli and support opening images (hkb-cli open-image)
  3. Build a prototype on the main app