From 3cbf00fe185799bed5a826eb73c37e676f608f7d Mon Sep 17 00:00:00 2001 From: banteg <4562643+banteg@users.noreply.github.com> Date: Sun, 28 Dec 2025 18:50:20 +0400 Subject: [PATCH] docs: simplify telegram notifier setup --- codex/notify_telegram/README.md | 8 +++----- codex/notify_telegram/config.toml.example | 1 - codex/notify_telegram/telegram.json.example | 4 ---- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 codex/notify_telegram/config.toml.example delete mode 100644 codex/notify_telegram/telegram.json.example diff --git a/codex/notify_telegram/README.md b/codex/notify_telegram/README.md index 73e6371..49f2157 100644 --- a/codex/notify_telegram/README.md +++ b/codex/notify_telegram/README.md @@ -5,8 +5,8 @@ Send Codex completion summaries to Telegram with safe Markdown rendering and sta ## Install 1. Ensure `uv` is installed. -2. Copy the script into your repo (already in this folder). -3. Create your Telegram creds file at `~/.codex/telegram.json`. +2. Copy the script to `/Users/name/.codex/notify_telegram.py`. +3. Create your Telegram creds file at `/Users/name/.codex/telegram.json`. Example: @@ -22,7 +22,7 @@ Example: Add a `notify` entry to `~/.codex/config.toml`: ```toml -notify = ["uv", "run", "/absolute/path/to/agents/codex/notify_telegram/notify_telegram.py"] +notify = ["uv", "run", "/Users/name/.codex/notify_telegram.py"] ``` ## Notes @@ -34,5 +34,3 @@ notify = ["uv", "run", "/absolute/path/to/agents/codex/notify_telegram/notify_te ## Files - `notify_telegram.py`: the notifier script -- `telegram.json.example`: sample credentials file -- `config.toml.example`: sample Codex `notify` config line diff --git a/codex/notify_telegram/config.toml.example b/codex/notify_telegram/config.toml.example deleted file mode 100644 index 93afa85..0000000 --- a/codex/notify_telegram/config.toml.example +++ /dev/null @@ -1 +0,0 @@ -notify = ["uv", "run", "/Users/YOU/path/to/agents/codex/notify_telegram/notify_telegram.py"] diff --git a/codex/notify_telegram/telegram.json.example b/codex/notify_telegram/telegram.json.example deleted file mode 100644 index dd76afd..0000000 --- a/codex/notify_telegram/telegram.json.example +++ /dev/null @@ -1,4 +0,0 @@ -{ - "bot_token": "123456:ABCDEF...", - "chat_id": "462722" -}