You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: README.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,9 +106,7 @@ To block commenters, add their usernames to `config/blocked_users.txt`.
106
106
107
107
**No API key required!** The ingestor uses YouTube's public Atom/RSS feeds, which work for any public playlist without registration or credentials.
108
108
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.
112
110
113
111
To find a playlist ID, open the playlist on YouTube and copy the `list=` parameter:
> **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.
121
119
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
-
124
120
**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):
125
121
126
122
```
@@ -139,11 +135,7 @@ The video will automatically render as a responsive embedded player — no confi
139
135
140
136
[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.
141
137
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.
147
139
148
140
> **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.
0 commit comments