
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
A modern personal accounting system built on Beancount and Fava, featuring powerful backend services and a mobile-friendly frontend interface to help users easily manage their personal finances.
MoneyMint is an open-source personal financial management system designed to provide an intuitive interface and robust accounting features. The system adopts a decoupled architecture with a Python/Flask backend using Beancount as the core accounting engine, and a modern frontend built with Nuxt.js and Vue 3.
MoneyMint/ ├── backend/ # Python backend services │ ├── app/ # Application code │ │ ├── main.py # Main application entry │ │ └── __init__.py # Package initialization file │ ├── data/ # Ledger data directory │ │ └── main.bean # Default ledger file │ ├── config/ # Configuration files directory │ └── requirements.txt # Python dependencies ├── frontend/ # Nuxt frontend project │ ├── assets/ # Static assets │ ├── components/ # Vue components │ ├── composables/ # Composable functions │ │ └── useApi.ts # API call encapsulation │ ├── pages/ # Page components │ │ ├── index.vue # Homepage/Dashboard │ │ ├── accounts.vue # Account management │ │ ├── entries.vue # Transaction records │ │ └── login.vue # Login page │ ├── plugins/ # Nuxt plugins │ ├── public/ # Public resources │ ├── nuxt.config.ts # Nuxt configuration │ ├── package.json # Node.js dependencies │ └── tailwind.config.js # Tailwind CSS configuration ├── Dockerfile # Docker build file ├── docker-compose.yml # Docker Compose configuration ├── README.md # English documentation └── README-zh.md # Chinese documentation
1. Backend Setup
bash# Enter backend directory cd backend # Create virtual environment python -m venv venv # Activate virtual environment # Windows env\Scripts\activate # Linux/macOS source venv/bin/activate # Install dependencies pip install -r requirements.txt # Run backend service python app/main.py
The backend service will start at http://localhost:5000.
2. Frontend Setup
bash# Enter frontend directory cd frontend # Install dependencies npm install # Start development server npm run dev
The frontend development server will start at http://localhost:3000.
Quickly deploy the entire application using Docker Compose:
bash# Build and start containers docker-compose up -d # Check container status docker-compose ps
The application will be available at http://localhost:3000.
Backend can be configured via environment variables or .env file:
| Configuration | Description | Default Value |
|---|---|---|
LEDGER_FILE | Ledger file path | data/main.bean |
JWT_SECRET_KEY | JWT secret key | your-secret-key-change-this-in-production |
ADMIN_USERNAME | Admin username | admin |
ADMIN_PASSWORD | Admin password | admin123 |
ENABLE_REGISTRATION | Whether to enable registration | true |
PAD_EQUITY_ACCOUNT | Equity account | Equity:Opening-Balances |
Frontend configuration file is located at frontend/nuxt.config.ts, main configuration items:
| Configuration | Description | Default Value |
|---|---|---|
apiBaseUrl | Backend API address | http://localhost:5000/api |
app.port | Frontend service port | 3000 |
adminadmin123Contributions of all kinds are welcome! Whether you're reporting bugs, suggesting new features, or submitting code directly, your support is greatly appreciated.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the https://github.com/quewen08/MoneyMint/blob/master/LICENSE file for details.
Thanks to all the developers and users who have contributed to the MoneyMint project!
If you find MoneyMint helpful, please give us a ⭐ Star to support our work!
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务