Skip to content

yuyinws/CoHub

Repository files navigation

CoHub

CoHub 是一个 GitHub 双用户关系图谱网站。用户输入两个 GitHub 用户名后,系统通过服务端代理查询公开 GitHub 数据,并渐进生成组织、兴趣、贡献和技术栈关系图谱。

Setup

pnpm install

Environment

本地开发需要配置 GitHub token:

GITHUB_TOKEN=github_pat_xxx

Token 只用于服务端请求 GitHub API,不会进入浏览器。

Development

pnpm dev

Verification

pnpm test
pnpm lint
pnpm typecheck
pnpm build

Deployment

部署目标是 Cloudflare Pages / Workers。生产环境需要在 Cloudflare 中配置 GITHUB_TOKEN,并为 Nitro cache 绑定稳定存储,例如 Cloudflare KV。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors