Skip to content

Sloop is a Chrome extension that transforms YouTube into an intelligent learning workspace, enabling timestamped video snapshots with annotations, AI-powered Q&A using Chrome's built-in AI APIs, multilingual subtitle translation and interactive PDF export with clickable timestamps all processing locally for complete privacy.

License

Notifications You must be signed in to change notification settings

ImAshishChoudhary/Sloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Sloop โ€“ Intelligent YouTube Learning & Note-Taking Chrome Extension

Sloop-AI Chrome Extension Node.js AI-Powered PDF Export

Revolutionizing YouTube learning: Take smart snapshots, ask AI, and export beautiful, interactive study notes!

License: MIT PRs Welcome


Sloop.Demo.mp4

๐Ÿ“‹ Table of Contents


๐ŸŽฏ Problem Statement

YouTube is a goldmine for learning, but revision and note-taking are a mess:

  • Manual notes are slow and break your focus.
  • Screenshots are hard to organize and lack context.
  • No way to ask questions about specific video moments.
  • Language barriers make global content hard to access.
  • Offline study is impossible with most tools.

Learners need a seamless, AI-powered way to capture, organize, and revise YouTube knowledge.


๐Ÿ’ก Solution Overview

Sloop is a Chrome extension that transforms YouTube into your personal, intelligent study space:

  • Take timestamped, annotated snapshots of any video moment.
  • Instantly export your notes as interactive, clickable PDFs.
  • Summarize videos, translate subtitles, and ask AI-powered questionsโ€”right inside YouTube.
  • All features work offline, powered by Chromeโ€™s built-in AI APIs.

๐Ÿš€ Key Features

  • ๐Ÿ“ธ Smart Snapshots: Capture video frames with timestamps and annotate them instantly.
  • ๐Ÿ“ Organized Notes: Add text or drawing annotations to each snapshot, all auto-linked to the video moment.
  • ๐Ÿ“„ PDF Export: Download beautiful, interactive PDFs for single videos or entire playlists. Clickable timestamps jump back to YouTube.
  • ๐Ÿค– AI Q&A: Ask questions about the video and get detailed, context-aware answers with direct links to relevant moments.
  • ๐Ÿˆบ Multilingual Support: Translate subtitles and AI answers to any language, breaking learning barriers.
  • ๐Ÿ—‚ Playlist Compilation: Merge notes from multiple videos into a single, organized PDF.
  • โšก Offline Mode: All AI features work offline, ensuring privacy and reliability.
  • ๐ŸŽจ Modern UI: Clean, intuitive, and responsive interface for distraction-free studying.

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  User/You   โ”‚โ—„โ”€โ”€โ”€โ”€โ–บโ”‚ Sloop Ext  โ”‚โ—„โ”€โ”€โ”€โ”€โ–บโ”‚ Chrome AI    โ”‚
โ”‚  (YouTube)  โ”‚      โ”‚ (React/JS)   โ”‚      โ”‚ APIs         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ–ฒ                  โ”‚                   โ”‚
         โ”‚                  โ–ผ                   โ–ผ
   [PDF Export]      [Annotation Engine]   [Summarizer, Q&A, Translation]
         โ”‚                  โ”‚                   โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€[Local Storage/Offline]โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Data Flow:

  1. User takes action (snapshot, note, question).
  2. Language is detected and processed.
  3. AI session determines context and generates response.
  4. Notes/questions are organized and exported as PDF.
  5. Timestamps are synced for instant video navigation.

๐Ÿ› ๏ธ Tech Stack

Technology Purpose
React Chrome extension UI
Tailwind CSS Modern, responsive styling
Node.js Backend logic, PDF generation
Chrome APIs Language detection, translation, AI
React PDF Dynamic PDF export
JavaScript Core logic
AI Model Summarization, Q&A, translation

๐Ÿ“ฆ Installation & Setup

Prerequisites

  • Node.js 18+
  • Chrome Browser
  • Git

1. Clone the Repository

git clone https://github.com/yourusername/sloop.git
cd sloop-ai

2. Install Dependencies

npm install

3. Build the Extension

npm run build

4. Load into Chrome

  1. Open chrome://extensions/ in your browser.
  2. Enable Developer mode (top right).
  3. Click Load unpacked and select the build/ directory.

5. Start Using!

  • Pin the extension and open any YouTube video to start taking notes, snapshots, and using AI chat.

๐ŸŽฎ Usage Guide

Taking Snapshots & Notes

  1. Click the Sloop icon while watching a YouTube video.
  2. Use the snapshot button to capture key moments (auto-timestamped).
  3. Add notes or draw on each snapshot.
  4. Download your notes as a PDFโ€”timestamps are clickable!

AI Q&A & Multilingual Support

  1. Open the AI Chat tab in the extension.
  2. Type your question in any language.
  3. Receive detailed, timestamped answers in your preferred language.
  4. Click on timestamps in the answer to jump to the exact video moment.

Playlist Notes

  • Take notes across an entire playlist and export a single, organized PDF for all videos.

Offline Mode

  • Use AI features even without internet (Chromeโ€™s built-in AI model required).

๐Ÿ› Troubleshooting

Common Issues & Solutions

  • Extension not loading?
    • Ensure you selected the correct build/ folder in Chrome extensions.
    • Run npm run build again if files are missing.
  • PDF not downloading?
    • Check browser permissions for downloads.
  • AI not responding?
    • Make sure Chromeโ€™s built-in AI features are enabled.
    • Try restarting the browser.
  • Notes not saving?
    • Ensure local storage is enabled in your browser settings.

Performance Tips

  • For large playlists, export notes in batches for best performance.
  • Use the latest version of Chrome for full feature support.

๐Ÿค Contributing

We welcome contributions from the community!

How to Contribute

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Make your changes (follow code style and add tests)
  4. Commit and push
    git commit -m "Add amazing feature"
    git push origin feature/amazing-feature
  5. Open a Pull Request with a clear description

Development Guidelines

  • Use clear, conventional commit messages
  • Add/Update documentation for new features
  • Test thoroughly before submitting PRs

๐Ÿ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ™ Acknowledgments

  • YouTube for the worldโ€™s best educational content
  • Chrome Team for robust extension APIs
  • OpenAI/Chrome AI for AI-powered features
  • React & Tailwind CSS for a beautiful UI
  • Community contributors for feedback and improvements

๐Ÿ“ž Support


Made with โค๏ธ for learners everywhere by the Snap-AI Team

GitHub stars GitHub forks GitHub issues

About

Sloop is a Chrome extension that transforms YouTube into an intelligent learning workspace, enabling timestamped video snapshots with annotations, AI-powered Q&A using Chrome's built-in AI APIs, multilingual subtitle translation and interactive PDF export with clickable timestamps all processing locally for complete privacy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published