Open Net Worth
Open Net Worth is an open-source personal AI wealth assistant you run yourself: one ledger for your whole financial life, worked by an AI agent you control.
เปรียบเทียบต้นทุนพลังงานต่อกิโลเมตร รถสันดาป vs รถไฟฟ้า ปี 2569 — ราคาน้ำมัน ค่าไฟบ้าน และค่าชาร์จสถานีสาธารณะ
Translation pending
FinanceGitHub @pee31170-beepOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗เว็บแอปเปรียบเทียบต้นทุนพลังงานต่อกิโลเมตรระหว่างรถสันดาปกับรถไฟฟ้า ปี 2569 (แปลงมาจากแดชบอร์ด Claude Artifact)
?ice=14&ev=12.8&km=20000)เป็นไฟล์ static ล้วน ไม่ต้อง build:
python3 -m http.server 8000
# เปิด http://localhost:8000
(ต้องเปิดผ่าน HTTP server เพราะเบราว์เซอร์ไม่ให้โหลดไฟล์ CSV ผ่าน file://)
มี workflow .github/workflows/pages.yml สำหรับ GitHub Pages: เปิด Settings → Pages → Source: GitHub Actions
แล้ว push เข้า main หรือจะวางโฟลเดอร์นี้บน static host ใดก็ได้ (Netlify, Vercel, Cloudflare Pages)
| ไฟล์ | หน้าที่ |
|---|---|
index.html | โครงหน้า |
styles.css | สไตล์และธีมสว่าง/มืด |
app.js | โหลด CSV, คำนวณ, วาดกราฟด้วย d3 |
data/*.csv | ข้อมูลราคาน้ำมัน ค่าไฟ ค่าชาร์จ และข้อสมมติ |
sw.js, manifest.webmanifest, icons/ | PWA / ออฟไลน์ |
vendor/d3.v7.9.0.min.js | d3 v7.9.0 (ISC license, vendor/d3-LICENSE) |
แก้ไฟล์ใน data/ (เช่นเพิ่มแถวใน fuel_prices_2569.csv, แก้ fuel_today.csv และ as_of ใน assumptions.csv)
แล้วเพิ่มเลข VERSION ใน sw.js เพื่อให้แคชออฟไลน์รีเฟรช