Self-host Life K-Line
v1.0.2AI-powered Chinese astrology with K-line charts
- Stars
- 434
- Ports
- 3000 (Backend API server), 5173 (Frontend development server (Vite))
- Requires
- Node.js
What is Life K-Line?
Life K-Line (人生K线) is a self-hosted web application that visualizes personal destiny using traditional Chinese BaZi (Eight Characters) astrology combined with AI large language models. It renders life fortune trajectories as interactive K-line charts similar to stock market visualizations, covering ages 1-100 with major and annual luck cycles. The application provides intelligent BaZi chart calculation with true solar time correction, AI-powered deep analysis covering personality, career, wealth, relationships, health, and even Web3/crypto trading fortune. It includes a celebrity case library for comparison learning and a knowledge hub for astrology education. The stack uses React 19, Vite, Express.js, SQLite (better-sqlite3), Recharts for charts, and lunar-javascript for precise calendar calculations. It supports any OpenAI-compatible API including local models via Ollama or LM Studio. Self-hosting requires Node.js 18+ and an AI API key; the backend runs on port 3000 and frontend on 5173. Licensed under Apache 2.0.
Should you self-host Life K-Line?
Life K-Line scores 49/100 on selfhost.directory (how scoring works) and ranks #5 of 7 in Data Visualization. It has 434 GitHub stars.
It shipped 1 stable release in the past year. The latest, v1.0.2, came out on 22 December 2025.
Setup is moderate: expect some configuration beyond a single command. It is Apache-2.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is JSON Crack (79/100, 44 561 stars). It scores higher overall, so compare the two before you pick. See Life K-Line vs JSON Crack side by side.
Features
- AI Deep Analysis
- BaZi Chart Calculation
- Calendar Export
- Celebrity Case Library
- Customizable Points/Pricing System
- Daily Fortune & Almanac
- Feng Shui & Space Analysis
- K-Line Life Fortune Visualization
- Knowledge Hub
- Marriage Compatibility Analysis
- Multi-Model AI Support
- Privacy-First Local Deployment
- Shareable Poster Generation
- Web3/Crypto Fortune Analysis
Life K-Line README
FAQ
人生K线测算页是什么?
Life K-Line outputs structured BaZi charts and phase rhythms based on birth time and location: first determines day master and favorable elements, then major/annual luck windows, finally actionable steps for career, wealth, relationships. Suitable for 'judge first then act' decisions, not daily fortune fear-mongering.
如何使用
Fill in birth date, time and location; read the structural axis of day master and favorable elements with current major luck; then choose tools or ask follow-up questions for career/wealth/relationship intent with verifiable checkpoints.
报告是否公开?
Reports can share summary pages; high-quality anonymous cases may enter public content stream after desensitization, private reports can disable public access.
需要准确到时辰吗?
More accurate birth time gives more stable day pillar and favorable elements. Uncertain times can start with rough calculation and note the time precision in the report.
人生K线和普通算命有什么区别?
Life K-Line emphasizes structure, phases, and actionable boundaries, outputting verifiable rhythm judgments rather than replacing real choices or using fear-based fortune-telling.
More in Data Visualization
lightdashLightdash is an open-source, self-hosted BI platform with a governed metrics layer, AI agents, dashboards, and data apps for modern data teams.
mallaSelf-hosted open-source Meshtastic network analyzer capturing MQTT data into SQLite with dashboard, packet browser, map, and network graph.
Market Research CockpitSelf-hosted open-source market dashboard for A-shares, HK, US stocks, commodities, treasuries, sector heat, money flow, news, industry chains, and AI token tracking.
mempoolOpen-source Bitcoin block explorer and mempool visualizer with fee estimates, mining and Lightning dashboards; self-host it via Docker or one-click node distros.
MetabaseSelf-hosted, open-source BI tool with dashboards, a no-code query builder, a SQL editor, Metabot AI answers and embedding; run it in Docker or as a Java JAR.
open-dronelogFree, open-source, self-hosted DJI/Litchi flight log analyzer with 3D replay, telemetry charts, battery health, and PDF reports — local-first privacy.
PersesSelf-hosted, open-source dashboards for observability signals: Prometheus, Tempo, Loki and Pyroscope in one tool, with RBAC, OIDC login and Dashboard-as-Code SDKs.
Pluto.jlSelf-hosted open-source reactive notebooks for Julia: no hidden state, per-notebook package environments, @bind widgets, and export to HTML or PDF.
quickchartAn open-source, self-hosted chart image API: render any Chart.js config or QR code as an image from a URL, standing in for the retired Google Image Charts service.
RAWGraphsSelf-hosted, open-source web app that turns tabular data (CSV, TSV, JSON or pasted text) into nearly 30 SVG-based charts you can refine in vector editors.
RedashOpen-source, self-hosted business intelligence tool: query over 35 database and API back ends, build dashboards, schedule refreshes, and get data alerts.
Scada-LTSSelf-hosted, open-source SCADA system with multi-protocol support, HMI builder, real-time data visualization, and web-based UI for industrial automation.






0 comments