{"id":20253381,"url":"https://github.com/fireinrain/sycgram-pro","last_synced_at":"2025-07-17T13:39:22.661Z","repository":{"id":202879089,"uuid":"708334091","full_name":"fireinrain/sycgram-pro","owner":"fireinrain","description":"A useful telegram client bot with lots of functions. Based sycgram but more powerful.","archived":false,"fork":false,"pushed_at":"2024-05-27T02:07:56.000Z","size":174,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T23:43:12.957Z","etag":null,"topics":["client","docker","docker-compose","python","telegram","telegram-bot","telegram-bot-api","telegram-client"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fireinrain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-22T08:46:50.000Z","updated_at":"2025-01-08T13:30:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d64d3d8-38a2-4cd5-ac4f-80a7b1c60ffb","html_url":"https://github.com/fireinrain/sycgram-pro","commit_stats":null,"previous_names":["fireinrain/sycgram-pro"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/fireinrain/sycgram-pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fsycgram-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fsycgram-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fsycgram-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fsycgram-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fireinrain","download_url":"https://codeload.github.com/fireinrain/sycgram-pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fsycgram-pro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265611731,"owners_count":23797945,"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":["client","docker","docker-compose","python","telegram","telegram-bot","telegram-bot-api","telegram-client"],"created_at":"2024-11-14T10:23:38.478Z","updated_at":"2025-07-17T13:39:22.610Z","avatar_url":"https://github.com/fireinrain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## 配置\n\n- 需要两个参数：`api_id`、`api_hash`\n- 如果没有，点击这个[电报链接](https://my.telegram.org/apps)申请\n\n\n## 安装与更新\n\n```shell\n# 脚本的【安装】都是前台运行，完成安装后如无报错可先后使用Ctrl+P、Ctrl+Q挂到后台运行\nbash \u003c(curl -fsL \"https://raw.githubusercontent.com/fireinrain/sycgram-pro/main/install.sh\")\n```\n\n## 启动\n\n```bash\ndocker run -it --name sycgram-pro --env TZ=\"Asia/Shanghai\" --restart always -v ./data:/sycgram-pro/data liuzy/sycgram-pro:latest\n\n输入电话号码,验证码,two auth factor 密码\n\nctrl + p 加上 ctrl+q 使得容器进入后台工作\n\n注意: 这一步的主要作用是获得telegram 登录session\n\n\n```\n\n## 更新存在的问题\n\n\u003e 指令更新是通过拉取一次`watchower`来更新。\n\nwatchower存在的问题：有一定的概率拉取最新镜像后移除容器后没法再次创建容器，sycgram就会失联。\n\n\n## 指令说明\n\n- 使用`-help`查看指令列表\n\n\n## 迁移备份\n\n1. 停止容器\n2. 打包`./sycgram-pro`文件夹到新环境相同位置\n3. 在新环境运行sycgram-pro管理脚本\n\n\n## 自定义指令前缀及指令别名\n\n- 脚本更新：都会覆盖本地的`command.yml`，原文件会备份到`command目录`。\n- 指令更新：本地的`command.yml`不会被覆盖\n- 可以通过指令修改前缀和别名\n- 指令别名只支持单别名和源名（不再支持多别名）\n\n\n## 注意事项\n\n- 脚本仅适用于Ubuntu/Debian，其它系统自行解决~\n- 按个人需求随缘更，仅用于学习用途\n- 如果号码等输入错误了，重新安装即可\n- 如果偷贴纸没有反应，先给贴纸Bot `@Stickers` 随便发点消息\n\n## 感谢开源项目\n\n[sycgram](https://github.com/h88782481/sycgram)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireinrain%2Fsycgram-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffireinrain%2Fsycgram-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireinrain%2Fsycgram-pro/lists"}