如何做一个炫酷的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中就能看到了。

相关推荐
bu_shuo2 小时前
计算机二级学习-软件工程基础
学习·软件工程
Agent治理法学2 小时前
我开源了一套 AI Agent 框架:有性格、有规则、还会自己造工具
node.js·github
worilb2 小时前
Spring Cloud 学习与实践(15):使用 TraceId 与 MDC 串联微服务日志
学习·spring cloud·微服务
AI袋鼠帝2 小时前
开源WorkBuddy蓝皮书!从0到100最系统Agent实战指南~【建议收藏】
github·aigc
智脑API平台2 小时前
Codex Cloud 任务怎么用?GitHub 仓库、PR 审查和远程开发流程
github·codex·pr 审查
剑藏锋2 小时前
嵌入式学习(46)-基于STM32F407Hal库的DMA乒乓缓存机制
stm32·单片机·学习
笨鸟先飞的橘猫2 小时前
skynet——网络模块学习
网络·学习·skynet
STDD2 小时前
n8n 实战工作流模板:GitHub→飞书通知、定时爬虫→数据库、Webhook→多渠道推送
爬虫·github·飞书
xd1855785553 小时前
鸿蒙PC平台Flutter魔术教学应用开发实践:打造跨端沉浸式魔术学习体验
人工智能·学习·flutter·华为·harmonyos·鸿蒙
Linging_243 小时前
基于Langchain得AI Agent相关知识学习
人工智能·学习·langchain