Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/elouangrimm/minimalsubscriptions. A minimal, no clickbait feed for your favorite YouTubers minimalsubscriptions.vercel.app
Something went wrong. Try again.
Files
- JavaScript 65%
- CSS 19%
- HTML 16%
README.md
Minimal Subscriptions #
Minimal, no-clickbait YouTube subscriptions feed.
Main page is feed-first with one clear refresh action. Settings, imports, and subscription management live in a dedicated popup.
What This Version Does #
- Feed-first layout with uninterrupted timeline
- Clear primary action: Refresh Feed
- Separate settings popup for import, playback options, and subscription management
- Remove subscriptions from the settings popup (not from main feed)
- Shorts filtered out by default
- Batched loading by channel groups to reduce bandwidth and improve speed
- Optional thumbnail rendering (off by default)
- YouTube opens by default, optional Invidious links
Tech Stack #
- Plain HTML5
- CSS3 custom properties, dark flat stone palette, zero border radius
- Vanilla JavaScript (ES6+)
- Vercel serverless API for RSS fetching:
api/feed.js
Run Locally #
Use Vercel dev so both static app and API route run together:
vercel dev
Then open the localhost URL printed by Vercel.
Detailed Google Auth Setup #
Google import uses browser OAuth and reads subscriptions with youtube.readonly.
1. Create Google Cloud project #
- Open Google Cloud Console.
- Create a new project (or select an existing one).
2. Enable YouTube Data API v3 #
- In APIs & Services, open Library.
- Search for YouTube Data API v3.
- Click Enable.
3. Configure OAuth consent screen #
- Open APIs & Services, then OAuth consent screen.
- Choose External (or Internal for Workspace-only usage).
- Fill required fields (app name, support email, developer contact).
- Save.
- Add test users if your app is not published.
4. Create OAuth client id (Web) #
- Open APIs & Services, then Credentials.
- Click Create Credentials, OAuth client ID.
- Application type: Web application.
- Add Authorized JavaScript origins:
http://localhost:3000- Your deployed domain, for example
https://your-domain.vercel.app
- Create and copy the Client ID.
No redirect URI is required for this token-client flow.
5. Put client id into app #
In index.html, set this meta tag:
<meta name="google-client-id" content="YOUR_CLIENT_ID.apps.googleusercontent.com">
6. Verify import #
- Run
vercel dev. - Open app.
- Click Settings.
- Use Import From Google.
Common Google OAuth issues #
origin_mismatch: local or deployed origin missing from Authorized JavaScript origins.access_denied: user canceled consent or app is restricted to unlisted test users.- no popup: browser popup blocker blocked Google auth window.
OPML Import With Bookmarklet #
This app supports OPML generated from the jeb5 tool.
Repository:
Option A: Drag bookmarklet from repo #
- Open the repository README.
- Find the Bookmarklet section.
- Drag the Bookmarklet link from that page into your bookmarks bar.
- Go to
https://www.youtube.com/feed/channelswhile logged in. - Click the saved bookmarklet.
- Download
youtube_subs.opml.
Option B: Manual bookmark creation #
- Create a new browser bookmark.
- Copy the
javascript:code from the repository Bookmarklet section. - Paste it into the bookmark URL field.
- Open
https://www.youtube.com/feed/channelsand click the bookmark. - Download
youtube_subs.opml.
Import into app #
- Open Settings.
- Use Select OPML File.
- Choose
youtube_subs.opml.
Feed Loading Model #
The app loads feed data in batches by subscription channels.
- Refresh loads the first channel batch.
- Load More Channels fetches the next batch.
- This reduces initial bandwidth and keeps thumbnail mode from becoming too slow.
API endpoint: POST /api/feed
Request:
{
"channelIds": ["UCxxxxxxxxxxxxxxxxxxxxxx"],
"limitPerChannel": 6,
"cursor": 0,
"batchSize": 20
}
Response fields include:
videosfailurescursornextCursorhasMoretotalChannelsloadedChannels
Privacy #
- Imported subscriptions and UI settings are stored locally in browser storage.
- Serverless API fetches public RSS feeds.
- No recommendation profile or engagement ranking is generated.
Deployment #
Deploy with:
vercel
License #
MIT