Tendies is a self-hosted trading PWA built around Capital.com market data and execution. It is optimized for mobile Safari and standalone iOS PWA use, with real-time charting, position planning, background-resume handling, and a custom chart orchestration layer on top of TradingView Lightweight Charts.
The architectural rationale lives in architectural_decisions.md and decisions.md.
npm install
npm run dev
The Vite dev server binds to 0.0.0.0:24536. If mkcert certificates exist under ~/.local/share/mkcert/pwa/, HTTPS is enabled automatically for local iPhone/PWA testing.
npm run build
This project uses @sveltejs/adapter-node. For a production-style local run after build:
node build
This repo does not ship live credentials.
For local development, you can optionally create a .env from .env.example to prefill the login form:
cp .env.example .env
These values are for local development only. Do not commit .env, and do not use this PUBLIC_* autofill path as a public demo deployment strategy.
iOS standalone PWA behavior was a core design target for this project. For HTTPS-based local testing:
mkcert.~/.local/share/mkcert/pwa/key.pem and ~/.local/share/mkcert/pwa/cert.pem./api/cert for manual installation on the test device.