cdeutsch / tab-counter

Count Open Browser Tabs and Send to Axiom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tab Counter for macOS

Counts the number of open browser tabs for each supported browser and logs the data in Axiom every X minutes.

image

Install

npm install

Configure

Copy .env-sample to .env and set the following values:

  • AXIOM_INGEST_TOKEN: The Axiom Ingest Token that has access to the Axiom Dataset you're using.
  • AXIOM_DATASET: The Axiom Dataset to use.
  • WHO: Your name or machine name.

Run

npm run tab-count -S

Options

--schedule or -S

Run on a schedule every 5 minutes (default interval)

npm run tab-count -S

--interval or -i

Set the run interval in minutes

npm run tab-count -S -i 15

Supported Browsers

  • Brave Browser
  • Safari
  • Google Chrome
  • Google Chrome Canary
  • Microsoft Edge
  • Microsoft Edge Beta
  • Microsoft Edge Dev

View Data in Axiom

image

About

Count Open Browser Tabs and Send to Axiom


Languages

Language:TypeScript 100.0%