{"id":13557348,"url":"https://github.com/karlicoss/telegram-backup-to-txt","last_synced_at":"2025-04-03T02:30:48.215Z","repository":{"id":141611592,"uuid":"215657181","full_name":"karlicoss/telegram-backup-to-txt","owner":"karlicoss","description":"Tool to dump telegram into text files for quick search (e.g. with grep)","archived":false,"fork":false,"pushed_at":"2023-03-31T21:32:17.000Z","size":6,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:05:09.622Z","etag":null,"topics":["pkm","plaintext","search","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karlicoss.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-10-16T22:42:02.000Z","updated_at":"2025-03-18T15:56:55.000Z","dependencies_parsed_at":"2023-04-22T03:39:29.583Z","dependency_job_id":null,"html_url":"https://github.com/karlicoss/telegram-backup-to-txt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Ftelegram-backup-to-txt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Ftelegram-backup-to-txt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Ftelegram-backup-to-txt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Ftelegram-backup-to-txt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karlicoss","download_url":"https://codeload.github.com/karlicoss/telegram-backup-to-txt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925198,"owners_count":20855853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pkm","plaintext","search","telegram"],"created_at":"2024-08-01T12:04:17.745Z","updated_at":"2025-04-03T02:30:47.907Z","avatar_url":"https://github.com/karlicoss.png","language":"Python","funding_links":[],"categories":["Python","telegram"],"sub_categories":[],"readme":"#+begin_src python :exports results :results output drawer\n  import convert_to_plaintext\n  print(convert_to_plaintext.__doc__)\n#+end_src\n\n#+RESULTS:\n:results:\n\nScript to convert HTML output from [[https://github.com/fabianonline/telegram_backup][telegram_backup]] tool to plaintext with proper filenames.\n\nI'm using it for quick search (e.g. =grep=) in messages without having to go to web interface/mobile app. You can read more about it [[https://beepb00p.xyz/pkm-search.html#other][here]].\n\n* Usage\n\n1. Read [[https://github.com/fabianonline/telegram_backup#usage][usage for telegram_backup]] to backup your account. Don't forget to run =--export html=!\n2. Run this script with the same =--target= and =--account= arguments as for backup script, and pass =--output= directory.\n\nPersonally I've got all this set up as a daily Cron job.\n\n** Dependencies\n\n~apt install sqlite3 html2text~\n\n:end:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Ftelegram-backup-to-txt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarlicoss%2Ftelegram-backup-to-txt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Ftelegram-backup-to-txt/lists"}