A cli app for tracking cookies and interacting with the Flavortown API
Project description
FlavorLineTool
FlavorLineTool is a command-line interface application designed for interacting with the Flavortown API and tracking coding statistics via Hackatime. It allows users to manage their cookies, projects, view shop items, check coding time, and search the ecosystem.
Features
- Project Management: Create and edit projects with a guided interactive TUI form.
- Enhanced Search: Server-side searching for users and projects.
- Cookie Management: View your current cookie balance and stats.
- Shop Interaction: List all available items in the Flavortown shop.
- Time Tracking: Integrate with Hackatime to track daily coding time and project statistics.
Installation
FlavorLineTool can be installed using pip from your local directory or via PyPI.
pip install flavorlinetool
Usage
FlavorLineTool is built with a nested command structure. Running any command without arguments will show its available sub-commands.
Authentication
Configure your credentials. If you omit the key/ID, the tool will prompt you interactively.
- Login to Flavortown API:
flavor login api
- Set Flavortown User ID:
flavor login id
- Login to Hackatime:
flavor login hackatime
- Set Hackatime Username:
flavor login hackatimeuser
Projects (view only)
- View Project Details:
flavor projects view
d>
Search
Search the Flavortown ecosystem using server-side filtering.
- Search Users:
flavor search users "query"
- Search Projects:
flavor search projects "query"
Listing Resources
Explore Flavortown resources.
- Shop:
flavor list shop - Users:
flavor list users --page 1 - My Projects:
flavor list my-projects
Stats & TimeTime
- Global Stats:
flavor stats(Combines Flavortown and Hackatime data) - Today coding time:
flavor time today - Check Status:
flavor status
License
This project is licensed under the MIT License.