Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Renhuai123/ziwei-doushu
/ functions
Functions
176 in github.com/Renhuai123/ziwei-doushu
⨍
Functions
176
◇
Types & classes
42
↓ 1 callers
Function
searchClassics
(query: string, limit = 30)
lib/classics/index.ts:60
↓ 1 callers
Function
searchParamsToForm
(params: URLSearchParams)
lib/ziwei/share.ts:71
↓ 1 callers
Function
streamResponse
(apiMessages: { role: 'user' | 'assistant'; content: string }[])
components/InsightPanel.tsx:277
↓ 1 callers
Function
submit
()
app/library/LibrarySearch.tsx:17
↓ 1 callers
Function
useColors
(theme: Theme)
app/page.tsx:203
↓ 1 callers
Function
useHistory
()
lib/ziwei/history.ts:14
Function
AiContent
Render AI markdown: **【Title】** → gold header, **bold** → strong
components/InsightPanel.tsx:148
Function
AiContent
({ text, streaming }: { text: string; streaming?: boolean })
app/heming/page.tsx:10
Function
AnnouncementModal
()
components/AnnouncementModal.tsx:9
Function
BirthForm
({ onSubmit, loading, initialData, onFormSave, hideSubmit }: BirthFormProps)
components/BirthForm.tsx:50
Function
BookPage
({ params }: { params: Promise<{ book: string }> })
app/library/[book]/page.tsx:23
Function
ChapterPage
({ params }: { params: Promise<{ book: string; chapter: string }> })
app/library/[book]/[chapter]/page.tsx:25
Function
ChartBoard
({ chart, onStarSelect, onPalaceSelect, onSiHuaClick }: ChartBoardProps)
components/ChartBoard.tsx:55
Function
ChartPage
()
app/chart/page.tsx:16
Function
ChartSummary
({ chart }: ChartSummaryProps)
components/ChartSummary.tsx:18
Function
ChatPanel
({ chart }: ChatPanelProps)
components/ChatPanel.tsx:24
Function
FadeIn
({ children, delay = 0, y = 28, className = '', }: { children: React.ReactNode; delay?: number; y?: number
app/page.tsx:11
Function
FamousPersonCard
({ person }: { person: FamousPerson })
components/FamousPersonCard.tsx:13
Function
FeatureVisual
({ index, colors: c }: { index: number; colors: ReturnType<typeof useColors> })
app/page.tsx:279
Function
FieldError
({ msg }: { msg: string })
components/BirthForm.tsx:183
Function
HemingPage
()
app/heming/page.tsx:49
Function
HomePage
()
app/page.tsx:445
Function
InsightPanel
({ chart, selectedPalace, selectedSiHua }: InsightPanelProps)
components/InsightPanel.tsx:185
Function
KnowledgeHomePage
()
app/knowledge/page.tsx:16
Function
KnowledgePage
({ params }: { params: Promise<{ star: string; topic: string }> })
app/knowledge/[star]/[topic]/page.tsx:69
Function
LibraryHomePage
()
app/library/page.tsx:16
Function
LibrarySearch
()
app/library/LibrarySearch.tsx:12
Function
PalaceCell
({ palace, onClick, onStarClick, isSelected, isSanFang, delay = 0, overlayStarSiHua, overlayLabel, onSiHua
components/PalaceCell.tsx:56
Function
PatternsCard
({ chart }: { chart: ZiweiChart })
components/PatternsCard.tsx:13
Function
PreviewPage
()
app/preview/page.tsx:7
Function
PrivacyPage
()
app/privacy/page.tsx:3
Function
RootLayout
({ children }: { children: React.ReactNode })
app/layout.tsx:38
Function
ScrollIntro
({ onComplete, skipLabel = '跳 过' }: ScrollIntroProps)
components/ScrollIntro.tsx:13
Function
SearchPage
({ searchParams }: { searchParams: Promise<{ q?: string }> })
app/library/search/page.tsx:12
Function
Section
({ title, children, gradient, minimal }: { title: string; children: React.ReactNode; gradient?: boolean; minim
app/knowledge/[star]/[topic]/page.tsx:285
Function
ShareCardCanvas
({ chart, birth, highlight }: ShareCardProps)
components/ShareCardCanvas.tsx:40
Function
ShareModal
({ open, onClose, shareUrl, chart, birth, highlight }: ShareModalProps)
components/ShareModal.tsx:17
Function
SiHuaBadge
({ siHua, overlay, label, onClick, }: { siHua: string; overlay?: boolean; label?: string; onCl
components/PalaceCell.tsx:29
Function
StarDetailPanel
({ star, palaceName, onClose }: StarDetailPanelProps)
components/StarDetailPanel.tsx:179
Function
StarField
()
components/StarField.tsx:5
Function
TabButton
({ active, onClick, children, }: { active: boolean; onClick: () => void; children: React.ReactNode
components/TimeNav.tsx:171
Function
TermsPage
()
app/terms/page.tsx:3
Function
ThemeProvider
({ children }: { children: React.ReactNode })
components/ThemeProvider.tsx:19
Function
ThemeToggle
()
app/page.tsx:40
Function
TimeNav
({ chart, view, liunianYear, onViewChange, onYearChange, }: TimeNavProps)
components/TimeNav.tsx:40
Function
WeakBoundary
({ line }: { line: string })
app/page.tsx:30
Function
buildAllSelfSihua
(chart: ZiweiChart)
lib/ziwei/sihua.ts:163
Function
buildOverlayForStar
( starName: string, nativeMap: Record<string, SiHua>, daXianMap?: Record<string, SiHua>, liuNianMap?:
lib/ziwei/sihua.ts:185
Function
buildStarSiHuaMap
(stemIndex: number)
lib/ziwei/sihua.ts:25
Function
close
()
components/AnnouncementModal.tsx:34
Function
copyLink
()
components/ShareModal.tsx:21
Function
downloadImage
()
components/ShareModal.tsx:38
Function
findIncomingPalaces
( chart: ZiweiChart, starName: string, sihua: SiHua, )
lib/ziwei/sihua.ts:145
Function
generateMetadata
({ params }: { params: Promise<{ book: string }> })
app/library/[book]/page.tsx:13
Function
generateMetadata
({ params }: { params: Promise<{ book: string; chapter: string }> })
app/library/[book]/[chapter]/page.tsx:15
Function
generateMetadata
({ params }: { params: Promise<{ star: string; topic: string }> })
app/knowledge/[star]/[topic]/page.tsx:38
Function
generateStaticParams
()
app/library/[book]/page.tsx:9
Function
generateStaticParams
()
app/library/[book]/[chapter]/page.tsx:9
Function
generateStaticParams
()
app/knowledge/[star]/[topic]/page.tsx:32
Function
getDaXianSiHua
( chart: ZiweiChart, dxIndex: number, )
lib/ziwei/sihua.ts:49
Function
getFamousByCategory
(category: FamousPerson['category'])
lib/ziwei/famous.ts:129
Function
getInitialTheme
()
components/ThemeProvider.tsx:11
Function
getLiuNianSiHua
(year: number)
lib/ziwei/sihua.ts:66
Function
getLiuYueSiHua
(yearStem: number, month: number)
lib/ziwei/sihua.ts:98
Function
getYearBranchIndex
(year: number)
lib/ziwei/sihua.ts:38
Function
handlePalaceClick
(palace: Palace)
app/chart/page.tsx:119
Function
handleReset
()
app/chart/page.tsx:80
Function
handleShare
()
app/chart/page.tsx:96
Function
handleSiHuaBadgeClick
(starName: string, siHua: string)
app/chart/page.tsx:123
Function
handleSkip
()
components/ScrollIntro.tsx:33
Function
handleStarClick
(star: Star, palace: Palace)
app/chart/page.tsx:115
Function
handleSubmit
(e: React.FormEvent)
components/BirthForm.tsx:142
Function
robots
()
app/robots.ts:5
Function
sitemap
()
app/sitemap.ts:16
Function
sortClockwise
(branches: number[])
components/ChartBoard.tsx:39
Function
toggle
()
components/ThemeProvider.tsx:36
← previous
101–176 of 176, ranked by callers