Skip to content

A Chrome extension that uses AI to summarize YouTube videos, helping users quickly grasp the main points without watching the entire content.

Notifications You must be signed in to change notification settings

DarkSouL11/sum-ai

Repository files navigation

Sum AI Chrome Extension

A Chrome extension built with React and TypeScript.

Development

  1. Clone this repository
  2. Install dependencies:
npm install
  1. Start the development server:
npm start

Building the Extension

  1. Create a production build:
npm run build
  1. The build will be created in the build directory

Loading the Extension in Chrome

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable "Developer mode" in the top right corner
  3. Click "Load unpacked" and select the build directory from this project
  4. The extension should now appear in your Chrome toolbar

Environment Variables

  • REACT_APP_LOG_LEVEL: Controls the logging level. Valid values are:

    • DEBUG: Logs all levels (DEBUG, INFO, WARN, ERROR).
    • INFO: Logs INFO, WARN, and ERROR.
    • WARN: Logs WARN and ERROR.
    • ERROR: Logs only ERROR.
    • NONE: Disables logging entirely.

    If not set, it defaults to INFO.

Features

  • React-based popup interface
  • TypeScript support
  • Modern development environment
  • Configurable logging levels

Project Structure

  • public/manifest.json: Chrome extension manifest file
  • src/App.tsx: Main popup component
  • src/index.tsx: Entry point
  • config/: Build and webpack configuration
  • src/utils/logger.ts: Centralized logging utility

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

A Chrome extension that uses AI to summarize YouTube videos, helping users quickly grasp the main points without watching the entire content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published