From a662bc8e0a88037921073c1761a660d3dcb7d1dd Mon Sep 17 00:00:00 2001 From: FNS Service Date: Tue, 21 Apr 2026 22:37:42 +0800 Subject: [PATCH] Update from Sync Service --- 导航网站/config/_default/pages/articles.yml | 43 ++++ 导航网站/config/_default/pages/bookmarks.yml | 251 +++++++++++++++++++ 导航网站/config/_default/pages/common.yml | 143 +++++++++++ 导航网站/config/_default/pages/content.yml | 12 + 导航网站/config/_default/pages/projects.yml | 33 +++ 导航网站/config/_default/site.yml | 126 ++++++++++ 6 files changed, 608 insertions(+) create mode 100755 导航网站/config/_default/pages/articles.yml create mode 100755 导航网站/config/_default/pages/bookmarks.yml create mode 100755 导航网站/config/_default/pages/common.yml create mode 100755 导航网站/config/_default/pages/content.yml create mode 100755 导航网站/config/_default/pages/projects.yml create mode 100755 导航网站/config/_default/site.yml diff --git a/导航网站/config/_default/pages/articles.yml b/导航网站/config/_default/pages/articles.yml new file mode 100755 index 0000000..de15291 --- /dev/null +++ b/导航网站/config/_default/pages/articles.yml @@ -0,0 +1,43 @@ +# 默认页面配置(请勿直接修改)。 +# 建议复制到 config/user/pages/articles.yml 并按需调整。 +title: 技术文章 # 页面标题 +subtitle: RSS 聚合文章列表 # 页面副标题 + +# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs) +template: articles + +# 当存在 RSS 缓存时,页面将优先渲染“文章条目卡片”(只读)。 +# - 本处的站点列表作为“来源站点”输入(url 填站点首页) +# - 显示时会将“该分类下配置的站点”抓取到的文章聚合展示在该分类下 +# 重要:url 应填写“站点首页 URL”(不是某一篇文章链接),系统会自动发现 RSS/Atom。 +categories: + - name: 个人博客 + icon: fas fa-rss + sites: + - name: 阮一峰的网络日志 + icon: fas fa-pen + description: 技术文章与随笔 + url: https://www.ruanyifeng.com/blog/ + - name: Coolzr's Blog + icon: fas fa-pen + description: 偶尔会写点什么 + url: https://blog.rzlnb.top/ + - name: 天仙子 + icon: fas fa-pen + description: tianxianzi + url: https://www.tianxianzi.me/ + - name: pseudoyu + icon: fas fa-pen + description: pseudoyu + url: https://www.pseudoyu.com/ + - name: 官方博客 + icon: fas fa-rss + sites: + - name: GitHub Blog + icon: fab fa-github + description: GitHub 官方博客(工程/产品/安全) + url: https://github.blog/ + - name: Cloudflare Blog + icon: fas fa-cloud + description: Cloudflare 工程与安全博客 + url: https://blog.cloudflare.com/ diff --git a/导航网站/config/_default/pages/bookmarks.yml b/导航网站/config/_default/pages/bookmarks.yml new file mode 100755 index 0000000..23d72be --- /dev/null +++ b/导航网站/config/_default/pages/bookmarks.yml @@ -0,0 +1,251 @@ +# 默认页面配置(请勿直接修改)。 +# 建议复制到 config/user/pages/bookmarks.yml 并按需调整。 +# 说明:该页面通常由“书签导入工具”自动生成,手工修改时请保持字段结构一致。 +title: 书签 +subtitle: bookmarks + +# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs) +# 提示:bookmarks 模板页面标题区会自动显示“内容更新:YYYY-MM-DD(git|mtime)”,无需额外配置 +template: bookmarks + +categories: + - name: '常用网站' + icon: 'fas fa-star' + sites: + - name: 'GitHub' + url: 'https://github.com/' + icon: 'fab fa-github' + description: '代码托管平台' + - name: 'Stack Overflow' + url: 'https://stackoverflow.com/' + icon: 'fab fa-stack-overflow' + description: '程序员问答社区' + - name: 'MDN Web Docs' + url: 'https://developer.mozilla.org/' + icon: 'fas fa-book' + description: 'Web开发文档' + + - name: '社交媒体' + icon: 'fas fa-share-alt' + groups: + - name: '国际平台' + icon: 'fas fa-globe' + sites: + - name: 'Twitter' + url: 'https://twitter.com/' + icon: 'fab fa-twitter' + description: '微博客社交平台' + - name: 'LinkedIn' + url: 'https://www.linkedin.com/' + icon: 'fab fa-linkedin' + description: '职业社交网络' + - name: 'Facebook' + url: 'https://www.facebook.com/' + icon: 'fab fa-facebook' + description: '社交网络服务' + - name: '国内平台' + icon: 'fas fa-map-marker-alt' + sites: + - name: '微博' + url: 'https://weibo.com/' + icon: 'fas fa-comment' + description: '中文社交媒体平台' + - name: '知乎' + url: 'https://www.zhihu.com/' + icon: 'fas fa-question-circle' + description: '中文问答社区' + - name: 'B站' + url: 'https://www.bilibili.com/' + icon: 'fas fa-video' + description: '弹幕视频网站' + + - name: '技术资源' + icon: 'fas fa-laptop-code' + subcategories: + - name: '前端开发' + icon: 'fas fa-code' + groups: + - name: '框架库' + icon: 'fas fa-cube' + sites: + - name: 'React' + url: 'https://reactjs.org/' + icon: 'fab fa-react' + description: 'React官方文档' + - name: 'Vue.js' + url: 'https://vuejs.org/' + icon: 'fab fa-vuejs' + description: 'Vue.js官方文档' + - name: 'Angular' + url: 'https://angular.io/' + icon: 'fab fa-angular' + description: 'Angular官方文档' + - name: '状态管理' + icon: 'fas fa-database' + sites: + - name: 'Redux' + url: 'https://redux.js.org/' + icon: 'fas fa-database' + description: 'Redux状态管理' + - name: 'Vuex' + url: 'https://vuex.vuejs.org/' + icon: 'fas fa-database' + description: 'Vue状态管理' + - name: 'MobX' + url: 'https://mobx.js.org/' + icon: 'fas fa-react' + description: '响应式状态管理' + - name: '构建工具' + icon: 'fas fa-tools' + sites: + - name: 'Webpack' + url: 'https://webpack.js.org/' + icon: 'fas fa-cube' + description: '模块打包工具' + - name: 'Vite' + url: 'https://vitejs.dev/' + icon: 'fas fa-bolt' + description: '下一代前端构建工具' + - name: 'Rollup' + url: 'https://rollupjs.org/' + icon: 'fas fa-compress' + description: '模块打包器' + - name: '后端开发' + icon: 'fas fa-server' + groups: + - name: 'Node.js生态' + icon: 'fab fa-node-js' + sites: + - name: 'Express' + url: 'https://expressjs.com/' + icon: 'fas fa-server' + description: 'Node.js Web框架' + - name: 'Koa' + url: 'https://koajs.com/' + icon: 'fas fa-leaf' + forceIconMode: manual + description: '下一代Node.js框架' + - name: 'NestJS' + url: 'https://nestjs.com/' + icon: 'fas fa-home' + description: 'Node.js企业级框架' + - name: 'Python框架' + icon: 'fab fa-python' + sites: + - name: 'Django' + url: 'https://www.djangoproject.com/' + icon: 'fab fa-python' + description: 'Python Web框架' + - name: 'Flask' + url: 'https://flask.palletsprojects.com/' + icon: 'fas fa-flask' + description: 'Python微框架' + - name: 'FastAPI' + url: 'https://fastapi.tiangolo.com/' + icon: 'fas fa-bolt' + description: '现代Python Web框架' + + - name: '设计资源' + icon: 'fas fa-palette' + subcategories: + - name: 'UI设计工具' + icon: 'fas fa-paint-brush' + groups: + - name: '原型设计' + icon: 'fas fa-drafting-compass' + sites: + - name: 'Figma' + url: 'https://www.figma.com/' + icon: 'fab fa-figma' + description: '协作式UI设计工具' + - name: 'Sketch' + url: 'https://www.sketch.com/' + icon: 'fab fa-sketch' + description: 'Mac平台UI设计工具' + - name: 'Adobe XD' + url: 'https://www.adobe.com/products/xd.html' + icon: 'fab fa-adobe' + description: 'Adobe UI设计工具' + - name: '设计系统' + icon: 'fas fa-th-large' + sites: + - name: 'Ant Design' + url: 'https://ant.design/' + icon: 'fas fa-th' + forceIconMode: manual + description: '企业级UI设计语言' + - name: 'Material Design' + url: 'https://material.io/design' + icon: 'fas fa-cube' + description: 'Google设计系统' + - name: 'Bootstrap' + url: 'https://getbootstrap.com/' + icon: 'fab fa-bootstrap' + description: '响应式CSS框架' + - name: '视觉资源' + icon: 'fas fa-image' + groups: + - name: '图标库' + icon: 'fas fa-icons' + sites: + - name: 'Font Awesome' + url: 'https://fontawesome.com/' + icon: 'fab fa-font-awesome' + description: '图标库' + - name: 'Iconfont' + url: 'https://www.iconfont.cn/' + icon: 'fas fa-icons' + description: '阿里巴巴图标库' + - name: 'Feather Icons' + url: 'https://feathericons.com/' + icon: 'fas fa-feather' + description: '简洁的图标库' + - name: '配色方案' + icon: 'fas fa-palette' + sites: + - name: 'Coolors' + url: 'https://coolors.co/' + icon: 'fas fa-palette' + description: '在线配色方案生成器' + - name: 'Adobe Color' + url: 'https://color.adobe.com/' + icon: 'fab fa-adobe' + description: 'Adobe配色工具' + - name: 'Paletton' + url: 'https://paletton.com/' + icon: 'fas fa-palette' + description: '配色方案设计工具' + + - name: '开发工具' + icon: 'fas fa-tools' + groups: + - name: '代码编辑器' + icon: 'fas fa-code' + sites: + - name: 'Visual Studio Code' + url: 'https://code.visualstudio.com/' + icon: 'fas fa-code' + description: '微软代码编辑器' + - name: 'Sublime Text' + url: 'https://www.sublimetext.com/' + icon: 'fas fa-file-code' + description: '轻量级代码编辑器' + - name: 'WebStorm' + url: 'https://www.jetbrains.com/webstorm/' + icon: 'fab fa-js' + description: 'JetBrains前端IDE' + - name: '版本控制' + icon: 'fas fa-code-branch' + sites: + - name: 'GitHub' + url: 'https://github.com/' + icon: 'fab fa-github' + description: '代码托管平台' + - name: 'GitLab' + url: 'https://gitlab.com/' + icon: 'fab fa-gitlab' + description: 'Git代码管理平台' + - name: 'Bitbucket' + url: 'https://bitbucket.org/' + icon: 'fab fa-bitbucket' + description: 'Atlassian代码托管' diff --git a/导航网站/config/_default/pages/common.yml b/导航网站/config/_default/pages/common.yml new file mode 100755 index 0000000..53da6c3 --- /dev/null +++ b/导航网站/config/_default/pages/common.yml @@ -0,0 +1,143 @@ +# 默认页面配置(请勿直接修改)。 +# 建议复制到 config/user/pages/common.yml 并按需调整。 +title: 常用网站 # 页面标题 +subtitle: Common website # 页面副标题 + +# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs) +# 说明:推荐使用通用模板 page;首页由“导航第一项”决定 +template: page + +# 页面分类与站点列表 +categories: + - name: 置顶 + icon: fas fa-star # 分类图标 + sites: + - name: Linux.do # 站点名称 + url: https://linux.do/ # http/https URL(favicon 模式将尝试加载站点图标) + icon: fab fa-linux # 手动图标:manual 模式使用;favicon 模式下作为回退 + description: 新的理想型社区 # 站点描述 + - name: Menav + url: https://rbetree.github.io/menav + icon: fas fa-star + description: 个人导航站 + faviconUrl: assets/menav.svg + - name: Google + url: https://www.google.com + icon: fab fa-google + description: 全球最大的搜索引擎 + - name: GitHub + url: https://www.github.com + icon: fab fa-github + description: 代码托管平台 + - name: Stack Overflow + url: https://stackoverflow.com + icon: fab fa-stack-overflow + description: 程序员问答社区 + - name: ChatGPT + url: https://chat.openai.com + icon: fas fa-robot + description: AI智能助手 + - name: YouTube + url: https://www.youtube.com + icon: fab fa-youtube + description: 视频分享平台 + - name: Twitter + url: https://twitter.com + icon: fab fa-twitter + description: 社交媒体平台 + - name: Reddit + url: https://www.reddit.com + icon: fab fa-reddit + description: 社区讨论平台 + - name: 学习资源 + icon: fas fa-graduation-cap + sites: + - name: 哔哩哔哩 + url: https://www.bilibili.com + icon: fas fa-play-circle + description: 视频学习平台 + - name: 掘金 + url: https://juejin.cn + icon: fas fa-book + description: 高质量技术社区 + - name: LeetCode + url: https://leetcode.cn + icon: fas fa-code + description: 算法刷题平台 + - name: 设计资源 + icon: fas fa-palette + sites: + - name: Figma + url: https://www.figma.com + icon: fab fa-figma + description: 在线设计工具 + - name: Dribbble + url: https://dribbble.com + icon: fab fa-dribbble + description: 设计师社区 + - name: IconFont + url: https://www.iconfont.cn + icon: fas fa-icons + description: 图标资源库 + - name: Adobe XD + url: https://www.adobe.com/products/xd.html + icon: fab fa-adobe + description: UI/UX设计工具 + - name: Sketch + url: https://www.sketch.com + icon: fas fa-pencil-ruler + description: 矢量设计工具 + - name: Canva + url: https://www.canva.com + icon: fas fa-paint-brush + description: 在线平面设计 + - name: 在线工具 + icon: fas fa-wrench + sites: + - name: JSON Editor + url: https://jsoneditoronline.org + icon: fas fa-code-branch + description: JSON在线编辑器 + - name: Can I Use + url: https://caniuse.com + icon: fas fa-browser + description: 浏览器兼容性查询 + - name: TinyPNG + url: https://tinypng.com + icon: fas fa-compress + description: 图片压缩工具 + - name: Carbon + url: https://carbon.now.sh + icon: fas fa-code + description: 代码图片生成器 + - name: Excalidraw + url: https://excalidraw.com + icon: fas fa-pencil-alt + description: 手绘风格图表工具 + - name: 云服务平台 + icon: fas fa-cloud + sites: + - name: Cloudflare + url: https://www.cloudflare.com + icon: fas fa-cloud + description: CDN与安全服务 + - name: Vercel + url: https://vercel.com + icon: fas fa-server + description: 前端部署平台 + - name: Netlify + url: https://www.netlify.com + icon: fas fa-globe + description: 静态网站托管 + - name: AWS + url: https://aws.amazon.com + icon: fab fa-aws + description: 亚马逊云服务 + - name: Azure + url: https://azure.microsoft.com + icon: fab fa-microsoft + description: 微软云平台 + - name: Google Cloud + url: https://cloud.google.com + icon: fab fa-google + description: 谷歌云平台 diff --git a/导航网站/config/_default/pages/content.yml b/导航网站/config/_default/pages/content.yml new file mode 100755 index 0000000..f395f2e --- /dev/null +++ b/导航网站/config/_default/pages/content.yml @@ -0,0 +1,12 @@ +# 默认页面配置(请勿直接修改)。 +# 建议复制到 config/user/pages/content.yml 并按需调整。 +title: 关于 +subtitle: 项目说明 + +# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs) +# 内容页模板(templates/pages/content.hbs) +template: content + +# 本期仅支持文件模式:读取本地 markdown 文件 +content: + file: content/about.md diff --git a/导航网站/config/_default/pages/projects.yml b/导航网站/config/_default/pages/projects.yml new file mode 100755 index 0000000..0791d07 --- /dev/null +++ b/导航网站/config/_default/pages/projects.yml @@ -0,0 +1,33 @@ +# 默认页面配置(请勿直接修改)。 +# 建议复制到 config/user/pages/projects.yml 并按需调整。 +title: 项目 # 页面标题 +subtitle: 项目展示 # 页面副标题 + +# 指定使用的模板文件名,现有页面模板可见 templates/pages(不含 .hbs) +template: projects + +# 页面分类与站点列表 +# +# projects 模板采用“代码仓库风”卡片(repo 风格)。 +# 统计信息(language/stars/forks)为自动获取数据: +# - 运行 `npm run sync-projects` 会联网抓取 GitHub 仓库信息,并写入 dev/ 缓存(仓库默认 gitignore) +# - `npm run build` 默认不联网;缓存缺失时卡片仅展示标题与描述 +categories: + - name: 个人项目 + icon: fas fa-code # 分类图标(Font Awesome) + sites: + - name: MeNav + icon: fab fa-github # 手动图标(manual 模式显示;favicon 模式下作为回退) + description: 一键部署的个人导航站生成器,支持书签导入与自动构建,轻松整理展示您的网络收藏 # 站点描述 + url: https://github.com/rbetree/menav + - name: MarksVault + icon: fab fa-github + description: 一个强大的浏览器扩展,用于智能管理、整理和安全备份您的书签数据 + url: 'https://github.com/rbetree/MarksVault' + - name: star + icon: fas fa-star + sites: + - name: CLIProxyAPI + icon: fab fa-github + description: Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API + url: 'https://github.com/router-for-me/CLIProxyAPI' diff --git a/导航网站/config/_default/site.yml b/导航网站/config/_default/site.yml new file mode 100755 index 0000000..8e4ec50 --- /dev/null +++ b/导航网站/config/_default/site.yml @@ -0,0 +1,126 @@ +# 默认配置(请勿直接修改)。 +# 建议复制到 config/user/site.yml 并按需调整;用户配置采用“完全替换”策略,将覆盖默认配置。 + +# 网站基本信息 +title: MeNav +description: Personal Navigation Station +author: rbetree +favicon: menav.svg +logo_text: MeNav + +icons: + # 站点卡片图标模式: + # - favicon:自动根据 URL 加载站点 favicon(失败时回退到 Font Awesome 图标) + # - manual:始终使用手动指定的 Font Awesome 图标(不发起外部请求) + # 隐私提示:启用 favicon 模式会请求第三方服务以获取图标,可能将站点 URL 发送给服务商(详见 README"隐私说明")。 + mode: favicon # 可选: favicon | manual(默认 favicon) + + # favicon 服务区域选择(仅在 mode: favicon 时生效): + # - com:优先使用 gstatic.com(国际版),失败后回退到 gstatic.cn(中国版) + # - cn:优先使用 gstatic.cn(中国版),失败后回退到 gstatic.com(国际版) + # 说明:如果你在中国大陆且访问 gstatic.com 较慢,建议设置为 cn 以提升图标加载速度 + region: cn # 可选: com | cn(默认 com) + +# 安全策略(可选):链接 URL scheme 白名单 +# - 默认允许:http/https/mailto/tel + 所有相对链接(# / ./ ../ ?) +# - 其他 scheme 会在页面中安全降级为 # 并输出告警(避免 javascript: 等危险链接变成可点击) +# - 如需支持 obsidian://、vscode:// 等自定义协议,可在此显式放行 +security: + allowedSchemes: + - http + - https + - mailto + - tel + # 示例: + # allowedSchemes: [http, https, mailto, tel, obsidian, vscode] + +# 主题设置:默认明暗模式(可选) +# - mode: dark | light | system +# - dark/light:首屏默认主题;用户点击按钮切换后会写入 localStorage 并覆盖该默认值 +# - system:跟随系统 prefers-color-scheme;用户手动切换后同样会写入 localStorage 并停止跟随 +theme: + mode: dark # 可选: dark | light | system(默认 dark) + +# 字体设置:全站基础字体 +# - source: css | google | system +# - css: 通过 cssUrl 引入第三方字体 CSS +# - google: 通过 Google Fonts 加载 family(weight 建议 100~900) +# - system: 只使用本地/系统字体,不额外发起请求 +fonts: + source: css + cssUrl: 'https://fontsapi.zeoseven.com/292/main/result.css' + preload: true # 可选:使用 preload+onload 的方式非阻塞加载字体 CSS(更利于首屏性能) + family: LXGW WenKai + weight: normal + +# 示例:切换到 Google Fonts +# fonts: +# source: google +# family: "Noto Sans SC" +# weight: 400 + +# 个人资料:显示在首页顶部的欢迎信息 +profile: + # 注意:首页(导航第一项)标题区优先使用 profile.title/profile.subtitle + # 因此建议把首页希望展示的文案写在这里,避免“改了 pages/<首页id>.yml 但首页不生效”的误会 + title: Hello, + subtitle: Welcome to My Navigation + +# RSS(Phase 2):用于 articles 页面文章聚合 +# 说明: +# - `npm run build` 默认不联网;仅 `npm run sync-articles` 会联网抓取并写入缓存 +# - 缓存目录建议放在 dev/(仓库默认 gitignore),避免误提交 +rss: + enabled: true + cacheDir: dev + fetch: + timeoutMs: 10000 # 单请求超时(毫秒) + totalTimeoutMs: 60000 # 全流程总超时(毫秒) + concurrency: 5 # 并发抓取站点数 + maxRetries: 1 # 单站点重试次数(best-effort) + maxRedirects: 3 # 最大重定向次数 + articles: + perSite: 8 # 单站点最多抓取条数 + total: 50 # 全站聚合上限 + summaryMaxLength: 200 # 摘要最大长度(字符) + +# GitHub:用于 projects 页面右侧“贡献热力图”(可选) +# - username:你的 GitHub 用户名(例如 torvalds) +# - heatmapColor:热力图主题色(不带 #,例如 339af0) +github: + username: 'rbetree' # 你的 GitHub 用户名(例如 torvalds;为空则 projects 页不展示热力图) + heatmapColor: 37b24d + cacheDir: dev # projects 仓库元信息缓存目录(默认 dev,仓库默认 gitignore) + +# 社交媒体链接:显示在侧边栏底部;可按需增删 +social: + - name: GitHub + url: https://github.com + icon: fab fa-github + - name: Telegram + url: https://t.me + icon: fab fa-telegram + - name: Twitter + url: https://twitter.com + icon: fab fa-twitter + - name: Steam + url: https://steam.com + icon: fab fa-steam + +# 导航配置(顺序第一项即首页/默认打开页) +navigation: + - name: 常用 # 菜单名称 + icon: fas fa-star # Font Awesome 图标类 + id: common # 页面标识符(唯一,需与 pages/.yml 对应) + - name: 项目 + icon: fas fa-project-diagram + id: projects + - name: 文章 + icon: fas fa-book + id: articles + - name: 书签 + icon: fas fa-bookmark + id: bookmarks + - name: 关于 + icon: fas fa-file-alt + id: content