Skip to main content

Feature-rich terminal UI for Flavortown: devlogs, projects, shop, and more.

Project description

FlavorTUI

PyPI - Version PyPI - Python Version

Demo

If you want a demo video dispalying almost all of the features, you can watch this:

https://github.com/user-attachments/assets/22f0fe11-7338-4f3a-81ef-6a218db126e5

Description

FlavorTUI is a terminal user interface (TUI) for Flavortown. With FlavorTUI, you can view your stats, browse your projects and devlogs, explore the shop, and discover other users' projects, all from an interactive terminal interface.

It is built using the textual library, which provides (imo) a great terminal UI experience. The TUI is of course written in Python 🥰. This is my first time creating a TUI so I hope its good :) Depending on your terminal, the ui might look different. It all depends on how well your terminal supports different things.

Your API key is stored "securely" using the keyring library, so you don't have to worry about it being exposed in your terminal history or config files.

Performance (PLEASE READ)

Image lag: Depending on your terminal, performance might be very bad. I suggest switching image rendering modes until you find one that works. Worst case you can disable images entirely.

Buggy UI: If your UI looks buggy (text is in the wrong spot, images are jittery), please try changing your image rendering mode. Bad terminals (such as the Windows Terminal) will most likely break stuff really badly

I highly recommend using a terminal that supports all of these modern rendering things. From the very minimal selection that I have tested, I suggest:

  • Kitty (the best!)
  • WezTerm
  • iTerm
  • Alacritty

Kitty (in my opinion) is the best. It has great performance and support for everything. The others, you might want to change the image rendering settings.

Please avoid reporting UI issues if you're using a terminal with limited or inconsistent graphics support, as these issues are often caused by the terminal itself rather than the app.

Storage Locations

FlavorTUI stores data in three places:

  • API key: system keychain/keyring (via keyring)
  • Settings JSON: user config directory (via platformdirs.user_config_dir("flavortui"))
  • API/image cache: user cache directory (via platformdirs.user_cache_dir("flavortui"))

Typical paths:

To easily find where your data is stored, you can simply go to the bottom of the settings menu and click on the associated buttons!

  • macOS:
    • Settings: ~/Library/Application Support/flavortui/settings.json
    • Cache: ~/Library/Caches/flavortui/
  • Windows:
    • Settings: %LOCALAPPDATA%\\flavortui\\settings.json
    • Cache: %LOCALAPPDATA%\\flavortui\\Cache\\
  • Linux:
    • Settings: ~/.config/flavortui/settings.json (or $XDG_CONFIG_HOME/flavortui/settings.json)
    • Cache: ~/.cache/flavortui/ (or $XDG_CACHE_HOME/flavortui/)

Screenshots

Installation

pip install flavortui

or, to install the latest from GitHub:

pip install git+https://github.com/bookcatkid/flavortui

Local Development

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -e .

Run with either:

flavortui

or:

python -m flavortui

API

Flavortown API docs can be found here.

License

flavortui is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flavortui-1.0.4.tar.gz (22.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flavortui-1.0.4-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file flavortui-1.0.4.tar.gz.

File metadata

  • Download URL: flavortui-1.0.4.tar.gz
  • Upload date:
  • Size: 22.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.4 HTTPX/0.28.1

File hashes

Hashes for flavortui-1.0.4.tar.gz
Algorithm Hash digest
SHA256 65ca37c129f2a6dc9648a4271fb54dd6c0e07e0323f4f7ecc4dc74ab2fefaa68
MD5 73cfea244d48a5ef88b621075bddce19
BLAKE2b-256 f91283b656f96525b2f7d787bcc7ba1c8296a00265d663cdfced680a7821b0bc

See more details on using hashes here.

File details

Details for the file flavortui-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: flavortui-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.4 HTTPX/0.28.1

File hashes

Hashes for flavortui-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 369e6b74b757f9729691422863b8425016bd309c6556f00da956efd50bbaf053
MD5 0e89ac158c010fcde42617d2498329ad
BLAKE2b-256 ad57ae7eb550ba1bae981d29db49aee9f5ca2c2813563c97fa58599154cbd76f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page