Skip to content

aiocean/summary-youtube-transcript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary YouTube Transcript

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.

Features

  • Summary transcripts from YouTube videos
  • Supports multiple languages

Getting Started

Clone the repository:

git clone https://github.com/aiocean/summary-youtube-transcript.git
cd summary-youtube-transcript

Build the server:

go build -o summary-youtube-transcript

Run the server:

./summary-youtube-transcript --port 8080

The server will start on port 8080 by default. You can now send requests to the /transcripts/:id/summary endpoint:

Usage

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.

Deploying to Fly.io

  1. Install the Fly.io CLI and log in:
curl -L https://fly.io/install.sh | sh
fly login
  1. Create a new Fly.io app:
flyctl launch
  1. Deploy the app:
flyctl deploy

Deploying as a Docker container

  1. Build the Docker image:
docker build -t summary-youtube-transcript .
  1. Run the container:
docker run -p 8080:8080 summary-youtube-transcript

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

We welcome contributions! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name.
  3. Implement your changes or additions.
  4. Test your

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages