better-tg-cli 0.21.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -10
- package/README.ru.md +179 -0
- package/SKILL.md +1 -0
- package/dist/telegram.mjs +1 -1
- package/package.json +2 -1
- package/reference.md +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Unofficial agent-friendly Telegram client for the command line (MTProto, layer 229)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/telegram.mjs",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"teleproto": "^1.229.0",
|
|
48
48
|
"tsx": "^4.23.15",
|
|
49
49
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
50
|
+
"uqr": "^0.1.3",
|
|
50
51
|
"vitest": "^5.0.2"
|
|
51
52
|
},
|
|
52
53
|
"engines": {
|
package/reference.md
CHANGED
|
@@ -137,8 +137,9 @@ matches titles.
|
|
|
137
137
|
## Troubleshooting
|
|
138
138
|
|
|
139
139
|
- `Not configured`: the user must log in themselves with `telegram auth` (their own keys from
|
|
140
|
-
my.telegram.org) or `telegram auth --invite` (a token from the maintainer). It is interactive
|
|
141
|
-
it
|
|
140
|
+
my.telegram.org) or `telegram auth --invite` (a token from the maintainer). It is interactive,
|
|
141
|
+
so never run it for them. `--qr` logs in by scanning a QR code in the Telegram app instead of
|
|
142
|
+
typing a code (`TG_QR_INVERT=1` for light terminals).
|
|
142
143
|
|
|
143
144
|
- `command not found: telegram`: run `brew install thevilfer/tap/better-tg-cli` or `npm install -g better-tg-cli`, or build this folder (`npm install && npm run build && npm install -g .`, needs Bun)
|
|
144
145
|
`telegram update` upgrades an existing install (brew, npm or git checkout); `update --check` only reports.
|