Skip to content

Github Profile

Github Profile 是 Github 网站的个人主页。GitHub 早在 2020 年就推出自定义首页的功能,以下是自定义 Github 个人主页的教程。

以下是我的主页截图:

github-profile

新建仓库

  1. Github 上新建一个仓库,仓库名必须与 Github 账号名一致。
  2. 仓库可见性设置为 Public ,并且勾上 Add a README file 选项。
  3. 创建完成后会自动跳转到仓库中,点击右上绿色的编辑按钮(Edit README),或者灰色小铅笔图标,开始正式编辑首页文件。

编辑 README.md

Readme Typing SVG

使用链接来加载一个 SVG 可以轻松的自定义打字效果,以下是其可自定义的参数:

ParameterDetailsTypeExample
linesText to display with lines separated by ; and + for spacesstringFirst+line;Second+line;Third+line
heightHeight of the output SVG in pixels (default: 50)integerAny positive number
widthWidth of the output SVG in pixels (default: 400)integerAny positive number
sizeFont size in pixels (default: 20)integerAny positive number
fontFont family (default: monospace)stringAny font from Google Fonts
colorColor of the text (default: 36BCF7)stringHex code without # (eg. F724A9)
backgroundBackground color of the text (default: 00000000)stringHex code without # (eg. FEFF4C)
centertrue to center text or false for left aligned (default: false)booleantrue or false
vCentertrue to center vertically or false(default) to align above the centerbooleantrue or false
multilinetrue to wrap lines or false to retype on one line (default: false)booleantrue or false
durationDuration of the printing of a single line in milliseconds (default: 5000)integerAny positive number
pauseDuration of the pause between lines in milliseconds (default: 0)integerAny non-negative number
repeattrue to loop around to the first line after the last (default: true)booleantrue or false
separatorSeparator used between lines in the lines parameter (default: ;)string;, ;;, /, etc.

Shields.io

徽标路径参数如下:

ParameterDetailsTypeExample
badgeContentLabel, (optional) message, and color. Separated by dashesstringbuild-passing-brightgreen

徽标查询参数如下:

ParameterDetailsTypeExample
stylestring
logostring
logoColorstring
labelstring
labelColorstring
colorstring
cacheSecondsstring
linkstring[]

GitHub Readme Stats

我的 README.md 文件的内容:

markdown
<h3 align="center">
  <a href="https://readme-typing-svg.herokuapp.com/">
    <img src="https://readme-typing-svg.herokuapp.com/?lines=Hi,+There!+👋;Pleasure+to+see+you!🎉&font=Fira+Code&center=true&weight=600&color=539bf5&size=24">
  </a>
</h3>

<p align="center">
  <img src="https://img.shields.io/badge/-Git-000000?logo=git&logoColor=F05032" alt="Git" />
  <img src="https://img.shields.io/badge/-Javascript-F7DF1E?logo=javascript&logoColor=black" alt="Javascript" />
  <img src="https://img.shields.io/badge/-Visual Studio Code-2c2c32?logo=visualstudiocode&logoColor=007ACC" alt="Visual Studio Code" />
  <img src="https://img.shields.io/badge/-Vue.js-34495e?logo=vuedotjs&logoColor=4FC08D" alt="Vue.js" />
  <img src="https://img.shields.io/badge/-Webpack-2b3a42?logo=webpack&logoColor=8DD6F9" alt="Webpack" />
  <a href="https://github.com/io-oti/io-oti">
    <img src="https://komarev.com/ghpvc/?username=io-oti" alt="Profile views" />
  </a>
</p>

<hr>

<!-- Me -->
<h3>👨‍💻 Me</h3>

<p align="center">
  <a href="https://io-oti.github.io/">
    <img src="https://img.shields.io/badge/-Github Pages-ffffff?logo=githubpages&logoColor=222222&style=for-the-badge" alt="Github Pages" />
  </a>
  <a href="https://codepen.io/io_oti/">
    <img src="https://img.shields.io/badge/-Codepen-ffffff?logo=codepen&logoColor=000000&style=for-the-badge" alt="Codepen" />
  </a>
</p>

<hr>

<!-- Stats -->
<h3>📈 Stats</h3>

<p align=center>
  <a href="https://github.com/Ashutosh00710/github-readme-activity-graph">
    <img
      src="https://github-readme-activity-graph.vercel.app/graph?username=io-oti&theme=tokyo-night&color=539bf5&line=539bf5&bg_color=20232a&hide_border=true" />
  </a>
  <div align=center>
    <a href="https://github.com/anuraghazra/github-readme-stats">
      <img align="left" height=160
        src="https://github-readme-stats.vercel.app/api?username=io-oti&theme=blue_navy&title_color=539bf5&text_color=539bf5&bg_color=20232a&hide_border=true" />
    </a>
    <a href="https://github.com/anuraghazra/github-readme-stats">
      <img align="right" height=160
        src="https://github-readme-stats.vercel.app/api/top-langs/?username=io-oti&theme=blue_navy&title_color=539bf5&text_color=539bf5&bg_color=20232a&langs_count=3&hide_border=true&size_weight=0.5&count_weight=0.5" />
    </a>
  </div>
</p>