Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>flavourtown-sidebarNew to Visual Studio Code? Get it now.
flavourtown-sidebar

flavourtown-sidebar

Jasonw-w

|
107 installs
| (1) | Free
Made for Hack Club Flavourtown event, used to track your cookie earning progress and coding time in VS Code sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Flavourtown Time Tracking (VS Code Extension)

Shows your daily coding stats and progress toward your target item.

  • Vscode marketplace link(https://marketplace.visualstudio.com/items?itemName=Jasonw-w.flavourtown-sidebar)

  • Open vsx(https://open-vsx.org/extension/Jasonw-w/flavourtown-sidebar)

Setup

  1. set up Hackatime api

log in to Hackatime settings ,then go to setup time trackingalt text

then look for your api key and copy it to a safe placealt text

  1. set up Hackatime Username

log in to Hackatime settings

then copy your Username, or set one up if you havent (don't forget to press save!!!)alt text

  1. set up Flavourtown api

log in to your flavourtown account and go to setting alt text

look for your API keyalt text

copy it to a save placealt text

  1. install the extension

go to your vscode's sidebar and look for extension, then search for Flavourtown-sidebar, then press install

  1. set up extension press on the gear iconalt text paste your apisalt text enter your Hackatime Usernamealt text press refreshalt text dont forget to set your target!!!alt text Congradulations!!! You are all set!

Troubleshooting

  • If data is empty: ensure Python is installed and the API key/username are set; run python python_scripts/get_data.py to see errors. If you use a venv, set the Flavourtown: Python Path setting to your venv's python.
  • If prices are missing: run python python_scripts/get_targets.py to refresh storage/ft_store.json.

Privacy

API tokens are stored in your VS Code user settings and sent only to Hackatime/Flavourtown to fetch your data. Remove keys from settings to revoke access.

Settings

Setting Required Description
hackatime_api Yes Hackatime API token used to fetch stats.
username Yes Hackatime username for the stats fetch.
flavourtown_api Optional Flavourtown API token to fetch store data and pricing.
storeItem Optional Store item name to track; set via the picker command.
country Optional Pricing region code (au, ca, eu, in, uk, us, xx).
quality Optional Quality factor (1-15, default 10) used in the cookie formula.
k Optional Advanced exponent k in the cookie formula (default 4).
beta Optional Advanced beta factor in the cookie formula (default 2).
pythonPath Optional Absolute path to the Python interpreter (e.g. inside a venv).

Settings live in VS Code user settings. Env fallbacks (if set): HACKATIME_API_KEY, HACKATIME_USERNAME, FT_API_KEY.

Cookie Formula

The extension predicts earned cookies using:

$$c(h, q) = 88 \cdot \left(\frac{q}{15}\right)^k \cdot (1 + \beta \ln(1 + h))$$

Where:

  • $h$ = hours coded today
  • $q$ = quality factor (1-15)
  • $k$ = exponent (default 1)
  • $\beta$ = beta factor (default 2)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft