{"id":31913955,"url":"https://github.com/theorcdev/youtube-to-blog","last_synced_at":"2025-10-13T18:57:27.818Z","repository":{"id":318176852,"uuid":"1067446359","full_name":"TheOrcDev/youtube-to-blog","owner":"TheOrcDev","description":"Simple YouTube url to MDX blog app","archived":false,"fork":false,"pushed_at":"2025-10-05T17:02:58.000Z","size":1936,"stargazers_count":94,"open_issues_count":0,"forks_count":11,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T17:35:30.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://youtube-to-blog-brown.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheOrcDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T21:40:56.000Z","updated_at":"2025-10-05T17:03:02.000Z","dependencies_parsed_at":"2025-10-05T17:35:36.926Z","dependency_job_id":null,"html_url":"https://github.com/TheOrcDev/youtube-to-blog","commit_stats":null,"previous_names":["theorcdev/youtube-to-blog"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TheOrcDev/youtube-to-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Fyoutube-to-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Fyoutube-to-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Fyoutube-to-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Fyoutube-to-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheOrcDev","download_url":"https://codeload.github.com/TheOrcDev/youtube-to-blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Fyoutube-to-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016628,"owners_count":26085853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-13T18:57:25.465Z","updated_at":"2025-10-13T18:57:27.811Z","avatar_url":"https://github.com/TheOrcDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎥 YouTube to Blog\n\nApplication that automatically converts YouTube videos into well-structured, professional blog posts using AI. Perfect for content creators, developers, and anyone who wants to transform video content into written format.\n\n## ✨ Features\n\n- 🎯 **One-Click Conversion**: Simply paste a YouTube URL and get a professional blog post\n- 🤖 **AI-Powered**: Uses Google's Gemini 2.5 Flash for intelligent content transformation\n- 📝 **Professional Formatting**: Converts transcripts into well-structured MDX blog posts\n- 🎨 **Modern UI**: Beautiful, responsive interface with dark/light mode support\n- 💾 **Persistent Storage**: Automatically saves generated blogs to avoid duplicates\n- 🔍 **Smart Detection**: Checks if a blog already exists for a video before generating\n- 📱 **Mobile Friendly**: Fully responsive design that works on all devices\n- ⚡ **Fast Performance**: Built with Next.js 15 and optimized for speed\n\n## 🚀 How It Works\n\n1. **Input**: User provides a YouTube video URL\n2. **Extraction**: System extracts video metadata using YouTube Data API v3\n3. **Transcript**: Fetches video transcript using youtube-transcript library\n4. **AI Processing**: Gemini 2.5 Flash transforms the content into a professional blog post\n5. **Storage**: Blog post is saved to the database with proper formatting\n6. **Output**: User can view, copy, or share the generated blog post\n\n## 🛠️ Tech Stack\n\n- **Framework**: Next.js 15 with App Router\n- **Language**: TypeScript\n- **Database**: Neon PostgreSQL with Drizzle ORM\n- **AI**: Google Gemini 2.5 Flash\n- **Styling**: Tailwind CSS with shadcn/ui components\n- **YouTube API**: Official YouTube Data API v3\n- **Transcripts**: youtube-transcript library\n- **Deployment**: Vercel-ready\n\n## 📋 Prerequisites\n\nBefore you begin, ensure you have:\n\n- Node.js 18+ installed\n- A Google Cloud Platform account\n- A Neon database account\n\n## 🔧 Environment Setup\n\n### 1. YouTube Data API v3 Key\n\n1. Go to the [Google Cloud Console](https://console.developers.google.com/)\n2. Create a new project or select an existing one\n3. Enable the YouTube Data API v3\n4. Create credentials (API Key)\n5. Copy your API key\n\n### 2. Database Setup\n\nThis project uses [Neon](https://neon.tech/) for PostgreSQL database hosting:\n\n1. Go to [Neon Console](https://console.neon.tech/)\n2. Create a new project\n3. Copy your database connection string\n4. The connection string will be used as your `DATABASE_URL`\n\n### 3. Environment Variables\n\nCreate a `.env.local` file in the root directory:\n\n```bash\n# YouTube Data API v3 Key\nYOUTUBE_API_KEY=your_youtube_api_key_here\n\n# Neon Database URL\nDATABASE_URL=your_neon_database_url_here\n\n# App URL (for production)\nNEXT_PUBLIC_APP_URL=http://localhost:3000\n```\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/yourusername/youtubetoblog.git\ncd youtubetoblog\n```\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n# or\nyarn install\n# or\npnpm install\n```\n\n### 3. Set Up the Database\n\n```bash\n# Generate and run migrations\nnpx drizzle-kit generate\nnpx drizzle-kit migrate\n```\n\n### 4. Start the Development Server\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to see the application.\n\n## 🎯 Usage\n\n1. **Enter YouTube URL**: Paste any YouTube video URL into the input field\n2. **Click Convert**: The system will process the video and generate a blog post\n3. **View Results**: See the generated blog post with options to:\n   - View the full blog post\n   - Copy the markdown content\n   - Share the blog post\n\n## 🔧 Configuration\n\n### AI Model Configuration\n\nThe application uses Google's Gemini 2.5 Flash model. You can customize the AI prompt in `server/ai.ts` to change the output style or format.\n\n## 🚀 Deployment\n\n### Deploy to Vercel\n\n1. Push your code to GitHub\n2. Connect your repository to Vercel\n3. Set environment variables in Vercel dashboard\n4. Deploy!\n\n### Environment Variables for Production\n\nMake sure to set these in your deployment platform:\n\n- `YOUTUBE_API_KEY`\n- `DATABASE_URL`\n- `NEXT_PUBLIC_APP_URL` (your production URL)\n\n## 🤝 Contributing\n\nWe welcome contributions! Please follow these steps:\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Commit your changes: `git commit -m 'Add amazing feature'`\n4. Push to the branch: `git push origin feature/amazing-feature`\n5. Open a Pull Request\n\n### Development Guidelines\n\n- Follow the existing code style\n- Add TypeScript types for new features\n- Test your changes thoroughly\n- Update documentation as needed\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 📞 Support\n\nIf you have any questions or need help:\n\n- Open an issue on GitHub\n- Check the documentation\n- Join our community discussions\n\n---\n\nMade with axe 🪓 by OrcDev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheorcdev%2Fyoutube-to-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheorcdev%2Fyoutube-to-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheorcdev%2Fyoutube-to-blog/lists"}