一款在线展示个人 Github 信息的单页应用 Gitfolio-online

2020-07-28 09:33:38 +08:00
 wangningkai

Gitfolio-online

介绍

Gitfolio 将帮助你组建一个可以展示 Github 成果的网站.

点击这里查看演示 live demo.

特性

项目地址

gitfolio-online

Getting Started

复制下面内容在浏览器打开!

修改 username 为你的 GitHub's 用户名.

https://gitfolio-online.vercel.app/user/{username}?theme={theme}&includeFork={includeFork}&cache_seconds={cache_seconds}
https://gitfolio-online.vercel.app/u/{username}?theme={theme}&includeFork={includeFork}&cache_seconds={cache_seconds}

主题

使用 ?theme=THEME_NAME 参数像这样 :-

https://gitfolio-online.vercel.app/u/{username}?theme=dark/light

引入 Forks 仓库

使用 ?includeFork=true/false 参数选择是否显示 Forks 仓库

https://gitfolio-online.vercel.app/u/{username}?includeFork=true/false

参数

你可以通过以下参数自定义显示内容

| Option | type | description | default | | ------------- | ------ | ------------------------------------ | ------------- | | username | string | set username | 'wangningkai' | | theme | string | sets inbuilt theme | 'dark' | | cache_seconds | number | manually set custom cache control | 1800 | | includeFork | bool | select whether to display fork repos | false |

部署到 Vercel 实例

因为 GitHub 的 API 每个小时只允许 5 千次请求,我的 https://gitfolio-online.vercel.app/api 很有可能会触发限制 如果你将其托管在自己的 Vercel 服务器上,那么你就不必为此担心。点击 deploy 按钮来开始你的部署!

问题反馈

进行任何操作前请先阅读 《提问的智慧》

当前获取帮助有三种方式:

  1. 通过 GitHub issue 提交问题(仅限问题反馈)
  2. 通过 个人博客 评论留言
  3. 通过个人邮箱联系 i@ningkai.wang

:sparkling_heart: 支持这个项目

我尽己所能地进行开源,并且我尽量回复每个在使用项目时需要帮助的人。很明显,这需要时间,但你可以免费享受这些。

然而, 如果你正在使用这个项目并感觉良好,或只是想要支持我继续开发,你可以通过如下方式:

谢谢! :heart:

License


欢迎贡献哦! <3

Made with ❤️ and JavaScript.

1948 次点击
所在节点    程序员
5 条回复
leimao
2020-07-28 10:10:18 +08:00
是不是给 GitHub 首页加了层皮? XD
lambortao
2020-07-28 10:19:01 +08:00
glaucus
2020-07-28 10:21:17 +08:00
为什么效果图和 demo 感觉差很多。。。
wangningkai
2020-07-28 16:08:05 +08:00
@glaucus 这个背景有差 其他差别不大
lambdaq
2021-12-10 13:26:34 +08:00
@wangningkai 你的 scriptable.ningkai.wang 出圈了。。车友群里火得一塌糊涂

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/693638

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX