Skip to content

Instantly share code, notes, and snippets.

View guillaume-rygn's full-sized avatar
💻
Typing...

Guillaume REYGNER guillaume-rygn

💻
Typing...
View GitHub Profile
import React, { useState, useRef, forwardRef, useImperativeHandle } from 'react';
import { AlertTriangle, X } from 'lucide-react';
type TagInputProps = {
placeholder?: string;
initialTags?: string[];
required?: boolean;
disabled?: boolean;
className?: string;
id?: string;
@guillaume-rygn
guillaume-rygn / Youtube transcript playlist
Last active February 3, 2025 13:18
Youtube_transcript_playlist
import { YoutubeTranscript } from 'youtube-transcript';
import puppeteer from 'puppeteer';
import fs from 'fs';
import readline from 'readline';
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});