Skip to content

Commit a4bd008

Browse files
committed
docs: remove local-dev config file instructions from My Watching/My Reading
Drop 'Local development only' blocks (config txt files no longer supported). Update HN setup to lead with GitHub profile social links; keep the repository variable as the explicit fallback. Simplify section headings.
1 parent d4fbd18 commit a4bd008

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ To block commenters, add their usernames to `config/blocked_users.txt`.
106106

107107
**No API key required!** The ingestor uses YouTube's public Atom/RSS feeds, which work for any public playlist without registration or credentials.
108108

109-
**Setup (recommended — keeps your playlist IDs out of source control):**
110-
111-
Go to [**Settings → Secrets and variables → Actions → Variables**](../../settings/variables/actions) and add a **Variable** named `YOUTUBE_PLAYLIST_IDS`. GitHub's variable editor supports multi-line values — add one playlist ID per line.
109+
**Setup:** Go to [**Settings → Secrets and variables → Actions → Variables**](../../settings/variables/actions) and add a **Variable** named `YOUTUBE_PLAYLIST_IDS`. GitHub's variable editor supports multi-line values — add one playlist ID per line.
112110

113111
To find a playlist ID, open the playlist on YouTube and copy the `list=` parameter:
114112
```
@@ -119,8 +117,6 @@ https://www.youtube.com/playlist?list=PLILJALPUFXDmE84sBSVlGqcaDFRJ2RZ5Q
119117

120118
> **Note:** The RSS feed returns up to the 15 most-recently-added videos per playlist. Add multiple playlist IDs (e.g. one per year) if you need more history.
121119
122-
**Local development only:** Copy `config/youtube_playlists.txt.example` to `config/youtube_playlists.txt` and add your IDs. That file is gitignored and will never be committed.
123-
124120
**Auto-embedding YouTube links in blog posts:** You don't even need a playlist configured to get YouTube embeds. Simply paste a YouTube video URL on its own line in any GitHub Issue (blog post):
125121

126122
```
@@ -139,11 +135,7 @@ The video will automatically render as a responsive embedded player — no confi
139135

140136
[Hacker News](https://news.ycombinator.com) is a community site where people share and discuss technology links and ideas — think of it as a focused, text-first forum. No API key needed — the [Algolia HN Search API](https://hn.algolia.com/api/v1) is public.
141137

142-
**Setup (recommended — keeps your username out of source control):**
143-
144-
Run the **[Set Up Blog](../../actions/workflows/setup-blog.yml)** workflow ([Actions tab](../../actions) → Set Up Blog → Run workflow) and enter your username in the `hn_username` input. Alternatively, go to [**Settings → Secrets and variables → Actions → Variables**](../../settings/variables/actions) and add a **Variable** named `HN_USERNAME` with your HN username.
145-
146-
**Local development only:** Copy `config/hackernews.txt.example` to `config/hackernews.txt` and add your username. That file is gitignored and will never be committed.
138+
**Setup:** Link your Hacker News profile under **Social accounts** on your [GitHub profile settings](https://github.com/settings/profile) — the username is auto-discovered from there. Alternatively, go to [**Settings → Secrets and variables → Actions → Variables**](../../settings/variables/actions) and add a **Variable** named `HN_USERNAME` with your HN username.
147139

148140
> **Why not commit the username?** If someone forks your blog, you don't want your personal HN activity appearing on their site by default. Storing configuration in GitHub Actions variables means each fork has its own clean settings.
149141

0 commit comments

Comments
 (0)