Skip to content

Commit

Permalink
增加英文版本
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Jan 14, 2024
1 parent 78d7ac1 commit 9311e79
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- name: Update readme
- name: generat chinaese readme
uses: eryajf/yaml-readme@master
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
pattern: 'items/*/*.yaml'
template: 'template/README.tpl'
output: 'README.md'
username: eryajf
org: eryajf
repo: awesome-ops
sortby: '!zh'
groupby: kind
header: false
header: false
- name: generat english readme
uses: eryajf/yaml-readme@master
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
pattern: 'items/*/*.yaml'
username: eryajf
org: eryajf
repo: awesome-ops
sortby: '!zh'
groupby: kind
header: false
template: 'template/README-en.tpl'
output: 'README-en.md'
42 changes: 42 additions & 0 deletions template/README-en.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
English | [简体中文](README.md)

<div align="center">
<h1>Awesome Ops</h1>

<p>🧰 Record every excellent project related to operation and maintenance, The table in the project is generated based on GitHub Action. 🧰</p>

[![Awesome](https://awesome.re/badge.svg)](https://awesome.re)
[![Auth](https://img.shields.io/badge/Auth-eryajf-ff69b4)](https://github.com/eryajf)
[![GitHub contributors](https://img.shields.io/github/contributors/eryajf/awesome-ops)](https://github.com/eryajf/awesome-ops/graphs/contributors)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/eryajf/awesome-ops)](https://github.com/eryajf/awesome-ops/pulls)
[![GitHub Pull Requests](https://img.shields.io/github/stars/eryajf/awesome-ops)](https://github.com/eryajf/awesome-ops/stargazers)
[![HitCount](https://views.whatilearened.today/views/github/eryajf/awesome-ops.svg)](https://github.com/eryajf/awesome-ops)
[![GitHub license](https://img.shields.io/github/license/eryajf/awesome-ops)](https://github.com/eryajf/awesome-ops/blob/main/LICENSE)
[![](https://img.shields.io/badge/Awesome-MyStarList-c780fa?logo=Awesome-Lists)](https://github.com/eryajf/awesome-stars-eryajf#readme)

</div>

The field of operations and maintenance is vast, with many pioneers in each specific category who have turned their efforts into open-source projects. This project aims to compile such projects into a collection.

Whether you are in the field of operations and maintenance or any other technical field, this carefully curated and categorized collection of projects will be your treasure trove.

We warmly welcome friends to share their own projects or recommend excellent projects. Before contributing, please read the [PR Contribution Guidelines](./CONTRIBUTING.md).

Special welcome to all friends to surf, learn, reference in the project list. When someone's project is helpful to you, please remember to give the project a star ⭐️. By the way, give this project a star ⭐️.

📢 If you plan to apply it in your production environment, please evaluate the selection based on the project's open source license, star count, last update time and other factors.

🧐 Divided into {{lenGroupNum}} categories. 📥 Includes {{lenItemNum}} entries.

{{- range $key, $val := .}}

## {{$key}}

📥 This category contains {{len .}} items.

| Repository | License | Star |CreatedAt | UpdatedAt | Description |
|:-:|:-:|:-:|:-:|:-:|:-:|
{{- range $item := $val}}
| [{{$item.owner}}/{{$item.repo}}](https://github.com/{{$item.owner}}/{{$item.repo}}) | {{ghLicense $item.owner $item.repo}} | {{ghStar $item.owner $item.repo}} | {{ghCreate $item.owner $item.repo}} | {{ghUpdate $item.owner $item.repo}} | {{$item.desc}} |
{{- end}}
{{end}}
4 changes: 3 additions & 1 deletion README.tpl → template/README.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[English](./README-en.md) | 简体中文

<div align="center">
<h1>Awesome Ops</h1>

<p>🧰 记录每一个与运维相关的优秀项目 🧰</p>
<p>🧰 记录每一个与运维相关的优秀项目,项目内表格基于 GitHub Action 生成 🧰</p>

[![Awesome](https://awesome.re/badge.svg)](https://awesome.re)
[![Auth](https://img.shields.io/badge/Auth-eryajf-ff69b4)](https://github.com/eryajf)
Expand Down

0 comments on commit 9311e79

Please sign in to comment.