Giter VIP home page Giter VIP logo

generic-rrweb-recorder's Introduction

Generic-rrweb-recorder

What is generic-rrweb-recorder ?

Generic-rrweb-recorder is a tool to record the dom of a web page as well as the sound of the microphone.

The advantage compared to a video?

You can copy/paste the text, and the files are extremely light!

Test it here

If you want to know how it works under the hood, please see this doc

Cloning this repo

This repo is using submodules.

Do not forget to clone the repo using --recursive option

git clone --recursive https://github.com/Telecom-Paris/generic-rrweb-recorder.git

To test it, you need to use a server, due to security reasons.

How to install it ?

Just include a line in the header of your website :

(or at the bottom of the body if you want your website to load faster)

<script type="text/javascript" src="path/to/recorder.js"></script>

If you are looking for the minified version, it can be found under the min folder. To include the minified version, you can use:

<script type="text/javascript" src="path/to/recorder.min.js"></script>

See here for more info about the minified version.

How to use it ?

First, you need to create a new recorder Object: let myRecorder = new Recorder();

If you want to load the scripts required by the recorder: myRecorder.loadScripts();

If you do not want to handle this, the startRecord() function handles it for you.

This option is only available if you want to load those scripts directly after your webpage.

To start a record: myRecorder.startRecord();

To pause a record: myRecorder.pauseRecord();

To resume a record: myRecorder.resumeRecord();

To stop a record: myRecorder.stopRecord();

To dowbload a record as a zip file: myRecorder.downRecord();

More documentation

To build the documentation, you need jsdoc.

Once installed, you can build the documentation using: jsdoc srcs/*.js README.md -d docs/generated-doc/

You will find it under the docs folder, in HTML format. (here) You can also find answers to common questions here

The minified version

Licences and credits

This project use the following libraries:

rrweb

jszip

WebAudioRecorder

ConcatenateBlob

simple-mp3-cutter

generic-rrweb-recorder's People

Contributors

kinow avatar lubenard avatar remisharrock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.