{"id":49563342,"url":"https://github.com/devsenweb/youtube-podcast-lens","last_synced_at":"2026-05-03T10:47:34.500Z","repository":{"id":301812068,"uuid":"1010383409","full_name":"devsenweb/youtube-podcast-lens","owner":"devsenweb","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-13T06:26:06.000Z","size":17322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T10:47:32.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devsenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-06-29T00:28:20.000Z","updated_at":"2025-07-13T06:26:09.000Z","dependencies_parsed_at":"2025-06-29T01:37:07.286Z","dependency_job_id":"cc0be54b-7fdc-46d6-abad-4e109cbcbbed","html_url":"https://github.com/devsenweb/youtube-podcast-lens","commit_stats":null,"previous_names":["devsenweb/youtube-podcast-lens"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devsenweb/youtube-podcast-lens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsenweb%2Fyoutube-podcast-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsenweb%2Fyoutube-podcast-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsenweb%2Fyoutube-podcast-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsenweb%2Fyoutube-podcast-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsenweb","download_url":"https://codeload.github.com/devsenweb/youtube-podcast-lens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsenweb%2Fyoutube-podcast-lens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32566444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-05-03T10:47:33.870Z","updated_at":"2026-05-03T10:47:34.492Z","avatar_url":"https://github.com/devsenweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube Podcast Lens\n\nA web application that lets you analyze YouTube videos as podcasts: fetch transcripts, segment topics, and visualize content.  \n**Now with Google Login!**\n\n---\n\n## Features\n\n- **Google OAuth Login:** Secure authentication using your Google account.\n- **Transcript Fetching:** Enter a YouTube URL or video ID to fetch and analyze the transcript.\n- **Topic Segmentation:** Automatic segmentation of video content into topics.\n- **User Dashboard:** Displays your Google profile info when logged in.\n- **Session Management:** Secure session handling with FastAPI.\n- **Plain HTML/JS Frontend:** No frontend frameworks—simple, fast, and easy to customize.\n\n---\n\n## Tech Stack\n\n- **Backend:** FastAPI (Python)\n- **Frontend:** Plain HTML, JavaScript, TailwindCSS (via CDN)\n- **OAuth:** Google OAuth 2.0 via Authlib\n- **Session Management:** Starlette SessionMiddleware\n- **Async HTTP:** httpx\n- **Environment Variables:** python-dotenv\n\n---\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```sh\ngit clone https://github.com/yourusername/youtube-podcast-lens.git\ncd youtube-podcast-lens/backend\n```\n\n### 2. Install Dependencies\n\nIt’s recommended to use a virtual environment:\n\n```sh\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n### 3. Set Up Google OAuth Credentials\n\n- Go to [Google Cloud Console](https://console.cloud.google.com/apis/credentials).\n- Create an OAuth 2.0 Client ID (type: Web application).\n- Set the **Authorized redirect URI** to:  \n  `http://localhost:8000/auth/google/callback`\n- Download your credentials or copy:\n  - `GOOGLE_CLIENT_ID`\n  - `GOOGLE_CLIENT_SECRET`\n\n### 4. Configure Environment Variables\n\nCreate a `.env` file in the `backend` directory:\n\n```env\nGOOGLE_CLIENT_ID=your-google-client-id\nGOOGLE_CLIENT_SECRET=your-google-client-secret\nSECRET_KEY=your-random-secret-key\n```\n\n### 5. Run the Server\n\n```sh\nuvicorn main:app --reload\n```\n\nThe app will be available at [http://localhost:8000](http://localhost:8000).\n\n---\n\n## Usage\n\n1. Open [http://localhost:8000](http://localhost:8000) in your browser.\n2. Click **Login with Google** and authenticate.\n3. Enter a YouTube URL or Video ID and click **Fetch Transcript**.\n4. View transcript, topic segments, and your Google profile info.\n\n---\n\n## Project Structure\n\n```\nyoutube-podcast-lens/\n  backend/\n    main.py           # FastAPI backend (OAuth, API, session, static files)\n    db.py             # (If present) Database logic\n    requirements.txt  # Python dependencies\n    .env              # Environment variables (not committed)\n    static/\n      index.html      # Frontend HTML\n      main.js         # Frontend JS\n      style.css       # (Optional) Custom styles\n```\n\n---\n\n## Security Notes\n\n- Never commit your `.env` file or secrets to version control.\n- For production, set up HTTPS and use a strong, random `SECRET_KEY`.\n- Tailwind is loaded via CDN for development; for production, use the [recommended installation](https://tailwindcss.com/docs/installation).\n\n---\n\n## Troubleshooting\n\n- **Login button not hiding?**  \n  Make sure your browser loads `/static/main.js` and that you are not using a cached version. Hard refresh (`Ctrl+F5`).\n- **OAuth errors?**  \n  Double-check your Google credentials and redirect URI in the Cloud Console and `.env`.\n- **Backend errors?**  \n  Check the terminal for Python exceptions and ensure all dependencies are installed.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsenweb%2Fyoutube-podcast-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsenweb%2Fyoutube-podcast-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsenweb%2Fyoutube-podcast-lens/lists"}