{"id":13726058,"url":"https://github.com/pNre/gram","last_synced_at":"2025-05-07T21:31:03.157Z","repository":{"id":67641153,"uuid":"224385791","full_name":"pNre/gram","owner":"pNre","description":"Command line based, bare-bones client for Telegram","archived":false,"fork":false,"pushed_at":"2019-12-08T19:11:32.000Z","size":91,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T01:28:28.476Z","etag":null,"topics":["cli","telegram-client"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/pNre.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2019-11-27T08:51:08.000Z","updated_at":"2021-08-12T14:16:16.000Z","dependencies_parsed_at":"2023-04-10T23:03:42.039Z","dependency_job_id":null,"html_url":"https://github.com/pNre/gram","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/pNre%2Fgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pNre%2Fgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pNre%2Fgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pNre%2Fgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pNre","download_url":"https://codeload.github.com/pNre/gram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224654096,"owners_count":17347669,"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":["cli","telegram-client"],"created_at":"2024-08-03T01:02:51.222Z","updated_at":"2024-11-14T16:33:10.889Z","avatar_url":"https://github.com/pNre.png","language":"OCaml","funding_links":[],"categories":["OCaml"],"sub_categories":[],"readme":"## gram\n\nCommand line based, bare-bones client for Telegram\n\n#### Requirements\n\n- OCaml 4.07+\n- Dune 1.x\n- [TDLib](https://core.telegram.org/tdlib)\n- Readline\n\n#### Compiling\n\nCheck missing dependencies using:\n\n```bash\ndune external-lib-deps --missing @all\n```\n\nand install them, then:\n\n```bash\ndune build @all\n```\n\n#### Running\n\n1. Get `api_id` and `api_hash` from https://my.telegram.org/auth\n2. Export the following environment variables:\n   - `TG_API_ID`\n   - `TG_API_HASH`\n   - `TG_DB_KEY`: encryption key for TDLib to encrypt local data \n3. Run `./_build/default/main.exe`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpNre%2Fgram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FpNre%2Fgram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpNre%2Fgram/lists"}