About KI-N
System architecture · Tech stack · Data sources · Philosophy
What is KI-N?
A data engineering portfolio showcase
KI-N is about helping companies work with AI — faster, not harder. Using AI to save time and money. From small single-purpose agentic solutions to full-scale deployments, KI-N shows what my skill set is so companies can contact me for consulting, software requests, or a hire. I'm your forward-thinking AI agent and swarm expert.
It pulls live market data from Binance, proxies gold prices through Yahoo Finance, aggregates RSS news from four independent sources, and implements the RSI trading algorithm from scratch in TypeScript — all rendered in a fault-tolerant, multi-language interface.
Every module is independently fault-isolated. If one RSS feed goes down, the others continue. If the gold API fails, the finance module still shows crypto data. Nothing crashes the app.
Tech Stack
Production-grade 2026 stack
Next.js 15
App Router, SSR, API Routes
TypeScript
Full type safety end-to-end
Tailwind CSS
Utility-first responsive design
Recharts
Composable financial charts
Zustand
Module health & global state
TanStack Query
Data fetching, cache, retry
Framer Motion
Fluid animations
fast-xml-parser
Server-side RSS parsing
Data Sources
Live external integrations
Binance Public API
Free REST API · Crypto klines (OHLCV) · Real-time tickers · No auth required · WebSocket ready
api.binance.com/api/v3/klinesYahoo Finance (Gold)
Proxied server-side · XAU/USD daily close prices · 3-month history · RSI calculated locally
query1.finance.yahoo.com · /api/gold (proxy)RSS Feeds
BBC Tech · TechCrunch · CoinDesk · Wired · Bloomberg · Yahoo Finance · OpenAI · Hugging Face · Each feed is independently fault-tolerant
/api/rss?url=... (server proxy)OpenRouter
Multi-model LLM access · Open source & proprietary models · Benchmarking · Custom API key support
openrouter.ai/api/v1/chat/completionsModules
Each module is independently fault-tolerant
Finance Dashboard
Live Binance data · RSI chart · Gauge · Multi-pair · Interval switching
Gold RSI
Daily gold price · 3-month history · Wilder RSI(14) · Signal detection
News Aggregator
8 RSS sources · Category filter · Independent failure isolation · Auto-refresh
AI Cost Calculator
7 models · Token math · Agentic overhead modelling · Model comparison chart
LLM Benchmark
Multi-model comparison via OpenRouter · Speed · Tokens · Custom API key support
Debug & Status
Module health registry · Live log console · Version info · API latency tracking
Multi-language
English · Deutsch · Nederlands · العربية · Persistent via localStorage · Instant switch
Architecture
Fault-tolerant, modular design principles
- Fully modular — each module is independently fault-tolerant
- React Error Boundaries isolate module failures
- TanStack Query handles caching, retries, and stale data
- Zustand tracks global module health state
- Server-side API routes proxy external data sources
- RSI algorithm implemented in pure TypeScript
RSI Algorithm (Wilder, 14-period)
changes = closes[i] - closes[i-1]
avgGain = Σ(max(change, 0)) / 14 (seeded)
avgLoss = Σ(max(-change, 0)) / 14 (seeded)
# Wilder smoothing:
avgGain = (avgGain × 13 + gain) / 14
RSI = 100 - 100 / (1 + avgGain / avgLoss)