YouTube Agent is a project inspired by the article Building AI Agents with Rust. It is a Rust-based application that uses AI to summarize YouTube video transcripts.
- Summarizes YouTube video transcripts into main talking points and a complete summary.
- Uses the GPT-4 model from OpenAI for generating summaries.
- Built with the Rocket web framework in Rust.
- Built and deployed using Cargo Shuttle.
- Rust programming language
- Cargo package manager
- Cargo Shuttle
- Clone the repository
git clone https://github.com/wisehuang/youtube-agent.git
- Navigate to the project directory
cd youtube-agent
- Build the project with Cargo Shuttle
cargo shuttle run
- Deploy the project on Shuttle.rs
cargo shuttle deploy --allow-dirty
For more information, you may check this documentation: Cargo Shuttle Quick Start
To get a summary of a YouTube video, make a GET request to the /youtube/<video_id>
endpoint. The response will be the main talking points and a complete summary of the video transcript.
This project is licensed under the MIT License. See the LICENSE
file for more details.