FlavorTUI banner

FlavorTUI

4 devlogs
11h 25m 41s

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.

Repository

Loading README...

Simon

Shop and More!


I added the full shop functionality with basically everything on the api! You can see a list of images, sort by region and price (or name), and even reverse sort. You can click on each item to open an “overlay” that contains more extended details about the item. To purchase it you can click the open on web button, the api does not have purchasing capabilities.


I do need to add better beyboard support, and optimize performance, but its look pretty great for now 🎉
I also added a README, and the x-flavortown-ext header. I just remembered that I need to add setting for what kind of image rendering to use, because they can get laggy.


Commits

  • feat: readme, reqs, screenshots (bad) (0eab889)
  • feat(settings): add settings view with sidebar integration (ae57338)
  • fix: images on one line (85b9144)
  • feat: consolidate API functions and homepage -> kitchen (0fa72dd)
  • initial (very) unfinished shop menu (e68cb91)
  • feat: massive shop perf improvements (df856b2)
  • feat: sale support and better ShopCard args (9baf5f7)
  • feat: regional pricing in shop (ac13615)
  • chore: add x-flavortown-ext header (8a0445d)
  • feat(shop): ShopItem mostly finished and other improvements (3cfb1b3)
  • feat: shop long description and reverse sort (3acb7db)
Attachment
Attachment
Attachment
Attachment
0
Simon

Better API Client with rate limits


Refactored the networking code in FlavortownTUI to use a single APIClient class.

  • Rate limits for each endpoint are included (half of the time would be actually)
  • So if we are within a certain time the cached data is used
  • Cached data is stored in .cache folder
  • Doesn’t really have status code or error handling yet, but maybe later
  • Use the same client globally instead of creating many new ones.

Picture shows that it still works 🥰


Commits:

  • refactor(api): refactor API client implementation with new client class (940989b)
Attachment
0
Simon

Working Sidebar


Made the sidebar actually have stuff on it and lead to different pages. (blank pages for now). Also some miscellaneous cleanup I guess


Commits:

  • feat(sidebar): implement navigation buttons and views (b7bc914)
Attachment
Attachment
0
Simon

FlavorTUI Started!


Just started this project and for now all we have is api key input, and a homepage that displays some info about you! Attached a cool video showing off what we have so far :) (ps. I forgot to put the sidebar in it, but yeah that’s there with no functionality)


  • Basic api key saving (thats literally it) (fc54acf)
  • feat: homepage (basic) and api key checking (069ad68)
  • feat: add sidebar (blank/placeholder) (2cada67)
  • feat: better (still kinda bad) homepage (27bf915)
0