{#- The top of the homepage: the constructed wordmark, then the statement beside its example. -#}
01 Introduction

A really fun terminal experience

An extremely nano terminal experience for Python, built on ratatui.

Python / Open source / Cross platform

import xnano

picture = xnano.load_image('dusk.png', width='100%')  # >> [image]

with xnano.open() as terminal:  # >> [terminal]
    terminal.screen.write(picture)  # >> [terminal]
    terminal.speaker.play('C4 E4 G4:2', instrument='bell')  # >> [speaker]
    terminal.run(stop_on='q')  # >> [run]

Reads PNG, JPEG, GIF, WebP and XNI files.

Cells, or a percentage of the screen.

Loads dusk.png at the full width of the screen.

Starts a live terminal and draws the picture on its screen.

Places the picture and returns a placement you can move.

Plays three notes as a melody on a bell.

Keeps drawing until q is pressed.

A pixel art dusk over mountains, drawn in terminal cells by xnano A pixel art dusk over mountains, drawn in terminal cells by xnano