https://github.com/pNre/gram
Command line based, bare-bones client for Telegram
https://github.com/pNre/gram
cli telegram-client
Last synced: 10 months ago
JSON representation
Command line based, bare-bones client for Telegram
- Host: GitHub
- URL: https://github.com/pNre/gram
- Owner: pNre
- Created: 2019-11-27T08:51:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-08T19:11:32.000Z (about 6 years ago)
- Last Synced: 2024-08-04T01:28:28.476Z (over 1 year ago)
- Topics: cli, telegram-client
- Language: OCaml
- Homepage:
- Size: 88.9 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - gram - bones client for Telegram | pNre | 5 | (OCaml)
README
## gram
Command line based, bare-bones client for Telegram
#### Requirements
- OCaml 4.07+
- Dune 1.x
- [TDLib](https://core.telegram.org/tdlib)
- Readline
#### Compiling
Check missing dependencies using:
```bash
dune external-lib-deps --missing @all
```
and install them, then:
```bash
dune build @all
```
#### Running
1. Get `api_id` and `api_hash` from https://my.telegram.org/auth
2. Export the following environment variables:
- `TG_API_ID`
- `TG_API_HASH`
- `TG_DB_KEY`: encryption key for TDLib to encrypt local data
3. Run `./_build/default/main.exe`