blessed
derasterize
blessed | derasterize | |
---|---|---|
13 | 6 | |
1,053 | 103 | |
- | - | |
5.6 | 1.8 | |
24 days ago | over 3 years ago | |
Python | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blessed
-
Advice for creating my first game?
separate logic and presentation - so, for example, you can start off with a very simple console based solution, move to a more advanced text/console user interface (using e.g. blessed), then onto a simple GUI or webapp
-
CLI interfaces with choice highlighting
blessed is a good example.
-
Need guidance on creating a terminal app like HTOP UI
blessed
-
Everything you ever wanted to know about terminals(but were afraid to ask)
If this piques your interest and you use Python, check out the blessed library: https://github.com/jquast/blessed
-
How to clear console/terminal, using Mu on raspberry pi 400?
e.g. https://github.com/jquast/blessed
- Continuously checking for keypresses
-
A good python library to replace libtcod for terminal play?
Well, my current plan is to use one of the more modern curses-replacements (I'm thinking of blessed, a blessings fork), since they seem a lot easier to use than curses. If I hit a speed bottleneck with blessed, the plan is to switch over to curses...
-
Objexplore: A terminal UI to inspect and explore Python objects
I created a terminal app called Objexplore to interactively inspect and explore Python objects. It was a fun project and uses the rich and blessed packages. Take a look at the github readme for a quick demo.
-
Fancy console
blessed - This module is a wrapper around curses, and aims to make doing things with it simpler.
-
Any Python/Curses resources?
You might also consider more modern approach like blessed or maybe go low-level in the style of how urwid handles terminal input and output.
derasterize
- C source file, that is also a valid shell script
-
Terminal Graphics for the 21st Century
Far far better than caca.
The subset of usable characters (glyphs) roughly defines how accurate the picture can be represented: if all you have is - and _ and you want to represent an horizontal pipe, it'll be ugly.
Of course it's more complicated than that, but caca uses ascii, while chafa uses a larger unicode range.
The example is illustrated in picture on https://github.com/csdvrx/derasterize where the left is the original basicidea.c using only unicode halfblocks, and the right has more candidate of different shapes.
Derasterize lets you select the width of the range you want to use, to improve encoding time say for video - but ideally, you would be able to test that whatever font you are using contains the glyphs you want.
- Rust Is Portable
-
Everything you ever wanted to know about terminals(but were afraid to ask)
She's not only done work with sixels but she's the maintainer of the highest quality tool for rendering images as unicode blocks. https://github.com/csdvrx/derasterize
-
Alacritty with sixel
On the application side, there is as yet exactly one terminal multiplexer that can handle images inside multiple terminals, but someone (saitoha?) did make a dev branch of tmux that could do it. /u/csddvx has I think the most recent version of that ; and her derasterize can make sixel work with non-sixel terminals which is a really neat trick.
-
Show HN: I wrote a rust program to translate images into textual line art
For better quality, check https://github.com/csdvrx/derasterize
Example in Windows Terminal:
What are some alternatives?
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
tv - Quickly view (satellite) imagery directly in your terminal using Unicode 9.0 characters and true color.
urwid - Console user interface library for Python (official repo)
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
py_cui - A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
blessings - A thin, practical wrapper around terminal capabilities in Python
pyroscope-rs - Pyroscope Profiler for Rust. Profile your Rust applications.
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
rules_closure - Closure rules for Bazel
RogueDetective - A roguelike detective game
chafa - 📺🗿 Terminal graphics for the 21st century.