An extension that leverages the power of OpenAI API to provide summaries for YouTube videos based on your personalized preferences. No more annoying tab opening and try to paste into ChatGPT, do it all with a simple click in the YouTubeSummarizer extension!
- Custom Summaries: Get a summarized version of any YouTube video tailored to your preferences.
- User Preferences: Adjust summary based on tone, age and length.
- Non-Intrusive: The extension operates discreetly without altering the look and feel of web pages.
- Clean Dropdown Interface: Built with React and styled using Bulma for a sleek user experience.
Set up conda env (we need to use a little python to get youtube transcripts)
- First install conda or miniconda if you haven't already \
- Create the conda environment:
conda create --name YoutubeSummarizer
- Install needed packages (there's only one as of now):
conda install -c conda-forge youtube-transcript-api
- The conda environment is now set up!
- Now we install node.js dependencies:
npm install
(make sure you're in backend directory) - Set up needed environment variables:
You will need to create a file called.env
in the backend directory that will hold needed environment variables, the file should look like the following block of codePORT=4000 JWT_SECRET=(ask one of us to send it to you) ENCRYPTION_SECRET=(ask one of us to send it to you) MONG_URI=(this is the url used to connect to the MongoDB atlas database, you will need one of us to set up an account for you and to provide you with an access link)
conda activate YoutubeSummarizer
npm start
- The application uses JWT tokens to track if you are logged in or out, and can stay logged in everytime you open the browser
- All routes aside from the login and register routes require authentication
- Fetch all summaries from user
- GET
localhost:PORT/api/summaries/fetchSummaries
- GET
- Can find copies of all endpoints in the backend code