Skip to content

A simple Lua script to backup Telegram messages into a CSV or sqlite database

License

Notifications You must be signed in to change notification settings

psamim/telegram-cli-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

telegram-cli-backup

A simple and dirty lua script to backup Telegram messages into a CSV file or a sqlite database.

How

Change first two lines of the script and set your contact name and message count. Then send the lua script to telegram-cli. If using CSV type, only lua is needed, if writing to a sqlite database, sqlite3 library should be installed (via luarocks for example).

$ telegram-cli -s backup.lua

Requirements

And if writing to a sqlite database:

  • Lua lsqlite3 (can be installed by $ luarocks install lsqlite3)

About

A simple Lua script to backup Telegram messages into a CSV or sqlite database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages