{"repo":"ramonszo/zuck.js","free":true,"listed":false,"github":"https://github.com/ramonszo/zuck.js","clone":"git clone https://github.com/ramonszo/zuck.js.git","description":"A javascript library that lets you add stories EVERYWHERE.","language":"TypeScript","stars":3727,"topics":["stories","story","zuck","facebook","instagram","snapchat","whatsapp","slider","modal","viewer"],"license":"MIT","category":"chat-messaging","readme_excerpt":"zuck.js Add stories EVERYWHERE MWHAHAHAHA. Seriously. This script is a copy of Facebook Stories of a copy of Facebook Messenger Day (RIP) of a copy of WhatsApp status of a copy of Instagram stories of a copy of Snapchat stories. You can read stories from any endpoint (JSON, Firebase, etc.) and the script will do the rest. Live demo: https://on.ramon.codes/2k9e7au React sample: https://on.ramon.codes/2lDP53H Features Custom CSS themes: Snapgram, FaceSnap, Snapssenger and VemDeZAP Gestures, Custom events & Custom templates A simple API to manage your \"Stories timeline\" 3D cube effect React support RTL support TypeScript How to use You can download this git repository or install via or 1. Import or include the script tag and css: 2. Initialize: API Add/update a story from timeline: Remove a story: Add/remove a story item: Stories structure example Alternate call React support This library is not made exclusively for React, but you can still use it with refs or by creating components based on the markup sample. See react.sample.html for the simple implementation or react-components.sample.html for the detailed one. Tips - You can use with autoFullScreen option (disabled by default) to emulate an app on mobile devices. - If you use Ionic or some js that uses , you should always disable the \"backNative\" option which can mess your navigation. Limitations On mobile browsers, video can't play with audio without a user gesture. So the script tries to play audio only when the user click","default_branch":null,"files":null,"tree":[],"storefront":"/r/ramonszo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ramonszo/zuck.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}