FlavorLineTool banner

FlavorLineTool

10 devlogs
3h 39m 50s

flavorlinetool is a cli program made in python that centralizes all necessary data for tracking your cookies, coding time and other stats. also includes functionality for interacting with the api provided by flavortown, such as checking everything in the store, searching for users, checking your own projects etc.

Loading README...

daw

Shipped this project!

Hours: 3.66
Cookies: 🍪 94
Multiplier: 25.65 cookies/hr

finally gotten to a state i’m happy with in this project. now, you can do anything from viewing your cookies (or other people’s cookies…), checking your coding time and viewing projects, to searching for users and listing out all the shop items.

my goal was to bring together every function i’d like to use often, in hopes that someone else would find the app useful!
i believe i’ve done what i had to do with this project, and it is in a stable state, even if imperfect. but, i love it cause it’s mine and i made it :D

have fun! remember, the project is available for use on pypi, which means you can install it with pip:
pip install flavorlinetool

daw

removed prototype of editing and creating projects, might come back to it later.
overall, i am pretty happy with the state the project is in, so we have now reached version 1.0.1!
might come back to it later, might not. it has been fun anyway!

pip install flavorlinetool <- to use it yourself

Attachment
1

Comments

notlamparter
notlamparter 13 days ago

man this is so cool!!!
it looks like you spent a long time working on it, it’s so detailed 🫶
kudos to you

daw

today i opened a pr to flavortown which adds some more api functionality, cause i needed it for the cli.
ive started working on letting the user create projects via the cli, but i need to figure out authentication first.
other than that, i did some refactoring and added the ability to search for projects and users!

0
daw

most likely last devlog for today. i’ve cleaned up the commands a bit, and added a very experimental search feature. i advise against using it for now, due to the pretty low rate limit on listing all users. i had to make it client-side, due to the api not having a query option.

0
daw

(i think wakatime has some issues registering all my time spent but its okay)
so, i have now come quite far. i implemented integration with hackatime to be able to show your time spent coding today, and in total, as well as showing your most used language.
there are some other little things i added, but i encourage you to try it out yourself!

0
daw

by the time i got to implementing showing your own cookies, i had realized i made a stupid mistake. i thought using the slack id would be the way to fetch a specific user’s cookies, turns out it was the flavortown id. oops! anyway, got that out of the way, and added a command to list all the shop items and other relevant information along the way. very excited to have come this far,

0
daw

started implementation for api and slack login, and removed the old cookie functionality, since i realized that the api lets you read user cookies lmao.
the slack login is necessary to let you read your own cookies, as i found out the users fetched by the api are recognized using those slack ids.

0
daw

today i added some cookie tracking commands (i intend to tie this to the api at some point in the future)
also made use of some unique typer stuff so im pretty pleased with that as well.
amazed at how little time this took honestly, python is great!

0
daw

made the project structure, added a single command (status), and did some other cleanup.
this is the first step towards a great project!!!

0