Skip to content

Commit 6b83a9a

Browse files
authored
feat: rename project from Firebringer to VisionFlow (#23)
1 parent 96a072c commit 6b83a9a

File tree

20 files changed

+89
-42
lines changed

20 files changed

+89
-42
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Firebringer
1+
# VisioFlow
22

33
<div align="center">
4-
<img src="build/appicon.png" alt="Firebringer Logo" width="128" height="128">
4+
<img src="build/appicon.png" alt="VisioFlow Logo" width="128" height="128">
55
<p><strong>基于节点的可视化 AI 内容生成工作流编辑器</strong></p>
66
</div>
77

@@ -48,8 +48,8 @@
4848

4949
```bash
5050
# 克隆仓库
51-
git clone https://github.com/yourusername/firebringer.git
52-
cd firebringer
51+
git clone https://github.com/yourusername/visionflow.git
52+
cd visionflow
5353

5454
# 安装前端依赖
5555
cd frontend
@@ -119,16 +119,16 @@ wails build
119119

120120
### 存储位置
121121

122-
- **数据库**`~/Library/Application Support/firebringer/firebringer.db`
123-
- **生成的资源**`~/Library/Application Support/firebringer/generated/`
124-
- **模型能力**`~/Library/Application Support/firebringer/model_data.json`
122+
- **数据库**`~/Library/Application Support/visionflow/visionflow.db`
123+
- **生成的资源**`~/Library/Application Support/visionflow/generated/`
124+
- **模型能力**`~/Library/Application Support/visionflow/model_data.json`
125125

126126
## 💻 开发指南
127127

128128
### 项目结构
129129

130130
```
131-
firebringer/
131+
visionflow/
132132
├── main.go # 应用入口
133133
├── binding/ # Wails 绑定(暴露给前端)
134134
│ ├── ai/ # AI 服务绑定
@@ -180,4 +180,4 @@ firebringer/
180180

181181
## 📞 支持
182182

183-
问题和功能请求请使用 [GitHub Issues](https://github.com/miaomint/firebringer/issues) 页面。
183+
问题和功能请求请使用 [GitHub Issues](https://github.com/miaomint/visionflow/issues) 页面。

binding/ai/service.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"context"
55
"fmt"
66

7-
"firebringer/database"
8-
aiservice "firebringer/service/ai"
9-
"firebringer/storage"
7+
"visionflow/database"
8+
aiservice "visionflow/service/ai"
9+
"visionflow/storage"
1010
)
1111

1212
// Service provides AI methods for the frontend

binding/app/service.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package app
2+
3+
type Service struct {
4+
WailsJSON string
5+
}
6+
7+
func NewService(wailsJSON string) *Service {
8+
return &Service{
9+
WailsJSON: wailsJSON,
10+
}
11+
}
12+
13+
func (s *Service) GetWailsJSON() string {
14+
return s.WailsJSON
15+
}

binding/database/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package database
22

33
import (
4-
db "firebringer/database"
54
"fmt"
5+
db "visionflow/database"
66
)
77

88
type Service struct{}

database/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package database
33
import (
44
"log"
55

6-
"firebringer/storage"
6+
"visionflow/storage"
77

88
"github.com/jmoiron/sqlx"
99
_ "github.com/mattn/go-sqlite3"

database/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package database
33
import (
44
"database/sql"
55
"errors"
6-
"firebringer/storage"
6+
"visionflow/storage"
77
)
88

99
// GetModelProviderByType retrieves a model provider configuration by its type (e.g., openai, gemini)

frontend/src/components/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function AppSidebar({
3434
<Sidebar className="border-none">
3535
<SidebarHeader>
3636
<div className="px-2 mt-10">
37-
<h2 className="text-xl font-bold">Firebringer</h2>
37+
<h2 className="text-xl font-bold">VisionFlow</h2>
3838
</div>
3939
</SidebarHeader>
4040
<SidebarContent>

frontend/src/components/settings/about-settings.tsx

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
import { Sparkles } from "lucide-react";
2-
1+
import { useEffect, useState } from "react";
2+
import { GetWailsJSON } from "../../../wailsjs/go/app/Service";
33
export function AboutSettings() {
4+
const [wailsJson, setWailsJson] = useState<any>(null);
5+
6+
useEffect(() => {
7+
async function fetchWailsJSON() {
8+
const data = await GetWailsJSON();
9+
setWailsJson(JSON.parse(data));
10+
}
11+
fetchWailsJSON();
12+
}, []);
13+
414
return (
515
<div className="p-8 max-w-2xl h-full flex flex-col">
616
<div className="flex-1 space-y-8">
@@ -9,18 +19,20 @@ export function AboutSettings() {
919
<img src="/appicon.png" alt="logo" />
1020
</div>
1121
<div className="text-center">
12-
<h3 className="text-2xl font-bold">Firebringer</h3>
13-
<p className="text-sm text-muted-foreground">Version 0.0.1</p>
22+
<h3 className="text-2xl font-bold">VisionFlow</h3>
23+
<p className="text-sm text-muted-foreground">
24+
Version {wailsJson?.info?.productVersion}
25+
</p>
1426
</div>
1527
<p className="text-sm leading-relaxed text-center">
16-
Firebringer 是一个可视化工作流编排工具,通过直观的节点式界面,
28+
VisionFlow 是一个可视化工作流编排工具,通过直观的节点式界面,
1729
让你轻松设计和管理 AI 驱动的智能工作流。
1830
</p>
1931
</div>
2032
</div>
2133

2234
<div className="text-center text-xs text-muted-foreground pt-8">
23-
© 2026 Firebringer. All rights reserved.
35+
© 2026 VisionFlow. All rights reserved.
2436
</div>
2537
</div>
2638
);

frontend/src/components/settings/settings-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function SettingsDialog({ open, onOpenChange }: SettingsDialogProps) {
2929
<div className="w-60 bg-muted/30 border-r h-full flex flex-col shrink-0">
3030
<div className="p-6 pb-4">
3131
<h2 className="text-lg font-semibold tracking-tight">设置</h2>
32-
<p className="text-sm text-muted-foreground">Firebringer Preferences</p>
32+
<p className="text-sm text-muted-foreground">VisionFlow Preferences</p>
3333
</div>
3434

3535
<TabsList className="flex flex-col w-full h-auto justify-start bg-transparent p-2 space-y-1">
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
2+
// This file is automatically generated. DO NOT EDIT
3+
4+
export function GetWailsJSON():Promise<string>;

0 commit comments

Comments
 (0)