Skip to main content

Telegram signer

Project description

Telegram Signer - Telegram每日自动签到

Install

pip install -U tg-signer

or for speedup:

pip install "tg-signer[tgcrypto]"

Usage

Usage: tg-signer <command> [task_name]
Available commands: list, login, run, run_once, reconfig
 list: 列出已有配置
 login: 登录账号(用于获取session)
 run: 根据配置运行签到
 run_once: 根据配置运行一次签到
 reconfig: 重新配置

e.g.:
 tg-signer run
 tg-signer run my_sign  # 不询问直接运行'my_sign'任务
 tg-signer run_once my_sign  # 直接运行一次'my_sign'任务

Configure proxy(if necessary)

use env TG_PROXY

e.g.:

export TG_PROXY=socks5://127.0.0.1:7890

Run

tg-signer run

Configure according to the prompts. The data and configuration are stored in the .signer directory. Then run tree .signer, you will see:

.signer
├── latest_chats.json  # 获取的最近对话
├── me.json  # 个人信息
└── signs
    └── openai  # 签到任务名
        ├── config.json  # 签到配置
        └── sign_record.json  # 签到记录

3 directories, 4 files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tg_signer-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

tg_signer-0.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file tg_signer-0.2.0.tar.gz.

File metadata

  • Download URL: tg_signer-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for tg_signer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9ce1d4c04a3ebf68975ab449aad155cfb0352dccdb3beac7cdd1eb23d6267b26
MD5 6ef5ab6d96829f87a2c5defc1d456ec9
BLAKE2b-256 37ae04975f155daea937deec57249f1dfc270b6f66f4f8c53c64726c418b0cb2

See more details on using hashes here.

Provenance

File details

Details for the file tg_signer-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tg_signer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for tg_signer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb240112d9422807b5a3b2aa51e0397cf7b62061ee146bda5c2cc40995b85bea
MD5 006a7fa0968c4959c23564b98bc7e6a9
BLAKE2b-256 2d9e7bae7ae8413b849b1450798f5950d2415dcb5e988acaaa6c4c73891d0423

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page