1.0.10 • Published 7 months ago
@researchbunny/rb-widget v1.0.10
ResearchBunny Widget
Boost your website's impact with the ResearchBunny Widget! 🎧 Deliver audio summaries of research papers effortlessly, engage your audience, and make knowledge more accessible.
- Collection Widget: Embed a scrollable list of audio summaries for your academic papers.
- Chat With Paper Widget: Let users “chat” with your papers questions in plain English and get instant, context‑aware answers.
Installation
Install from npm:
npm install @researchbunny/rb-widget
# or
yarn add @researchbunny/rb-widgetUsage
Import and initialize in your JavaScript or TypeScript project:
import ResearchBunny from '@researchbunny/rb-widget';
ResearchBunny.init({
widgetId: '<WIDGET_ID>', // (required) provided by ResearchBunny
widgetType: 'collection', // 'collection' (default) or 'chat'
container: document.getElementById('app'), // (optional) where to append the script
});To get the WIDGET_ID, signup on https://www.researchbunny.com and navigate to widget section. Refer to tutorial for more information.