Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rrweb

> 编程语言
Open source

record and replay the web

20.0K stars0 likes1 views
WebsiteGitHub

About

record and replay the web

Try rrweb

# rrweb **[(new!) rrweb cloud - hosted rrweb backend is now available](https://rrweb.com/)** [中文文档](./README.zh_CN.md) rrweb refers to 'record and replay the web', which is a tool for recording and replaying users' interactions on the web. ## Guide [**📚 Read the rrweb guide here. 📚**](https://rrweb.com/docs/guide) [**🍳 Recipes 🍳**](https://rrweb.com/docs/recipes/) [**📺 Presentation:** Hacking the browser to digital twin your users 📺](https://youtu.be/cWxpp9HwLYw) ## Project Structure rrweb is composed of the following principal parts: - **[rrweb-snapshot](packages/rrweb-snapshot/)**, including both snapshot and rebuilding features. The snapshot is used to convert the DOM and its state into a serializable data structure with a unique identifier; the rebuilding feature is to rebuild the snapshot into corresponding DOM. This package can be used on it's own to provide a static HTML based 'screenshot' of the current web page state, with all Javascript deactivated. - **[record](packages/record)**, builds on an initial snapshot to record all HTML state changes (mutations) and user interactions as the user browses the web page. Multiple page loads can be chained together into a single recording. - **[replay](packages/replay)**, rebuilds the inital snapshot and replays the list or stream of subsequent events to show a 'session replay' - **[rrweb-player](packages/rrweb-player/)**, a player UI on top of the replay package to provide GUI-based functions like pause, fast-forward, drag and drop to play at any time. ## Roadmap - ✅ [storage engine: do deduplication on a large number of rrweb sessions](https://rrweb.com) - Token efficient AI session replay format (in progress) - provide plugins via the new plugin API, including: - XHR plugin - fetch plugin - GraphQL plugin - ... ## Internal Design - [serialization](./docs/serialization.md) - [incremental snapshot](./docs/observer.md) - [replay](./docs/replay.md) - [sandbox](./docs/sandbox.md) ## Contribute Guide Since we want the record and replay sides to share a strongly typed data structure, rrweb is developed with typescript which provides stronger type support. [Typescript handbook](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html) For the latest setup, testing, and pull request workflow, see [Contributing to rrweb](./CONTRIBUTING.md). In addition to adding integration tests and unit tests, rrweb also provides a REPL testing tool. [Using the REPL tool](./guide.md#REPL-tool) ## Sponsors [Become a sponsor](https://opencollective.com/rrweb#sponsor) and get your logo on our README on Github with a link to your site. ### Gold Sponsors 🥇 ### Silver Sponsors 🥈 ### Bronze Sponsors 🥉 ### Backers ## Core Team Members

Juice10
open for rrweb consulting

eoghanmurray


Yun Feng

## Who's using rrweb?

Issues· 420 open

View all issuesOpen on GitHub
  • #1896

    [Feature Request]: Ability to reproduce more user-action pseudo-classes (:active, :focus, :focus-visible, etc.) in replay

    feature requestUpdated Sep 17, 2026
  • #1942

    [Bug]: Network plugin fallback drops HTTP status and basic timing when Resource Timing is unavailable

    Updated Sep 15, 2026
  • #1937

    [Bug]: rebuild() removes all attributes from an <img> that has srcset and rr_dataURL

    Updated Sep 9, 2026
  • #1655

    录制PDF文件,PDF文件70M,PDF翻页过程中会导致页面卡死,这个如何做性能优化?感谢

    feature requestUpdated Sep 8, 2026
  • #1925

    Add per-PR assets on preview.cdn.rrweb.com

    Updated Sep 4, 2026
  • #1919

    A directly blocked <img> still pays the full inline-image encode

    Updated Sep 1, 2026
  • #1918

    inlineImages encodes at full natural resolution, with no way to cap it

    Updated Sep 1, 2026
  • #1773

    如果加上websocket实现远程控制,应该非常美妙。期待官方实现rrweb远程控制包

    feature requestUpdated Aug 26, 2026
  • #1913

    [Question] XSS risk in replay when `UNSAFE_replayCanvas` enables `allow-scripts`

    Updated Jul 31, 2026
  • #1899

    [Feature Request]: Add support to add Plugins for pre-processing in Replayer

    feature requestUpdated Jul 17, 2026

> Tags

TypeScriptfullstoryhotjarlogrocketrecorder

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言