Tired of your Telegram logs sitting vulnerable in cloud exports? This Node.js CLI tool lets you seamlessly import your Telegram chat history (JSON + media) into WhatsApp Web—with rate limiting, pause/replay support, and smart error handling. It preserves original timestamps and sender info, and resumes cleanly if interrupted .
Why it matters: Telegram’s cloud chats lack true end-to-end encryption—your entire history is stored on their servers and potentially exposed. WhatsApp, on the other hand, offers robust E2E protection, keeping all your conversations private, on-device only. Finally you can back-up your chats to a channel that actually secures them.
Use it like this:
1. Login — scan QR code once, stay authenticated.
2. List — pick the target WhatsApp chat (DM or group).
3. Plan — parse your Telegram export, validate messages and media, generate an import plan.
4. Execute — start the import with configurable delay between message to avoid blocking by WhatsSapp, resume support, and media validation.
The tool handles progress tracking, retries, idempotency (stop/resume), authentication caching, and gracefully skips problematic media—perfect for long or interrupted imports.
In short: it’s a no-frills way to move away from an insecure cloud-stored archive and reinstate your chat in a strongly encrypted channel. Open source (MIT), cross-platform, and reliable.
goofed•5h ago
Why it matters: Telegram’s cloud chats lack true end-to-end encryption—your entire history is stored on their servers and potentially exposed. WhatsApp, on the other hand, offers robust E2E protection, keeping all your conversations private, on-device only. Finally you can back-up your chats to a channel that actually secures them.
Use it like this: 1. Login — scan QR code once, stay authenticated. 2. List — pick the target WhatsApp chat (DM or group). 3. Plan — parse your Telegram export, validate messages and media, generate an import plan. 4. Execute — start the import with configurable delay between message to avoid blocking by WhatsSapp, resume support, and media validation.
Set it up quickly (Node 18+ required):
``` git clone git@github.com:rafaelsales/transfer-telegram-to-whatsapp.git npm install telegram-to-whatsapp login telegram-to-whatsapp plan path/to/telegram-export/ telegram-to-whatsapp execute path/to/output/ --target-chat "123456789@g.us" ```
The tool handles progress tracking, retries, idempotency (stop/resume), authentication caching, and gracefully skips problematic media—perfect for long or interrupted imports.
In short: it’s a no-frills way to move away from an insecure cloud-stored archive and reinstate your chat in a strongly encrypted channel. Open source (MIT), cross-platform, and reliable.