feat: Refactor service management scripts to use a unified dev script
- Added package.json to manage development scripts. - Updated restart-services.ps1 to call the new dev script for starting services. - Refactored start-admin.ps1, start-backend.ps1, start-frontend.ps1, and start-mcp.ps1 to utilize the dev script for starting respective services. - Enhanced stop-services.ps1 to improve process termination logic by matching command patterns.
This commit is contained in:
@@ -1,30 +1,55 @@
|
||||
- id: 1
|
||||
site_name: "InitCool"
|
||||
site_short_name: "Termi"
|
||||
site_url: "https://termi.dev"
|
||||
site_title: "InitCool - 终端风格的内容平台"
|
||||
site_description: "一个基于终端美学的个人内容站,记录代码、设计和生活。"
|
||||
hero_title: "欢迎来到我的极客终端博客"
|
||||
hero_subtitle: "这里记录技术、代码和生活点滴"
|
||||
site_url: "https://init.cool"
|
||||
site_title: "InitCool · 中文长文与 AI 搜索实验站"
|
||||
site_description: "一个偏终端审美的中文内容站,用来测试文章检索、AI 问答、段落评论与后台工作流。"
|
||||
hero_title: "欢迎来到我的中文内容实验站"
|
||||
hero_subtitle: "这里有长文章、评测、友链,以及逐步打磨中的 AI 搜索体验"
|
||||
owner_name: "InitCool"
|
||||
owner_title: "前端开发者 / 技术博主"
|
||||
owner_bio: "一名热爱技术的前端开发者,专注于构建高性能、优雅的用户界面。相信代码不仅是工具,更是一种艺术表达。"
|
||||
owner_avatar_url: ""
|
||||
social_github: "https://github.com"
|
||||
social_twitter: "https://twitter.com"
|
||||
social_email: "mailto:hello@termi.dev"
|
||||
location: "Hong Kong"
|
||||
owner_title: "Rust / Go / Python Developer · Builder @ init.cool"
|
||||
owner_bio: "InitCool,GitHub 用户名 limitcool。坚持不要重复造轮子,当前在维护 starter,平时主要写 Rust、Go、Python 相关项目,也在持续学习 AI 与 Web3。"
|
||||
owner_avatar_url: "https://github.com/limitcool.png"
|
||||
social_github: "https://github.com/limitcool"
|
||||
social_twitter: ""
|
||||
social_email: "mailto:initcoool@gmail.com"
|
||||
location: "中国香港"
|
||||
tech_stack:
|
||||
- "Astro"
|
||||
- "Rust"
|
||||
- "Go"
|
||||
- "Python"
|
||||
- "Svelte"
|
||||
- "Tailwind CSS"
|
||||
- "TypeScript"
|
||||
- "Astro"
|
||||
- "Loco.rs"
|
||||
music_playlist:
|
||||
- title: "山中来信"
|
||||
artist: "InitCool Radio"
|
||||
album: "站点默认歌单"
|
||||
url: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
|
||||
cover_image_url: "https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?auto=format&fit=crop&w=600&q=80"
|
||||
accent_color: "#2f6b5f"
|
||||
description: "适合文章阅读时循环播放的轻氛围曲。"
|
||||
- title: "风吹松声"
|
||||
artist: "InitCool Radio"
|
||||
album: "站点默认歌单"
|
||||
url: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-2.mp3"
|
||||
cover_image_url: "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=600&q=80"
|
||||
accent_color: "#8a5b35"
|
||||
description: "偏木质感的器乐氛围,适合深夜浏览。"
|
||||
- title: "夜航小记"
|
||||
artist: "InitCool Radio"
|
||||
album: "站点默认歌单"
|
||||
url: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-3.mp3"
|
||||
cover_image_url: "https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=600&q=80"
|
||||
accent_color: "#375a7f"
|
||||
description: "节奏更明显一点,适合切换阅读状态。"
|
||||
ai_enabled: false
|
||||
paragraph_comments_enabled: true
|
||||
ai_provider: "newapi"
|
||||
ai_api_base: "http://localhost:8317/v1"
|
||||
ai_api_key: "your-api-key-1"
|
||||
ai_api_base: "https://91code.jiangnight.com/v1"
|
||||
ai_api_key: "sk-5a5e27db9fb8f8ee7e1d8e3c6a44638c2e50cdb0a0cf9d926fefb5418ff62571"
|
||||
ai_chat_model: "gpt-5.4"
|
||||
ai_embedding_model: "fastembed / local all-MiniLM-L6-v2"
|
||||
ai_system_prompt: "你是这个博客的站内 AI 助手。请优先基于提供的上下文回答,答案要准确、简洁、实用;如果上下文不足,请明确说明。"
|
||||
ai_system_prompt: "你是这个博客的站内 AI 助手。请优先依据检索到的站内内容回答问题,回答保持准确、简洁、清晰;如果上下文不足,请明确说明,不要编造。"
|
||||
ai_top_k: 4
|
||||
ai_chunk_size: 1200
|
||||
|
||||
Reference in New Issue
Block a user