日本語 | English
A local (Electron) version of the Duel Log App. A standalone application based on the original web application, with login and sharing features removed.
- Fully offline with local database (SQLite)
- No authentication required - ready to use immediately
- Duel record management
- Deck management
- Statistics display
- Light/Dark theme toggle
- User authentication (login/logout)
- Account registration
- Password reset
- Statistics sharing link
- Vue 3 (Composition API)
- TypeScript
- Vuetify 3
- Pinia (state management)
- Vue Router 4
- ApexCharts
- Electron
- better-sqlite3 (SQLite)
- Vite
- electron-builder
npm installnpm run electron:devnpm run electron:buildduel-log-app-local/
├── config/ # Configuration files
│ ├── .eslintrc.cjs # ESLint config
│ ├── .prettierrc.json # Prettier config
│ ├── tsconfig.json # Base TypeScript config
│ ├── tsconfig.main.json # Main process TypeScript config
│ ├── tsconfig.node.json # Node TypeScript config
│ ├── tsconfig.preload.json # Preload TypeScript config
│ └── vite.config.ts # Vite config
├── src/
│ ├── main/ # Electron main process
│ │ ├── index.ts # Main process entry point
│ │ └── database.ts # SQLite database logic
│ ├── preload/ # Electron preload scripts
│ │ └── index.ts # IPC exposed API
│ └── renderer/ # Vue frontend
│ ├── assets/ # Static assets
│ ├── components/ # Vue components
│ ├── plugins/ # Vue plugins (Vuetify, etc.)
│ ├── router/ # Vue Router config
│ ├── services/ # API services
│ ├── stores/ # Pinia state management
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ ├── views/ # Page views
│ ├── App.vue # Root component
│ └── main.ts # Renderer process entry point
├── public/ # Public static files
├── dist/ # Build output (renderer process)
├── dist-electron/ # Build output (Electron process)
├── electron-builder/ # Electron Builder config
├── index.html # HTML entry point
├── package.json # Project dependencies
└── README.md # This file
Application data is stored at:
- Windows:
%APPDATA%/duel-log-app-local/duel-log.db - macOS:
~/Library/Application Support/duel-log-app-local/duel-log.db - Linux:
~/.config/duel-log-app-local/duel-log.db
Update the version using npm commands (recommended):
# Patch version bump (1.0.0 -> 1.0.1) - Bug fixes
npm version patch
# Minor version bump (1.0.0 -> 1.1.0) - New features
npm version minor
# Major version bump (1.0.0 -> 2.0.0) - Breaking changes
npm version major
# Specify a specific version
npm version 1.5.0-
Version bump (automatically creates commit & tag)
npm version <new-version> -m "Release v%s: release notes"
-
Regenerate icons (if icons were changed)
node generate-icons.js
-
Build
npm run electron:build
-
Push to GitHub
git push && git push --tags
Build artifacts are generated in the release/ directory:
Duel Log App Setup <version>.exe- Installer versionDuel Log App <version>.exe- Portable version
This project is licensed under the MIT License.