anti-gambling-trader-tw
免費開源的投資反詐、交易統計與自動化交易程式工具:預設 PaperBroker,提供 14 種券商/交易所選項;交易紀錄分析在本機執行。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Modern Next.JS Firefly dashboard
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗An interactive, responsive financial dashboard optimized for mobile layouts, connecting directly to a Firefly III instance. Designed to track Safe-to-Spend pacing, upcoming cycle outgoings, and categorizing transactions on the fly.
/uncategorized):
glass-card system)react-chartjs-2)src/lib/firefly.ts connecting to Firefly III Core v1 API.Here is a preview of the mobile-first dashboard running in Demo Mode:
| Home Dashboard | Accounts Overview | Account Settings |
|---|---|---|
| Recent Activity | Upcoming Payments |
|---|---|
The dashboard automatically styles categories and maps them to icons and colors using their names in Firefly III (case-insensitive). To get pretty icons out-of-the-box, name your Firefly III categories to match or contain any of the following:
| Category Types / Keywords | Style / Icon | Color Theme |
|---|---|---|
Groceries, Grocery, Supermarket | ShoppingCart 🛒 | Amber |
Eating out, Dining out, Restaurants, Takeaway, Coffee | Utensils 🍽️ | Orange |
Rent, Mortgage, Housing, Home maintenance | Home 🏠 | Indigo / Amber |
Subscriptions, Subscription | CalendarDays 📅 | Cyan |
Salary, Income, Other income, Benefit payment | Banknote / Coins 💵 | Emerald |
Gas & electricity, Utilities, Electricity, Power, Water | Zap ⚡ | Cyan |
Transport, Car, Fuel, Gas, Parking | Car / Fuel 🚗 | Blue |
Gym, Fitness | Dumbbell 🏋️ | Rose |
Healthcare, Medical, Dentist, Health | HeartPulse 🏥 | Rose |
Entertainment, Hobbies, Leisure | Film / Palette 🎭 | Violet |
Holidays, Travel, Days out | Plane / Compass ✈️ |
Before launching the dashboard, make sure your Firefly III instance has the following:
"credit card").Note: All other settings (such as marking your primary current account or setting credit card statement/due dates) can be configured directly in the Dashboard UI. The dashboard stores these preferences as JSON metadata inside the notes field of your accounts in Firefly III.
The application is distributed as a pre-built multi-architecture Docker image (linux/amd64 and linux/arm64) via GitHub Container Registry (GHCR), meaning you don't even need the source code to run it.
Create a dedicated directory on your server and prepare the following files:
docker-compose.yml:
services:
dashboard:
image: ghcr.io/giorobert88/financial-dashboard:latest
container_name: firefly-dashboard
restart: unless-stopped
ports:
- "3001:3000"
env_file:
- .env.local
environment:
- AUTH_FILE_PATH=/app/data/.dashboard_auth
volumes:
- dashboard_data:/app/data
volumes:
dashboard_data:
.env.local:
SESSION_SECRET="generate-with-openssl-rand-base64-32"
# Execute in Linux terminal: openssl rand -base64 32
# Optional (Can be configured in the UI instead)
# FIREFLY_API_URL="http://your-firefly-server:8080"
# FIREFLY_PAT="your-firefly-personal-access-token"
[!TIP]
- Generate a secure session secret with:
openssl rand -base64 32- API Connection: You can configure your Firefly III API URL and Personal Access Token (PAT) directly in the dashboard UI under Settings > API Connection. Alternatively, you can pre-configure them by uncommenting the environment variables in
.env.local.
Run the following command in the same directory:
docker compose up -d
To stop the dashboard: docker compose down. To inspect output: docker compose logs -f.
Note: The ./data directory will be created automatically to securely persist your dashboard password across container updates.
Navigate to http://localhost:3001 (or your server's IP). On first launch, you will be prompted to create a dashboard password to protect access to your financial data.
src/
├── app/
│ ├── actions/ # Server actions (auth, transactions, automations)
│ ├── api/ # API routes
│ ├── dashboard/ # Dashboard pages with cycle navigation
│ ├── login/ # Login page
│ ├── settings/ # Settings (accounts, connection, rules)
│ ├── uncategorized/ # Transaction categorization queue
│ └── ...
├── components/ # Reusable UI components
├── hooks/ # Custom React hooks
├── lib/
│ ├── api/ # Firefly III API client & data fetching
│ └── ... # Utilities, formatting, payday logic
├── proxy.ts # Request routing and proxy logic
└── sw.ts # Service worker source (Serwist)
This project was built from concept to production in collaboration with Antigravity, Google's agentic AI coding assistant. Leveraging Antigravity as an AI pair programmer enabled end-to-end product design, rapid full-stack implementation (Next.js 16 / React 19), security hardening, and packaging into a production-ready multi-architecture Docker container—demonstrating how modern Product Managers can build and ship working MVPs independently.
If you enjoy using this dashboard and would like to support its ongoing development, please consider donating:
GNU General Public License v3 (GPLv3) - see the LICENSE file for details.
| Sky / Orange |
Clothing, Clothes, Clothing & shoes | Shirt 👕 | Amber |
Car insurance, Home insurance, Insurance | Shield 🛡️ | Blue |
Credit card, Credit card payments, Loans | CreditCard 💳 | Cyan / Rose |
Savings, Saving | PiggyBank 🏦 | Emerald |
Baby, Maternity, Child & dependent expenses | Baby / Smile 👶 | Pink |
Pets | PawPrint 🐾 | Orange |
Charity | Heart ❤️ | Rose |
Taxes, Tax, Council tax, Road tax | FileText 📄 | Zinc |
Cash, Cash withdrawals | Banknote 💵 | Zinc |