Skip to content

pigeon-sable/tnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

tnap - Let's take a nap ๐Ÿ’ค

Demo

tnap is a screen saver for the terminal. You can rest the terminal in a secure.

Lang License Release

Features

  • Display images in the terminal and use it as a screen saver
  • Convert images to ASCII art
  • Use images generated using DALL-E 3
  • Generate by simply specifying a key in config.toml without thinking a prompt
  • Of course, you can also generate images by specifying a prompt

Screenshots

girl_with_headphone girl_with_headphone_ascii

Usage

Option Description Type Required?
--theme <THEME> Use the sample theme without generating images String No
--key <KEY> Generate images by a default prompt in config.toml String No
--prompt <PROMPT> Generate images with a user's prompt String No
--ascii Convert an image to ASCII art bool No

Installation

You can install tnap by following these steps:

gh repo clone pigeon-sable/tnap
cd tnap
cargo install --path .
export TNAP_ROOT=`pwd`

Acknowledgements

License

๐Ÿชช Apache-2.0

Authors

GitHub