mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 14:24:15 +08:00
chore: 项目名称规范化调整
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 tf-stocks-panel contributors
|
||||
Copyright (c) 2026 tf-stock-panel contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div align="center">
|
||||
|
||||
# 📈 tf-stocks-panel
|
||||
# 📈 TF-Stock-Panel
|
||||
|
||||
**自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台**
|
||||
|
||||
@@ -299,6 +299,6 @@ cd ../frontend && pnpm install && pnpm dev
|
||||
|
||||
## 📄 License
|
||||
|
||||
[MIT](./LICENSE) © tf-stocks-panel contributors
|
||||
[MIT](./LICENSE) © tf-stock-panel contributors
|
||||
|
||||
本项目依赖 [TickFlow](https://tickflow.org/auth/register?ref=V3KDKGXPEA) 提供数据服务,使用前请遵守其服务条款。
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""TF-Stocks-Panel backend."""
|
||||
"""TF-Stock-Panel backend."""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@ logger = logging.getLogger(__name__)
|
||||
@asynccontextmanager
|
||||
async def lifespan(app: FastAPI):
|
||||
logger.info(
|
||||
"TF-Stocks-Panel v%s starting (mode=%s)",
|
||||
"TF-Stock-Panel v%s starting (mode=%s)",
|
||||
__version__, "free" if settings.use_free_mode else "api_key",
|
||||
)
|
||||
|
||||
@@ -133,7 +133,7 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
|
||||
app = FastAPI(
|
||||
title="TF-Stocks-Panel",
|
||||
title="TF-Stock-Panel",
|
||||
version=__version__,
|
||||
description="A 股选股 + 回测面板 — TickFlow 适配",
|
||||
lifespan=lifespan,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "tf-stocks-panel-backend"
|
||||
version = "0.1.22"
|
||||
name = "tf-stock-panel-backend"
|
||||
version = "0.1.23"
|
||||
description = "A 股选股 + 监控 + 回测面板 — TickFlow 适配"
|
||||
readme = "../README.md"
|
||||
requires-python = ">=3.11"
|
||||
|
||||
Generated
+1
-1
@@ -2205,7 +2205,7 @@ wheels = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tf-stocks-panel-backend"
|
||||
name = "tf-stock-panel-backend"
|
||||
version = "0.1.0"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# tf-stocks-panel - one-shot launcher for backend + frontend (Windows / PowerShell)
|
||||
# tf-stock-panel - one-shot launcher for backend + frontend (Windows / PowerShell)
|
||||
#
|
||||
# Usage:
|
||||
# .\dev.ps1
|
||||
@@ -128,7 +128,7 @@ if (-not (Test-Path (Join-Path $FrontendDir 'node_modules'))) {
|
||||
# ===== 4. Banner (ASCII so it renders on any codepage) =====
|
||||
Write-Host ''
|
||||
Write-Host '+----------------------------------------------+' -ForegroundColor Blue
|
||||
Write-Host '| tf-stocks-panel |' -ForegroundColor Blue
|
||||
Write-Host '| tf-stock-panel |' -ForegroundColor Blue
|
||||
Write-Host '| |' -ForegroundColor Blue
|
||||
Write-Host "| backend http://localhost:$BackendPort" -ForegroundColor Blue
|
||||
Write-Host "| frontend http://localhost:$FrontendPort" -ForegroundColor Blue
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# tf-stocks-panel — 一键启动前后端
|
||||
# tf-stock-panel — 一键启动前后端
|
||||
#
|
||||
# 用法:
|
||||
# ./dev.sh # 默认 backend:3018 frontend:3011
|
||||
@@ -109,7 +109,7 @@ prefix_awk() {
|
||||
|
||||
echo
|
||||
echo -e "${BLUE}╭──────────────────────────────────────────────╮${NC}"
|
||||
echo -e "${BLUE}│${NC} ${GREEN}tf-stocks-panel${NC} ${BLUE}│${NC}"
|
||||
echo -e "${BLUE}│${NC} ${GREEN}tf-stock-panel${NC} ${BLUE}│${NC}"
|
||||
echo -e "${BLUE}│${NC} ${BLUE}│${NC}"
|
||||
echo -e "${BLUE}│${NC} backend ${YELLOW}http://localhost:$BACKEND_PORT${NC} ${BLUE}│${NC}"
|
||||
echo -e "${BLUE}│${NC} frontend ${YELLOW}http://localhost:$FRONTEND_PORT${NC} ${BLUE}│${NC}"
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: TF-Stocks-Panel
|
||||
container_name: TF-Stock-Panel
|
||||
ports:
|
||||
- "${PORT:-3018}:3018"
|
||||
env_file:
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="theme-color" content="#8B5CF6" />
|
||||
<title>TF-Stocks-Panel · Quant Terminal</title>
|
||||
<title>TF-Stock-Panel · Quant Terminal</title>
|
||||
<link rel="preconnect" href="https://rsms.me/" />
|
||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tf-stocks-panel-frontend",
|
||||
"name": "tf-stock-panel-frontend",
|
||||
"private": true,
|
||||
"version": "0.1.22",
|
||||
"version": "0.1.23",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -303,10 +303,11 @@ export function Layout() {
|
||||
style={{ color: BRAND }}
|
||||
/>
|
||||
<div
|
||||
className="font-mono font-bold text-[13px] tracking-[0.06em] text-foreground leading-none"
|
||||
className="font-mono font-bold text-[13px] tracking-[0.06em] text-foreground leading-tight"
|
||||
style={{ textShadow: `0 0 10px ${BRAND}44` }}
|
||||
>
|
||||
TF-Stocks-Panel
|
||||
<div>TF-Stock</div>
|
||||
<div>Panel</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ export function Logo({ className, size = 32, style }: LogoProps) {
|
||||
className={className}
|
||||
style={style}
|
||||
role="img"
|
||||
aria-label="TF-Stocks-Panel"
|
||||
aria-label="TF-Stock-Panel"
|
||||
>
|
||||
{/* 左方括号 */}
|
||||
<path
|
||||
|
||||
@@ -25,12 +25,12 @@ interface Variant {
|
||||
glow?: string // 名字下方的发光线条 hex
|
||||
}
|
||||
|
||||
// 同一个名字 "TF-Stocks-Panel" 在 4 种风格语言里的呈现
|
||||
// 同一个名字 "TF-Stock-Panel" 在 4 种风格语言里的呈现
|
||||
// 长字符串自动用更小字号 + 更窄字距,免得撑爆卡片;但风格语言(字体/字重/配色/图标)保持不变
|
||||
const VARIANTS: Variant[] = [
|
||||
{
|
||||
id: 'pulsar',
|
||||
name: 'TF-Stocks-Panel',
|
||||
name: 'TF-Stock-Panel',
|
||||
tagline: 'A-SHARE · SIGNAL TERMINAL',
|
||||
hint: '脉冲星、雷达波纹 — 青绿强调色,字重黑体,中等字距',
|
||||
icon: RadioTower,
|
||||
@@ -40,7 +40,7 @@ const VARIANTS: Variant[] = [
|
||||
},
|
||||
{
|
||||
id: 'vanta',
|
||||
name: 'TF-Stocks-Panel',
|
||||
name: 'TF-Stock-Panel',
|
||||
tagline: 'MARKET · INTELLIGENCE',
|
||||
hint: 'Vantablack — 纯白单色,字重最重,字距最宽,monochrome 高级感',
|
||||
icon: Square,
|
||||
@@ -50,7 +50,7 @@ const VARIANTS: Variant[] = [
|
||||
},
|
||||
{
|
||||
id: 'helix',
|
||||
name: 'TF-Stocks-Panel',
|
||||
name: 'TF-Stock-Panel',
|
||||
tagline: 'QUANT · TERMINAL',
|
||||
hint: 'DNA 螺旋 — 紫色强调,等宽字体,赛博朋克经典意象',
|
||||
icon: GitFork,
|
||||
@@ -60,7 +60,7 @@ const VARIANTS: Variant[] = [
|
||||
},
|
||||
{
|
||||
id: 'aurora',
|
||||
name: 'TF-Stocks-Panel',
|
||||
name: 'TF-Stock-Panel',
|
||||
tagline: 'A-SHARE · DASHBOARD',
|
||||
hint: '极光 — 青色强调,细字优雅,适中字距,与涨跌语义色不冲突',
|
||||
icon: Sparkles,
|
||||
@@ -85,7 +85,7 @@ export function Branding() {
|
||||
<>
|
||||
<PageHeader
|
||||
title="视觉风格预览"
|
||||
subtitle="名字保持 TF-Stocks-Panel,4 种赛博朋克 + 高级感的视觉处理 — 字重、字距、配色、图标各不同。挑你最喜欢的告诉我。"
|
||||
subtitle="名字保持 TF-Stock-Panel,4 种赛博朋克 + 高级感的视觉处理 — 字重、字距、配色、图标各不同。挑你最喜欢的告诉我。"
|
||||
/>
|
||||
|
||||
<div className="px-8 py-6">
|
||||
|
||||
@@ -65,7 +65,7 @@ export function Onboarding() {
|
||||
<header className="flex items-center justify-between px-6 py-4 border-b border-border">
|
||||
<div className="flex items-center gap-2 text-foreground">
|
||||
<Logo size={22} />
|
||||
<span className="text-sm font-medium">TF-Stocks-Panel</span>
|
||||
<span className="text-sm font-medium">TF-Stock-Panel</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-1.5">
|
||||
{STEPS.map((label, i) => (
|
||||
@@ -117,7 +117,7 @@ function WelcomeStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => voi
|
||||
<div className="mx-auto w-fit rounded-2xl bg-accent/10 p-4">
|
||||
<Sparkles className="h-8 w-8 text-accent" />
|
||||
</div>
|
||||
<h1 className="mt-6 text-2xl font-bold text-foreground">欢迎使用 TF-Stocks-Panel</h1>
|
||||
<h1 className="mt-6 text-2xl font-bold text-foreground">欢迎使用 TF-Stock-Panel</h1>
|
||||
<p className="mt-3 text-sm text-secondary leading-relaxed max-w-md mx-auto">
|
||||
一个本地化的 A 股量化分析面板 —— 行情、选股、回测、财务一体化。
|
||||
花一分钟配置,即可开始使用。
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# tf-stocks-panel —— TickFlow 推荐套餐能力对照表(§5.2)
|
||||
# tf-stock-panel —— TickFlow 推荐套餐能力对照表(§5.2)
|
||||
#
|
||||
# 仅用途:
|
||||
# 1. 启动期能力探测决定试探顺序
|
||||
|
||||
Reference in New Issue
Block a user