Survival LLM
A free AI assistant and survival library (1.5 million offline articles) that runs on your own computer, with no internet. Shows the source of every answer. Mac and Windows.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A one-screen dashboard for a crypto trading bot: performance, four strategy slots, trades, scanner and risk. It runs on demo data until a live bot or exchange integration is connected.
/: the bot dashboard (React + TypeScript)./markets.html: the earlier markets page, with TradingView charts and the indicator signals table.See ROADMAP.md for where this is heading.
Node 20+.
npm install
npm run dev # http://localhost:5173, also serves /api/* like Vercel does
npm test # API and indicator tests (node:test) + dashboard calculation tests (Vitest)
npm run build # typecheck, then production build into dist/
On Vercel, vercel.json sets the build. Push to main and it deploys, and api/ runs as
serverless functions.
| Desktop (≥1100px) | Tablet (700–1099px) | Phone (<700px) |
|---|---|---|
| 12-column grid. Performance spans 7 columns and Strategy 1 spans 5 (top row, 59% of the height). Six equal cards below (41%). Fits one screen down to about 1440 × 900. | Top cards side by side or stacked, with lower cards in 3 or 2 columns. The page scrolls. | Swipeable carousel with snap, pagination dots, a card counter, and previous/next buttons. |
Bottom row order: Strategy 2, Strategy 3, Strategy 4, Trades, Scanner, Risk.
| What | Where |
|---|---|
| Name, currency, time zone, exchange label | src/config/dashboard.ts |
| Default strategy slot details | defaultStrategies in src/config/dashboard.ts |
| The data model every card reads | src/types.ts (DashboardData) |
| All calculations (P&L, trading return, win rate, R, risk usage, freshness) | src/lib/derive.ts |
| Demo fixtures and scenarios | src/data/demo.ts |
| Data source selection | src/data/adapter.ts |
| Cards | src/cards/ |
Click the pencil on any strategy card to set its name, description, timeframe, symbols and notes.
These edits are saved in the browser. To set defaults for everyone, edit defaultStrategies.
This is display configuration only. Saving it doesn't start, stop or change a strategy, and the card's status (Flat, Watching, In position…) always comes from the bot's data. A slot you've named but the bot doesn't report stays "Not configured".
Open Diagnostics (the pulse icon) to switch the demo between Normal, Empty, Loading, Error, Stale data and Bot disconnected. The header always shows a Demo badge in demo mode.
asOf) and threshold
(STALE_AFTER_SEC in derive.ts). A stale card keeps its last values and shows an amber badge.api/dashboard.js, a serverless function that reads from your bot or exchange and returns
JSON matching DashboardData in src/types.ts.api/. Never put a key in
src/, in a VITE_* variable (those are bundled into the browser), or in local storage.VITE_DATA_SOURCE=api in Vercel's environment variables and redeploy.The cards don't change, because the adapter is the only part that knows where data comes from.
/markets.html keeps the TradingView widgets and the signals table. That table scores each coin
on EMA 20/50 trend, MACD and RSI 14 using Coinbase public candles from api/candles.js, with no
key needed. The indicator code is in lib/indicators.js. To change its coin list, copy
public/config.example.js to public/config.js. The signals are a technical-analysis aid, not
financial advice.