English
A GitHub link parsing module for ErisPulse. When a message contains a github.com link, it automatically parses the link and replies with a card image rendered by ErisPulse-Takumi. If Takumi is unavailable or the platform does not support images, it falls back to plain text.
What it parses
| Link | Output |
|---|---|
github.com/<user> |
User card |
github.com/<owner>/<repo> |
Repository card |
github.com/<owner>/<repo>/issues/<n> |
Issue card (with latest comments) |
github.com/<owner>/<repo>/pull/<n> |
PR card (with latest comments) |
github.com/<owner>/<repo>/commits |
Recent commits card |
Extra cards via commands: contribution heatmap (/gh heat), language pie (/gh langs).
Screenshots
Install
epsdk install GitHubParser
epsdk install Takumi # optional, image rendering; without it → text only
Commands
| Command | Description |
|---|---|
/gh |
Status + help |
/gh on / /gh off |
Toggle passive parsing |
/gh image on / /gh image off |
Toggle image output |
/gh rate |
GitHub API quota |
/gh heat <user> |
Contribution heatmap |
/gh langs <owner>/<repo> |
Language pie chart |
Config
Auto-generated on first load:
[GitHubParser]
token = "" # GitHub token (optional; 5000/h instead of 60/h)
theme = "auto" # auto / light / dark
auto_parse = true # passive parsing
image_enabled = true # image output
issue_comments = true # comments on Issue/PR cards
HTTP API
GET /GitHubParser/card?url=<link> returns the card image (PNG) for a link.
简体中文
ErisPulse 的 GitHub 链接解析模块。消息里出现 github.com 链接时,自动解析并回复一张由 ErisPulse-Takumi 渲染的卡片图片;Takumi 不可用或平台不支持图片时,自动降级为纯文本。
能解析什么
| 链接 | 输出 |
|---|---|
github.com/<用户> |
用户卡片 |
github.com/<o>/<r> |
仓库卡片 |
github.com/<o>/<r>/issues/<n> |
Issue 卡片(带最新评论) |
github.com/<o>/<r>/pull/<n> |
PR 卡片(带最新评论) |
github.com/<o>/<r>/commits |
最近提交卡片 |
另有两个命令触发额外卡片:贡献热力图(/gh heat)、语言占比饼图(/gh langs)。
截图
安装
epsdk install GitHubParser
epsdk install Takumi # 可选,图片渲染;不装则纯文本
命令
| 命令 | 说明 |
|---|---|
/gh |
状态 + 帮助 |
/gh on / /gh off |
开关被动解析 |
/gh image on / /gh image off |
开关图片输出 |
/gh rate |
查 GitHub API 余额 |
/gh heat <用户名> |
贡献热力图 |
/gh langs <o>/<r> |
语言占比饼图 |
配置
首次加载自动生成,按需修改:
[GitHubParser]
token = "" # GitHub Token(可选,5000/h 替代 60/h)
theme = "auto" # auto / light / dark
auto_parse = true # 被动解析
image_enabled = true # 图片输出
issue_comments = true # Issue/PR 卡片带评论
HTTP API
GET /GitHubParser/card?url=<链接> 返回该链接对应的卡片图片(PNG)。
Related · ErisPulse · ErisPulse-Takumi · Issues
Metadata
Release files for ErisPulse-GitHubParser 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| erispulse_githubparser-3.0.0.tar.gz | 26.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| erispulse_githubparser-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.1 kB
Release files / erispulse_githubparser-3.0.0.tar.gz
| Download URL | erispulse_githubparser-3.0.0.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69258c44a0d3a3bf0fbf298f1d80ce502cddc96ce5b6127ca006724dd86e596f
|
|
BLAKE2b-256 checksum How to use checksums |
399a733de69cad83b037149cbae7bf54fa10441ba19194dd155f387de05b4184
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logRelease files / erispulse_githubparser-3.0.0-py3-none-any.whl
| Download URL | erispulse_githubparser-3.0.0-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b5724a2664575f7b4f19b1f22b4d3dafab456de9726e0bd39c6f69bfc312e97
|
|
BLAKE2b-256 checksum How to use checksums |
fdb150ebd965701ffd53ea42ed574c1b46b292b42517254a3c9b49568504d4aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency log