文章目录 close
  1. 1. 使用说明
  2. 2. 类似软件
在GitHub Contributions上画像素画
2016-05-14 / 2016-12-18
分类:

只需要用 gh-contributions 设置好要画的图案,然后它就能生成一个 repo ,上传这个 repo 就能看到效果了。

使用说明

直接按照 gh-contributions 作者说的做就可以了。

我在 windows 下使用的时候出乱码提示,不懂 node-js ,所以也没找到原因所在。

然后改用 ubuntu 本地安装 gh-contributions

1
2
3
4
$ git clone https://github.com/IonicaBizau/github-contributions.git
$ cd github-contributions
$ npm i
$ npm start

但是在 npm start 这一步的时候报错

1
2
3
4
> gh-contributions@3.0.1 start /home/huiyadanli/soft/github-contributions
> node ./lib/server.js
sh: 1: node: not found

一番搜索以后发现 node 命令被更名为 nodejs ,使用这条命令

1
nodejs lib/server.js

手动启动就可以使用了。(貌似安装 nodejs-legacy 就不会出现这个问题了)

成功启动后,打开 localhost:9000 尽情的作画吧

Contributions

画完后点击 Generate repository from data 就会自动生成一个 repo,上传就能看到效果了。

Contributions

类似软件

  • gitfiti 这个是 Python 写的,没有用过
  • Git Draw 最近刚刚发现的,一个 Chrome 插件