An open API service indexing awesome lists of open source software.

https://github.com/neonwatty/ytgify

YouTube GIF Maker - Chrome Extension for creating GIFs from YouTube videos
https://github.com/neonwatty/ytgify

chrome-extension gifs youtube

Last synced: 21 days ago
JSON representation

YouTube GIF Maker - Chrome Extension for creating GIFs from YouTube videos

Awesome Lists containing this project

README

          

# YouTube GIF Maker Chrome Extension

A Chrome extension that enables users to create GIFs directly from YouTube videos with an intuitive visual interface integrated into the YouTube player.

https://github.com/user-attachments/assets/dea017db-ec8d-41f7-9e9c-a1048cf5ae4c

## Features

- **Integrated GIF button** in YouTube's video player control bar
- **Visual segment selection** with draggable start/end markers on the timeline
- **Live preview** of the GIF loop
- **Text overlay tools** with customizable positioning and styling
- **Personal GIF library** stored locally in the browser
- **Export options** including download, clipboard copy, and library storage

## Development Setup

### Prerequisites

- Node.js 18+
- npm or yarn
- Chrome browser

### Installation

1. Install dependencies:
```bash
npm install
```

2. Build the extension:
```bash
npm run build
```

For development with hot reload:
```bash
npm run dev
```

### Loading the Extension in Chrome

1. Open Chrome and navigate to `chrome://extensions/`
2. Enable "Developer mode" in the top right
3. Click "Load unpacked"
4. Select the `dist` folder from this project

## Project Structure

```
├── src/
│ ├── background/ # Background service worker
│ ├── content/ # Content script for YouTube integration
│ ├── popup/ # Extension popup UI
│ ├── components/ # Reusable React components
│ ├── lib/ # Core libraries and utilities
│ ├── hooks/ # React hooks
│ ├── types/ # TypeScript type definitions
│ └── utils/ # Utility functions
├── icons/ # Extension icons
├── tests/ # Test files
└── dist/ # Built extension (generated)
```

## Scripts

- `npm run dev` - Build in development mode with watch
- `npm run build` - Build for production
- `npm run test` - Run tests
- `npm run lint` - Run ESLint
- `npm run typecheck` - Run TypeScript type checking

## Technology Stack

- **TypeScript** - Type-safe JavaScript
- **React** - UI framework
- **Tailwind CSS** - Utility-first CSS framework
- **shadcn/ui** - Component library
- **Webpack** - Module bundler
- **Chrome Extensions Manifest V3** - Extension platform

## License

MIT