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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erispulse_githubparser-3.0.0.tar.gz.
File metadata
- Download URL: erispulse_githubparser-3.0.0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69258c44a0d3a3bf0fbf298f1d80ce502cddc96ce5b6127ca006724dd86e596f
|
|
| MD5 |
d92d6292be9216676013f225799efeeb
|
|
| BLAKE2b-256 |
399a733de69cad83b037149cbae7bf54fa10441ba19194dd155f387de05b4184
|
Provenance
The following attestation bundles were made for erispulse_githubparser-3.0.0.tar.gz:
Publisher:
python-publish.yml on wsu2059q/ErisPulse-GitHubParser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_githubparser-3.0.0.tar.gz -
Subject digest:
69258c44a0d3a3bf0fbf298f1d80ce502cddc96ce5b6127ca006724dd86e596f - Sigstore transparency entry: 2340752067
- Sigstore integration time:
-
Permalink:
wsu2059q/ErisPulse-GitHubParser@b51eecd9067304e4da559f210b9339b473132a3b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wsu2059q
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b51eecd9067304e4da559f210b9339b473132a3b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file erispulse_githubparser-3.0.0-py3-none-any.whl.
File metadata
- Download URL: erispulse_githubparser-3.0.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b5724a2664575f7b4f19b1f22b4d3dafab456de9726e0bd39c6f69bfc312e97
|
|
| MD5 |
d4772825cbef040b4d6372a5d9ef8908
|
|
| BLAKE2b-256 |
fdb150ebd965701ffd53ea42ed574c1b46b292b42517254a3c9b49568504d4aa
|
Provenance
The following attestation bundles were made for erispulse_githubparser-3.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on wsu2059q/ErisPulse-GitHubParser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_githubparser-3.0.0-py3-none-any.whl -
Subject digest:
2b5724a2664575f7b4f19b1f22b4d3dafab456de9726e0bd39c6f69bfc312e97 - Sigstore transparency entry: 2340752222
- Sigstore integration time:
-
Permalink:
wsu2059q/ErisPulse-GitHubParser@b51eecd9067304e4da559f210b9339b473132a3b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wsu2059q
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b51eecd9067304e4da559f210b9339b473132a3b -
Trigger Event:
workflow_dispatch
-
Statement type: