{"id":23031138,"url":"https://github.com/tinyfunction/blogs","last_synced_at":"2025-08-14T15:31:27.224Z","repository":{"id":264162855,"uuid":"892551596","full_name":"TinyFunction/blogs","owner":"TinyFunction","description":"TinyFunction's Blogs","archived":false,"fork":false,"pushed_at":"2024-12-10T06:00:52.000Z","size":11083,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-10T07:17:55.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tinyfun.club/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TinyFunction.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-22T10:29:09.000Z","updated_at":"2024-12-10T06:00:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"69c5c51d-ef4d-4ce5-901b-2ed929115f02","html_url":"https://github.com/TinyFunction/blogs","commit_stats":null,"previous_names":["tinyfunction/blogs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyFunction%2Fblogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyFunction%2Fblogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyFunction%2Fblogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyFunction%2Fblogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TinyFunction","download_url":"https://codeload.github.com/TinyFunction/blogs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229839005,"owners_count":18132277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T15:34:21.788Z","updated_at":"2024-12-15T15:34:22.429Z","avatar_url":"https://github.com/TinyFunction.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyFunction Blogs\n\n## 编写博客\n\n在 blog 目录下直接新增 `xxxx.md` 文件；或者新增 `xxxx` 目录，然后在 `xxxx` 目录中新增 `index.md` 文件。\n\n前者适用于短小的，无附件的博客文章。后者适用于复杂的，带图片或其他附件的博客文章。\n\n### 添加或修改作者信息\n\n修改 `/blog/authors.yml` 文件即可。\n\n如：\n\n```yml\nwjc133:\n  name: wjc133   # 展示昵称\n  title: Back-end Engineer @ SHOPLINE  # 副标题\n  url: https://github.com/wjc133   # 点击头像后的跳转链接\n  image_url: https://github.com/wjc133.png   # 头像\n  page: true\n  socials:   # 社交媒体信息，支持github、facebook、x等\n    github: wjc133\n```\n\n### 添加或修改标签\n\n修改 `/blog/tags.yml` 文件即可。\n\n如：\n\n```yml\nio: # tag的内部id\n  label: I/O  # tag的展示名称\n  permalink: /io  # tag的链接，要求唯一\n  description: I/O related technologies  # tag的描述\n```\n\n### 博客文章的 front-matter\n\n在博客 md 文件的最前面通常有一串用横线隔开的非标准Markdown格式。这种拓展格式为front-matter。\n\n```\n---\nslug: computer-arch  # url 资源标识，要求唯一\ntitle: 计算机架构     # 博客标题\nauthors: [wjc133]   # 博客作者列表，英文逗号分割\ntags: [others]      # 博客标签列表\nhide_comment        # 是否隐藏评论\n---\n```\n\n## 本地调试\n\n确保本地安装了 node v20.0 以上版本。推荐使用 yarn 或 pnpm。\n\n```bash\n$ yarn\n$ yarn start\n```\n\n## CI/CD\n\n本项目已经配置了 Github Actions。\n\n项目提交或合并到 `main` 分支时，会自动触发构建。构建成功后，访问 `https://tinyfun.club` 查看效果。\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyfunction%2Fblogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinyfunction%2Fblogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyfunction%2Fblogs/lists"}