diff --git a/app/components/HelpPanel.js b/app/components/HelpPanel.js
index caf3744..679c718 100644
--- a/app/components/HelpPanel.js
+++ b/app/components/HelpPanel.js
@@ -396,6 +396,13 @@ AI 聊天侧栏中的回复支持完整的 Markdown 渲染,包括代码块、
### 技术栈
Next.js + Tiptap 编辑器 + AI API(OpenAI 兼容 / Gemini)
+
+### 开源项目
+Author 是一个开源项目,采用 **AGPL-3.0** 协议。
+
+🔗 **GitHub**: [github.com/YuanShiJiLoong/author](https://github.com/YuanShiJiLoong/author)
+
+欢迎 Star ⭐、提 Issue、贡献代码!
`,
},
];
diff --git a/app/components/TourOverlay.js b/app/components/TourOverlay.js
index f0368db..ad2d2d6 100644
--- a/app/components/TourOverlay.js
+++ b/app/components/TourOverlay.js
@@ -45,6 +45,12 @@ export default function TourOverlay({ onOpenHelp }) {
title: t('tour.step5Title'),
content: t('tour.step5Content'),
placement: 'left'
+ },
+ {
+ targetId: 'tour-github',
+ title: t('tour.step6Title'),
+ content: t('tour.step6Content'),
+ placement: 'left'
}
], [t]);
diff --git a/app/locales/en.json b/app/locales/en.json
index 957c965..8e3c783 100644
--- a/app/locales/en.json
+++ b/app/locales/en.json
@@ -314,6 +314,8 @@
"step4Content": "This is the brain of your workspace. Make sure to configure your AI model API Key here, otherwise the AI assistant won't work. You can also change language, theme, and build your world settings.",
"step5Title": "💡 Always Here to Help",
"step5Content": "If you skipped the tour or want to review it again, click the 📖 Help button. In the top-right corner of the help panel, you can restart the tour anytime.",
+ "step6Title": "🐙 Open Source Project",
+ "step6Content": "Author is an open-source project! Click this GitHub icon to visit our repository. Star ⭐, file issues, and contribute!",
"introTitle": "Welcome to Author",
"introSubtitle": "Your AI-assisted novel writing platform.",
"introHint": "For a better writing experience, would you like a 1-minute tour of the core features?",
diff --git a/app/locales/ru.json b/app/locales/ru.json
index 70adc16..4dab7b1 100644
--- a/app/locales/ru.json
+++ b/app/locales/ru.json
@@ -314,6 +314,8 @@
"step4Content": "Это мозг вашего рабочего пространства. Обязательно настройте здесь API Key вашей языковой модели, иначе ИИ-ассистент не будет работать. Вы также можете изменить язык, тему и создать настройки мира.",
"step5Title": "💡 Всегда готов помочь",
"step5Content": "Если вы пропустили тур или хотите просмотреть его снова, нажмите кнопку 📖 Справка. В правом верхнем углу панели справки вы можете в любое время перезапустить тур.",
+ "step6Title": "🐙 Проект с открытым кодом",
+ "step6Content": "Author — проект с открытым исходным кодом! Нажмите на этот значок GitHub, чтобы посетить наш репозиторий. Ставьте Star ⭐, создавайте Issue и вносите свой вклад!",
"introTitle": "Добро пожаловать в Author",
"introSubtitle": "Ваша платформа для написания романов с помощью ИИ.",
"introHint": "Для лучшего опыта написания, хотите ли вы пройти 1-минутный тур по основным функциям?",
diff --git a/app/locales/zh.json b/app/locales/zh.json
index 0ad3ed0..fe7a8ee 100644
--- a/app/locales/zh.json
+++ b/app/locales/zh.json
@@ -314,6 +314,8 @@
"step4Content": "这是工作台的大脑中枢。请务必在此配置你的大模型 API Key,否则 AI 助理无法工作。另外,你还可以在这里随时更改语言、主题、并建立属于你的世界观设定。",
"step5Title": "💡 随时准备为您服务",
"step5Content": "如果您跳过了引导,或希望重新回顾,都可以点击这个 📖 帮助按钮。在帮助面板的右上角,您可以随时重新开启向导。",
+ "step6Title": "🐙 开源项目",
+ "step6Content": "Author 是一个开源项目!点击这个 GitHub 图标可以访问我们的项目仓库,欢迎 Star ⭐、提 Issue、贡献代码。",
"introTitle": "欢迎来到 Author",
"introSubtitle": "你的 AI 辅助小说创作平台。",
"introHint": "为了更好的创作体验,需要花 1 分钟为您介绍核心功能吗?",
diff --git a/app/page.js b/app/page.js
index 352842d..62dcf9d 100644
--- a/app/page.js
+++ b/app/page.js
@@ -302,6 +302,40 @@ export default function Home() {
)}
+ {/* GitHub 链接 */}
+ e.currentTarget.style.opacity = '1'}
+ onMouseLeave={(e) => e.currentTarget.style.opacity = '0.8'}
+ title="GitHub"
+ >
+
+
+
{/* 帮助与向导按钮 */}