diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0087a0b..322b02c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,6 +17,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + cache: 'npm' + cache-dependency-path: 'package-lock.json' - name: Setup Hugo uses: peaceiris/actions-hugo@v3 diff --git a/README.md b/README.md index 3071b2f..a22c112 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,16 @@ A book about identity as a service (IDaaS). -一本关于身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件,记录使用中遇到的问题和解决方案。 +一本关于 IDaaS 身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件,记录使用中遇到的问题和解决方案,让 IDaaS 领域相关的问题更容易理解。 + +## 前言 + +为什么写这本书,因为大佬的世界和普通人是割裂的,有人讲协议,有人讲实现,有人讲未来的实现,普通人很难理解。 + +为什么叫 Book,和我以往的博客体系有什么区别,因为我想系统性的总结关于此类的问题和实践经验,从原理到实践应该是体系化的。 + +本项目的主语言是中文,因为英文已经被人写了一个遍了,实在是没法超越,不如老老实实的承认人家写的好,咱只是翻译。 +如果你在搜索 keycloak 中文、CAS 中文、oauth2 中文,可能会进入本项目,如果不幸这里没有你想要的内容,请提交 issue 或 PR。 ## 贡献者指南 @@ -26,21 +35,10 @@ npm run create blog/k8s.md npm run build ``` -如果文章中包含图片,提交 Git 前推荐使用 [pngquant][] 先进行无损压缩。 - -```bash -# 选择自己的文件夹 -for file in $(ls *.png) -do - pngquant $file --force --output $file -done -``` - ## License 本文档采用 [CC BY-NC 4.0][] 许可协议。 [Hugo]: https://gohugo.io/ [Doks]: https://github.com/thuliteio/doks -[pngquant]: https://pngquant.org/ [CC BY-NC 4.0]: https://creativecommons.org/licenses/by-nc/4.0/ diff --git a/content/_index.md b/content/_index.md index e475fc4..a2c1799 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,7 +1,7 @@ --- title: "IDaaS Book" description: "一本关于身份即服务的书" -lead: "一本关于身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件" +lead: "一本关于身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件,记录使用中遇到的问题和解决方案,让 IDaaS 领域相关的问题更容易理解。" date: 2023-09-07T16:33:54+02:00 lastmod: 2023-09-07T16:33:54+02:00 draft: false @@ -14,4 +14,4 @@ seo: A book about identity as a service (IDaaS). -一本关于身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件,记录使用中遇到的问题和解决方案。 +一本关于身份即服务的书,翻译和汇总 IAM、IDaaS、OAuth2 等相关专业知识,介绍相关的 keycloak、CAS、Dex 等软件,记录使用中遇到的问题和解决方案,让 IDaaS 领域相关的问题更容易理解。 diff --git a/hugo_stats.json b/hugo_stats.json index eb88768..b8c4293 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -48,6 +48,7 @@ "classes": [ "active", "anchor", + "bg-dots", "bg-light", "blog", "btn", @@ -107,6 +108,7 @@ "footer", "frame", "h-auto", + "h4", "header", "highlight", "home", @@ -116,14 +118,19 @@ "icon-tabler-arrow-right", "icon-tabler-brand-github", "icon-tabler-dots-vertical", + "icon-tabler-git-fork", + "icon-tabler-hand-move", "icon-tabler-menu", "icon-tabler-moon", + "icon-tabler-star-half-filled", "icon-tabler-sun", "icon-tabler-x", + "icons-tabler-outline", "is-terminal", "justify-content-between", "justify-content-center", "justify-content-end", + "justify-content-start", "last-modified", "lead", "list", @@ -171,6 +178,7 @@ "rounded-pill", "row", "section", + "section-features", "section-md", "section-nav", "single", diff --git a/layouts/index.html b/layouts/index.html index 93cec7c..af9032b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,6 +17,57 @@

{{ .Title }}

{{ end }} + +{{ define "sidebar-prefooter" }} +
+
+
+
+
+
+
+

OAuth2

+

OAuth2相关协议翻译解释,核心流程拆解。

+ +
+
+

Keycloak

+

Keycloak中文安装使用部署文档、API和IaC开发对接文档,遇见问题以及解决方案。

+ +
+
+

oauth2-proxy

+

oauth2-proxy代理一些需要Auth的服务,简化认证流程,一键接入。

+ +
+
+

技术博客

+

研发踩坑记录,翻一翻总有惊喜。

+

Blog

+
+
+

Awesome

+

一些关于 AIOps、DataOps、DevOps、GitOps、FinOps 的优秀软件、博客、配套工具。

+ + + +
+
+

庄周吃鱼

+

利用 AI、大数据、云计算、区块链等技术,解决 X 条件下如何选择 Y 的问题。

+ + + +
+
+
+
+{{ end }} + {{ define "sidebar-footer" }}