Repository navigation
Get told: a choice of ways, and say that our alert service is not private - #19
Merged
Merged
Conversation
…vate
"Get told" now opens with one question, "How do you want to hear about it?":
Telegram, Email ("Coming soon", cannot be chosen yet) and "Your own alert
service" (one button to the guide "Run it yourself").
Under the list the sheet says that our alert service is not private: to send
an alert it must know who follows a Chronobox, and we can see that. A person
who does not want that, and can run a server, runs the alert service on their
own.
- chains.ts: ALERTS_EMAIL (null), ALERTS_EMAIL_SOON (true), ALERTS_GUIDE.
- Privacy page: a block "Alerts". The page said "no server" without exception,
although alerts in Telegram are live.
- watcher/README.md: "Run it yourself", with what you need, the exact steps,
and what an RPC and Telegram still see.
- watcher: the bot starts to read its messages after the first poll. Before,
a Start that waited at Telegram when the watcher started got "I cannot read
the network right now". A test covers it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The sheet keeps the choice of this branch, with email as "Coming soon" while ALERTS_EMAIL is null. The start-up code keeps both changes: the email pages of main, and the bot that starts after the first poll. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Alerts in Telegram are live. Two things were missing:
What changes
The sheet "Get told" opens with one question, "How do you want to hear about it?":
ALERTS_EMAILis set.Under the list, a note: "Our alert service is not private. To send you an alert, it must know who follows this Chronobox. We can see that. If you do not want that and you can run a server, run your own alert service." The Telegram screen says the same in concrete terms.
Settings in
src/lib/chains.ts:ALERTS_EMAIL_SOON(true) andALERTS_GUIDE(the guide in this repository).ALERTS_EMAILstaysnull.Privacy page: a new block "Alerts" (what the service keeps, who else sees it, how to delete it, the way out), and the opening line names alerts as the one exception.
The guide "Run it yourself" in
watcher/README.md: what you need, the exact steps, and what an RPC and Telegram still see. It names no host. I followed it from a fresh clone of this repository.A fix in the watcher CLI: the bot starts to read its messages after the first poll. Before, a Start that waited at Telegram when the watcher started got "I cannot read the network right now". A test covers it.
Checked
npm run test:fork:alerts.--dry-run, and--allwith a stand-in for Telegram.Not checked: a self-hosted bot with the real Telegram.
Please look at
🤖 Generated with Claude Code