https://github.com/xjonathanlei/telegram-session-keeper
A command-line tool for creating and using backup Telegram sessions for access without using phone numbers
https://github.com/xjonathanlei/telegram-session-keeper
telegram
Last synced: about 1 year ago
JSON representation
A command-line tool for creating and using backup Telegram sessions for access without using phone numbers
- Host: GitHub
- URL: https://github.com/xjonathanlei/telegram-session-keeper
- Owner: xJonathanLEI
- License: apache-2.0
- Created: 2021-05-11T01:39:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T07:56:07.000Z (almost 4 years ago)
- Last Synced: 2025-04-04T15:54:55.899Z (about 1 year ago)
- Topics: telegram
- Language: Rust
- Homepage:
- Size: 30.3 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Telegram Session Keeper
This repository contains a cross-platform command line tool written in Rust for creating and using backup Telegram session files.
With a backup session file, one can retain access to the corresponding account, without having access to the actual phone number, by fetching authentication code using the said file.
## Installation
With Rust toolchain installed:
```sh
$ cargo install --locked --git https://github.com/xJonathanLEI/telegram-session-keeper
```
## Prerequisite
To use the tool you must first create a [Telegram Application](https://core.telegram.org/api/obtaining_api_id) and obtain a pair of _API ID_ and _API Hash_. You **MUST** use the same application for creating and later using the session. It is therefore recommended that you backup both the session file and the API ID & hash.
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](./LICENSE-APACHE) or )
- MIT license ([LICENSE-MIT](./LICENSE-MIT) or )
at your option.