Skip to main content

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

Project description

FlavorTUI

PyPI - Version PyPI - Python Version

FlavorTUI is a feature-rich terminal user interface (TUI) for Flavortown. With FlavorTUI, you can browse and create devlogs, manage your projects, explore the shop, and access other Flavortown features, 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.

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/)
Kitchen Screenshot Shop Screenshot

Installation

pip install 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.1.tar.gz (410.0 kB 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.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flavortui-1.0.1.tar.gz
  • Upload date:
  • Size: 410.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.3 HTTPX/0.28.1

File hashes

Hashes for flavortui-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9ff83f9d600f7763b973526f0a15caa8bf427511b411608bc7d7a16854637900
MD5 fb927169bc17b04704eb2dbc16b53f9a
BLAKE2b-256 9b8131716c0cd1cfc9dac4922b96b1cff23060077393949f140b87d4b34fde54

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flavortui-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e71cbe704dbbafba08d564b4f51f66e704c95d155c8cc52aa4f1f706b983cc2b
MD5 e5c77fc4c3651367c311748fbb2b2ba6
BLAKE2b-256 d020ed8a09ec94b8266bc269356e467ca9c5a2ad99ada079b46b6763764d0c09

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