Skip to content

Transfer messages and files from Telegram bot to Obsidian

License

Notifications You must be signed in to change notification settings

gilipsy/obsidian-telegram-sync

 
 

Repository files navigation

Obsidian Telegram Sync Plugin

This Obsidian plugin allows you to transfer messages and files from a Telegram bot to your Obsidian vault. You can easily save text, images, and other files from your Telegram conversations to Obsidian for further processing and organization.

GitHub Workflow Status GitHub release (latest SemVer)

Features

  • Synchronize text messages and files from a Telegram bot to Obsidian
  • Save messages as individual notes or append to an existing note
  • Use customizable templates for new notes
  • Set folders for new notes and files
  • Automatically format text messages with markdown
  • Delete processed messages from Telegram (optional)

Installation (on test by Obsidian team)

1. Open Obsidian and navigate to the Settings. 2. Click on the Third-party plugins tab. 3. Click the Browse button to open the Community Plugins window. 4. Search for Telegram Sync* in the search bar. 5. Click the Install button, then enable the plugin by toggling the switch.

Manuall Installation

  1. This plugin is only for Desktop (Linux, MacOS, Windows).
  2. Download main.js, styles.css, manifest.json from the release page.
  3. Copy the downloaded files to YourVaultFolder?/.obsidian/plugins/telegram-sync/.
  4. Restart Obsidian and enable Telegram Sync in Community plugins.

Usage

  1. Create a new bot on Telegram by talking to the @botFather.
  2. Copy the bot token provided by the @botFather.
  3. Open the Obsidian settings and navigate to the Telegram Sync settings tab.
  4. Paste your bot token in the Bot Token field.
  5. Configure the remaining settings according to your preferences.
  6. Start sending messages and files to your Telegram bot.
  7. When the Obsidian app is running on your lapton or PC, it syncs all your messages.

Tips

  1. For syncing your notes between different devices should use Obsidian Sync, Syncthing, ICloud, Google Drive etc.
  2. If you use Obsidian only on your cellphone, use "share" to transfer data between mobile applications.

Support

If you have any issues or feature requests, please open an issue on the GitHub.

If you like this plugin and are considering donating to support continued development, use the buttons below!

Buy me a banana

Ko-fi Donation

PayPal Donation

About

Transfer messages and files from Telegram bot to Obsidian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.2%
  • JavaScript 5.4%
  • CSS 0.4%