TheSparkSquad / SparkVidsCodebase

Machine Learning Application that Extracts Captions from youtube videos and uses ML models to Generate Summaries and Table of Contents.
http://18.237.75.195:3000/
0 stars 3 forks source link

YouTube Captions Summarizer

Link to Site:
http://18.237.75.195:3000/

Link to ML Model I Trained from Scratch:
http://18.237.75.195:3000/my-model-notebook

Note: This site is currently not using HTTPS (secure connection).

Directory Structure

Setup to run Node App from Local

  1. Clone the repository:
git clone [your-repository-url]
  1. Install dependencies:
npm install
  1. Setup your environment variables: Create a .env file in the root directory of your project and add the following:
API_KEY=your_openai_api_key_here
  1. Start the server:
node server.js
  1. Once the server starts, you should see the message: Server is running on http://localhost:3000

Setup to run Node App by Hosting a Server

Using AWS Lightsail

https://hrboka.medium.com/setting-up-a-node-website-on-apache-with-aws-lightsail-8dfac2c4467d

API Routes

Fetch Captions

Generate Summary

Response: Returns a summarized content based on the captions data.

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

MIT © [Your Name]