The "Do Not Code" AI Code editor extension is your productivity partner, offering a unique way to take meaningful breaks. It displays YouTube videos, including both Shorts and normal videos, directly within your AI Code editor environment. This allows you to recharge and find new inspiration without ever leaving your development workspace. 🧘♂️ -- write by LLMs
The "Do not code" AI Code editor extension helps you wasting time. -- by Me.
Features
Integrated YouTube Player: Seamlessly watch YouTube Shorts right inside AI Code editor.
Continuous Browsing: Enjoy an endless stream of Shorts with infinite scrolling.
Auto-Play Functionality: Shorts start playing automatically with sound and the next video queues up when the current one ends.
Customizable Feed: Tailor your Shorts feed by entering a specific YouTube channel ID or username/handle.
Personalized Settings: A dedicated settings panel lets you easily manage your preferences.
Secure Authentication: Uses seamless OAuth2.0 to connect with the YouTube API (No send You Credentials to server.and You change the Google Client id , secret) .
Installation
From the AI Code editor Marketplace
Open AI Code editor and navigate to the Extensions view by pressing Ctrl+Shift+X.
Search for do-not-code.
Click the Install button.
Manual Installation (Download vsix file)
Download the latest release of the extension from the releases page.
In Cursor AI, go to Extensions Drag and Drop Extension menu it Automtical install
Go to "APIs & Services" > "Library" and enable the "YouTube Data API v3".
Navigate to "APIs & Services" > "Credentials".
Click "Create Credentials" > "OAuth client ID".
Select "Web application" as the application type.
Add http://localhost:54321/oauth2callback as an Authorized redirect URI.
Click "Create" and make a note of your Client ID and Client Secret.
Configuring the Extension
Open your AI Code editor Settings (File > Preferences > Settings).
Search for "Do not Code".
Enter the Google Client ID and Client Secret you just created.
The Redirect URI is automatically set to http://localhost:54321/oauth2callback.
Usage
Open the Command Palette (Ctrl+Shift+P).
Type and select the "Do Not Code: Open" command.
A new panel will open, displaying a stream of YouTube videos.
To customize your feed, click the Settings button and enter a YouTube Channel ID or username/handle. You can also choose between Shorts or Normal Videos.
Scroll down to load more content.
To log out, use the Command Palette and select "Do Not Code: Logout".
Commands
do-not-code.open: Opens the YouTube video panel.
do-not-code.logout: Logs you out from the YouTube API.
Acknowledgements
This extension uses the YouTube Data API v3.
Built with TypeScript and the AI Code editor Extension API.