← all repositories
AhmadHassan-BTed/ScrollToPrompt

A minimap for your endless AI chat transcripts

ScrollToPrompt drops clickable markers into the scrollbar so you can jump straight back to any earlier prompt in ChatGPT, Claude, or Gemini.

★2.8k stars TypeScript Chat Assistants
Collecting fresh signals — velocity needs a few days of history.
star history

What it does

It’s a browser extension that adds small visual indicators to the scrollbar of AI chat pages, one per prompt you’ve sent. Click a marker, land on that prompt. It works via site-specific adapters for ChatGPT, Claude, and Gemini, each handling the DOM quirks of its host.

The interesting bit

The adapter pattern keeps platform-specific selectors quarantined from the core engine, so adding a new site means writing one adapter rather than forking the logic. The UI lives in Shadow DOM, which means the extension’s markers can’t be mangled by the host page’s CSS — a small detail that saves a lot of pain on pages that restyle aggressively.

Key highlights

  • Site adapters for ChatGPT, Claude, and Gemini; Perplexity and Poe are on the roadmap
  • Shadow DOM isolation prevents styling conflicts with the host page
  • Debounced MutationObserver rendering to keep things fast on long threads
  • Adapts to light and dark themes automatically
  • Zero data collection — everything runs locally in the browser

Caveats

  • The README describes a “Message Bus” for content-script/background communication as planned, not built — so the architecture is still settling
  • No published benchmarks or store listing are referenced; you’d be loading it unpacked from a build

Verdict

If your chat sessions regularly run into the hundreds of messages, this is a genuinely useful quality-of-life tool. If you start a fresh thread every time, you’ll never notice it’s there.

Frequently asked

What is AhmadHassan-BTed/ScrollToPrompt?
ScrollToPrompt drops clickable markers into the scrollbar so you can jump straight back to any earlier prompt in ChatGPT, Claude, or Gemini.
Is ScrollToPrompt open source?
Yes — AhmadHassan-BTed/ScrollToPrompt is open source, released under the MIT license.
What language is ScrollToPrompt written in?
AhmadHassan-BTed/ScrollToPrompt is primarily written in TypeScript.
How popular is ScrollToPrompt?
AhmadHassan-BTed/ScrollToPrompt has 2.8k stars on GitHub.
Where can I find ScrollToPrompt?
AhmadHassan-BTed/ScrollToPrompt is on GitHub at https://github.com/AhmadHassan-BTed/ScrollToPrompt.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.