本地快速浏览 Github issue/pr,查看新增 comment/issue/pr/response
Project description
local-github
本地快速浏览 Github issue/pr,查看新增 comment/issue/pr/response
Quick start
python -m local_github.main luzhixing12345/zood
命令会读取项目根目录 .github-token,从 GitHub API 同步仓库 Issue / PR 数据到 data/github/,然后生成 docs/ 静态页面。
生成结果采用少量 HTML 页面加数据分片:
docs/index.html:仓库入口。docs/repos/<owner>/<repo>/issues.html:Issue 列表和详情页面壳。docs/repos/<owner>/<repo>/pulls.html:PR 列表和详情页面壳。docs/repos/<owner>/<repo>/data/*.json:原始数据分片。docs/repos/<owner>/<repo>/data/*.js:用于直接file://打开的按需加载数据分片。
Issue / PR 详情通过单页路由显示,不额外生成详情 HTML。例如:
docs/repos/luzhixing12345/zood/issues.html#/issue/22
docs/repos/luzhixing12345/zood/pulls.html#/pull/1
生成后直接打开:
docs/index.html
也可以分步执行:
python -m local_github.main sync luzhixing12345/zood
python -m local_github.main build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
local_github-0.1.1.tar.gz
(19.6 kB
view details)
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 local_github-0.1.1.tar.gz.
File metadata
- Download URL: local_github-0.1.1.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.4 Linux/6.6.0vtism+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ef6d247e2ede2724befb64122482ad5c7368e0602918f95193806357620010f
|
|
| MD5 |
8f252ce8862644c50eeea8b6d415a419
|
|
| BLAKE2b-256 |
4ca7f9bfed058732f87e57c949d39ec39a500af3621523f05f8a71ef622db61f
|
File details
Details for the file local_github-0.1.1-py3-none-any.whl.
File metadata
- Download URL: local_github-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.4 Linux/6.6.0vtism+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73e4a43c31683b478d7ab74db83161aff3da3d7db3c6e52587c281dbfc2dea1
|
|
| MD5 |
788e44a8c4a337c5381c7906b5a41d2c
|
|
| BLAKE2b-256 |
f7e35c2a45da63e12b185815d34ccc4211e45e255e2022a1bf5ca6eff763f23b
|