Files
2dph/docs/chat-import-plan.md
eSliderandGitHub cec0161ff6
Tests / Test (push) Skipped
Tests / Release (semver) (push) Skipped
refactor: chats method shebangs; drop chats index (D14). (#11)
Parsers and commands live in internal/chats. bin/chats/{sync,import,facts,apply}.go
are tagged shebang mains. Brain ingest is not a chats command.
2026-08-13 17:31:03 +01:00

574 B

Chat Import Pipeline

Plan: eSlider/brain-chats-import#1

Env vars (set in shell, never committed)

TELEGRAM_MCP_DIR
TELEGRAM_API_ID / TELEGRAM_API_HASH / TELEGRAM_PHONE
TELEGRAM_SESSION_STRING
ONLYOFFICE_URL / ONLYOFFICE_USER / ONLYOFFICE_PASS
OO_CLI                     (default: $HOME/go/bin/oo)

Quick reference

./bin/chats/sync.go telegram --limit 100
./bin/chats/import.go
./bin/chats/facts.go
./bin/chats/apply.go --dry-run

JSONL → markdown only. Brain ingest is bin/brain/index.go (not a chats index).