Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psamim/telegram-cli-backup
A simple Lua script to backup Telegram messages into a CSV or sqlite database
https://github.com/psamim/telegram-cli-backup
backup dump telegram telegram-cli
Last synced: 2 months ago
JSON representation
A simple Lua script to backup Telegram messages into a CSV or sqlite database
- Host: GitHub
- URL: https://github.com/psamim/telegram-cli-backup
- Owner: psamim
- License: mit
- Created: 2015-06-26T06:45:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-02T18:34:22.000Z (over 5 years ago)
- Last Synced: 2024-05-10T22:00:52.209Z (8 months ago)
- Topics: backup, dump, telegram, telegram-cli
- Language: Lua
- Homepage:
- Size: 10.7 KB
- Stars: 113
- Watchers: 10
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* 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).
#+BEGIN_SRC sh
$ telegram-cli -s backup.lua
#+END_SRC
* Requirements
- [[https://github.com/vysheng/tg][telegram-cli]]
- luaAnd if writing to a sqlite database:
- Lua lsqlite3 (can be installed by =$ luarocks install lsqlite3=)