ks1v / telegram-saved-to-notion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Saved Messages to a Notion Database

Import Telegram Saved messages into a Notion database. It creates separate pages for each day and writes messages as time-tagged blocks. Start of each day is not a midnight but actual time when you slept according to a gaps in messages flow.

TODO

  • Python binding with Telegram
  • Load Saved messages as a JSON file
  • Process Saved messages into a DataFrame (retain essencial fields, download and link media)
  • Split Saved messages by adjusted dates according to night gap in messages flow
  • Python binding with Notion
  • Connect to test Notion database
  • Create daily pages with messages in time-tagged blocks
  • Convert links to web bookmarks
  • Attach media files to pages

Dependences:

  1. Telethon

  2. Pandas

    pip install telethon pandas

About

License:MIT License


Languages

Language:Python 100.0%