Skip to content

Live floating token counter for OpenWebUI — estimates tokens as you type or paste into the editor. Compatible with TipTap.

License

Notifications You must be signed in to change notification settings

Detin-tech/OpenWebUI_token_counter

Repository files navigation

OpenWebUI Token Counter

Logo

A lightweight Chrome extension that displays the current token usage for each message in OpenWebUI.

🧩 Features

  • Automatically counts tokens in real-time
  • Displays token usage in the input area
  • Works with both pasted and typed text
  • Zero config — install and go

🛠 Installation (Manual)

  1. Clone or download this repo
  2. Open Chrome and go to chrome://extensions/
  3. Enable "Developer mode" (top right)
  4. Click Load unpacked and select this folder

🔒 Privacy

This extension runs entirely client-side. No data is collected, stored, or transmitted.


📦 Manifest

Includes manifest.json, content.js, and logo.png. Designed to run as a content script inside OpenWebUI.


📜 License

MIT — Free for any use.

Notes

System prompts, injected prompts, Knowlede, etc (I.E. Memories) are not counted.

About

Live floating token counter for OpenWebUI — estimates tokens as you type or paste into the editor. Compatible with TipTap.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published