Summary YouTube Transcript is an open-source project that provides a simple Golang server for summary transcripts from YouTube videos. The server can be deployed on fly.io and as a Docker container. It exposes a single endpoint that accepts a YouTube video ID and returns the video transcript in response.
- Summary transcripts from YouTube videos
- Supports multiple languages
Clone the repository:
git clone https://github.com/aiocean/summary-youtube-transcript.git
cd summary-youtube-transcriptBuild the server:
go build -o summary-youtube-transcriptRun the server:
./summary-youtube-transcript --port 8080The server will start on port 8080 by default. You can now send requests to the /transcripts/:id/summary endpoint:
The server exposes a single endpoint that accepts a YouTube video ID and returns the video transcript in response.
curl -X GET "http://localhost:8080/transcripts/YOUR_VIDEO_ID/summary"Replace YOUR_VIDEO_ID with the ID of the YouTube video you want to summary the transcript from.
- Install the Fly.io CLI and log in:
curl -L https://fly.io/install.sh | sh
fly login- Create a new Fly.io app:
flyctl launch- Deploy the app:
flyctl deploy- Build the Docker image:
docker build -t summary-youtube-transcript .- Run the container:
docker run -p 8080:8080 summary-youtube-transcriptThis project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name.
- Implement your changes or additions.
- Test your