Youtube Detoxify is a web-app that curates YouTube feed based on the user choice. User's will see what they want to see having full control over their content.
YouTube Detoxify allows users to:
- Select their topics of videos they want in their feed.
- View a customized feed based on these topics.
- Avoid potentially negative or distracting content ultimately providing a more focused enironment for user.
In this digital era, content overload is a real issue and the majority of content is in videos. YouTube detoxify helps by:
- Avoiding exposure to distracting content.
- Saving time by presenting only relevant videos.
- Preventing burn-outs by removing unwanted content from the feed.
Installation
1. Clone the repository
git clone https://github.com/jayprakash25/Digital-Detox.git
2. Navigate to directory
cd Digital-Detox
3. Install dependencies
npm install
4. Set up environment variables
To run YouTube Detoxify locally, you need to set up environment variables. Here's how to obtain and set the required API keys and tokens.
If you're using MongoDB locally, the default URI can be:
DB_URI="mongodb://localhost:27017"
To enable Google Sign-In:
- Go to the Google Cloud Console.
- Create or select a project.
- Navigate to APIs & Services > Credentials.
- Click Create Credentials > OAuth 2.0 Client IDs.
- Choose Web Application and add the following redirect URI:
http://localhost:3000/api/auth/callback/google
- Copy the
GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
and add them to your.env.local
file:
- Go to the Vercel dashboard.
- Set up Vercel KV under Storage.
- Copy the following values from your Vercel KV instance:
KV_REST_API_TOKEN
: Token for read and write access.KV_REST_API_READ_ONLY_TOKEN
: Token for read-only access.KV_REST_API_URL
: URL for accessing the KV database.KV_URL
: Direct URL to your KV store.
Add them to your .env.local
:
Generate a secure random string for NextAuth using the following command:
openssl rand -base64 32
To get a YouTube API key:
- Go to the Google Cloud Console.
- Enable the YouTube Data API v3.
- Go to Credentials > Create Credentials > API Key.
- Copy the
YOUTUBE_API_KEY
and add it to your.env.local
:
5. Start the Development server
npm run dev
Where can I get more help?
- if you need more help, you can email us at jpnreddy25@gmail.com
We welcome contributors. Please see our Contributor Guide for more details on how to get started.
- Provide a more productive YouTube environment.
- Reduce time wasted on distracting content.
- Initial release with basic interest selection and feed curation.
- Implement Machine Learning for better content recommendation.
- Develop a chrome extension.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤ by JP and you all.