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).
script.js
: Handles requests to the server and updating HTML items in the DOM.server.js
: Main server setup and API routes.Transcript.js
: Responsible for parsing and extraction of YouTube captions through scraping.OpenAiApi.js
: Manages interactions with the OpenAI API and sets prompts.generateSummary.js
: This module likely facilitates the generation of summaries using OpenAI's API.git clone [your-repository-url]
npm install
API_KEY=your_openai_api_key_here
node server.js
https://hrboka.medium.com/setting-up-a-node-website-on-apache-with-aws-lightsail-8dfac2c4467d
/captions
videoId
(The ID of the YouTube video from which you want to fetch captions)/generateSummary
{
"captions": [captionsData...]
}
Response: Returns a summarized content based on the captions data.
Feel free to dive in! Open an issue or submit PRs.
MIT © [Your Name]