如何做一个炫酷的Github个人简介(3DContribution)

文章目录


前言

最近放假了,毕设目前也不太想做,先搞一点小玩意玩玩,让自己的github看起来好看点。也顺便学学这个action是怎么个事。

3D-Contrib

先给大家看一下效果

我的个人主页:https://github.com/MengFanjun020906/MengFanjun020906

原仓库链接:https://github.com/yoshi389111/github-profile-3d-contrib

PS:不要在意我这个少得可怜的contributions

要做这样一个效果,就需要用到github的action,之前一直没用过,今天才知道是干啥用的。

第一步

在你的个人仓库下找到Actions

第二步

点击New workflow

第三步

创建一个新的文件,名为profile-3d.yml

第四步

文件输入这些信息,替换你自己的名字即可

bash 复制代码
name: GitHub-Profile-3D-Contrib

on:
  schedule: # 03:00 JST == 18:00 UTC
    - cron: "0 18 * * *"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: generate-github-profile-3d-contrib
    steps:
      - uses: actions/checkout@v3
      - uses: yoshi389111/github-profile-3d-contrib@0.7.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          USERNAME: 你自己的名字
      - name: Commit & Push
        run: |
          git config user.name github-actions
          git config user.email github-actions@github.com
          git add -A .
          git diff --staged --exit-code || (git commit -m "generated" && git push)

保存

第五步

在Action下运行这一action

第六步

在你的README.md中添加

bash 复制代码
![Personal 3D Metrics](./profile-3d-contrib/profile-night-green.svg)

当然,他会创建一个文件夹,你也可以自己选择。

添加到README中就能看到了。

相关推荐
wangruofeng12 小时前
7.1 万 Star 的 MinerU,把 PDF 变成 LLM 能读懂的 Markdown
github
wangruofeng12 小时前
75k Star 的 OCR 传奇——Tesseract 的 40 年,从 HP 实验室到 LSTM 神经网络
github
逛逛GitHub15 小时前
又挖到 3 个不错的 GitHub 项目,尤其是第 2 个。
github
逛逛GitHub15 小时前
GitHub 上 13 万星的爬虫神器,不要 API Key 就能用了。
github
一点一木1 天前
🚀 2026 年 6 月 GitHub 十大热门项目排行榜 🔥
人工智能·github
OpenTiny社区2 天前
从零开发 AI 聊天页要两周?试试这款 Vue3 垂直对话组件库 TinyRobot,直接开箱即用
前端·vue.js·github
逛逛GitHub2 天前
2 万多 Star!Google 开源了这个神级 GitHub 项目。
github
逛逛GitHub2 天前
免费 Token 烧掉 5 万亿之后,他们出了个一站式创作平台。
github
用户805533698032 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
inhere2 天前
eget:不用等中央仓库,直接安装 GitHub 和任意下载站的工具
程序员·开源·github