Design and interface · Independent · 22 Oct 2026

brownhci/WebGazer

WebGazer.js: Scalable Webcam EyeTracking Using User Interactions

← Design and interface
WebGazer: webcam eye tracking. Tracks where people look using a standard camera.

In simple English

This library watches a visitor through their computer camera. It figures out where they look on your web page. It learns by watching them click and move their mouse. No video leaves the visitor browser. You need permission from the user before it can see them.

What it is

WebGazer is a JavaScript (a programming language for the web) library that performs eye tracking inside a web browser. It runs client-side (running entirely on the user computer rather than a remote server) without needing special hardware.

What it is good for

Solo builders who want to test user interfaces, study reading patterns or build gaze-controlled web experiments without buying expensive eye tracking equipment.

Stars3.9k
LicenceCustom
Latest3.5.3 (2026-02-24)checked 22 Oct 2026
Last code change2026-02-24
Written inHTML
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Runs entirely in the user browser so no video stream needs to be saved on your server.
  • Calibrates itself automatically as users click and move their mouse across the page.
  • Works with standard webcams found on laptops and phones without special hardware.
Watch for
  • Official maintenance has ended, so future bug fixes depend entirely on the community.
  • Licensing rules require caution for commercial projects above one million dollars in valuation.
  • Lighting changes and head movements can reduce accuracy during tracking sessions.
Replaces

expensive hardware eye trackers

Works well with

React

Also reviewed on Repo Radar
  • GoogleChromeLabs/squoosh26k stars

    A web page that compresses images in the browser and shows you the result before you save it.

  • simple-icons/simple-icons26k stars

    More than 3,400 brand logos as single-colour SVG files, released into the public domain.

  • phosphor-icons/core394 stars

    The raw SVG files and the catalogue for the Phosphor icon family, with no framework package attached.

Install
git clone https://github.com/brownhci/WebGazer.git
cd WebGazer
npm install
npm run build

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Data & Research › User Research & Product Insights › Usability Testing.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.