An open API service indexing awesome lists of open source software.

https://github.com/saramanda9988/lunabox

Lightweight, fast, and feature-rich visual novel management and game statistics tool
https://github.com/saramanda9988/lunabox

ai galgame game game-manager react visual-novel wails2

Last synced: 2 months ago
JSON representation

Lightweight, fast, and feature-rich visual novel management and game statistics tool

Awesome Lists containing this project

README

          

LunaBox Logo

# LunaBox

**Lightweight, fast, and feature-rich visual novel management and game statistics tool**

[中文](README.zh-CN.md) | [English](README.md) | [日本語](README.ja.md)

[![Go](https://img.shields.io/badge/Go-1.24-00ADD8?style=flat-square&logo=go)](https://go.dev/)
[![Wails](https://img.shields.io/badge/Wails-v2-DF0000?style=flat-square)](https://wails.io/)
[![React](https://img.shields.io/badge/React-18-61DAFB?style=flat-square&logo=react)](https://react.dev/)











## ✨ Features

- **Game category management** - Organize your library with custom categories
- **Playtime tracking** - Automatically track session time when launching games
- **Small binary footprint** - Built with Wails, no full browser runtime bundled
- **Multi-dimensional statistics** - View play data by day/week/month/year and export shareable stat cards
- **AI insights** - Generate personalized and fun reports based on your gameplay data
- **Convenient data import** - Import from PotatoVN, Playnite, and Vnite; supports folder batch import and drag-and-drop
- **Multi-channel backup** - Local backup, AWS S3, Qiniu, Alibaba Cloud OSS (S3-compatible), and OneDrive backup
- **CLI Mode** - Support for managing, launching, and backing up games, and modifying program data via command line
- **Privacy and security** - All sensitive data is stored locally

## Screenshots

Click to view more custom background styles

![Home](screenshot/home-img.png)

![Library](screenshot/lib-img.png)

![Game Detail](screenshot/game-img.png)

Click to view stat export poster templates

![Minimal](screenshot/lunabox-stats-20260124-175553.png)

![Future Retro](screenshot/lunabox-stats-20260124-175602.png)

![Journal Style](screenshot/lunabox-stats-20260124-175617.png)

Additional in-app screenshots (located in the `screenshot/` directory):

![Home](screenshot/home.png)

![Library](screenshot/lib.png)

![Game Detail](screenshot/game.png)

## 🛠️ Tech Stack

| Layer | Technology |
|------|------|
| **Framework** | [Wails v2](https://wails.io/) |
| **Backend** | [Go 1.24](https://go.dev/) |
| **Frontend** | [React 18](https://react.dev/) + [TypeScript](https://www.typescriptlang.org/) |
| **Database** | [DuckDB](https://duckdb.org/) |
| **Build Tool** | [Vite](https://vitejs.dev/) |
| **Styling** | [UnoCSS](https://unocss.dev/) |
| **Routing** | [TanStack Router](https://tanstack.com/router) |
| **State Management** | [Zustand](https://zustand-demo.pmnd.rs/) |
| **Charts** | [Chart.js](https://www.chartjs.org/) + [react-chartjs-2](https://react-chartjs-2.js.org/) |

## 📦 Installation

### Download from Releases

Go to the [Releases](https://github.com/Saramanda9988/LunaBox/releases) page and download the latest installer.

### Build from source

#### Prerequisites

- [Go 1.24+](https://go.dev/dl/)
- [Node.js 18+](https://nodejs.org/)
- [pnpm](https://pnpm.io/)
- [Wails CLI](https://wails.io/docs/gettingstarted/installation)
- [msys2](https://www.msys2.org/)
- [NSIS](https://nsis.sourceforge.io/Main_Page)

```bash
# Install Wails CLI
go install github.com/wailsapp/wails/v2/cmd/wails@latest
```

#### Build steps

```bash
# Clone project
git clone https://github.com/Saramanda9988/lunabox.git
cd lunabox

# Install frontend dependencies
cd frontend && pnpm install && cd ..

# Run in development mode
wails dev

# Build production version
wails build

# Build locally using script (Windows)
.\scripts\build.bat all 1.0.0-beta
```

## 🤝 Contributing

Issues and Pull Requests are welcome.

## 🗺️ Roadmap

- [ ] Improve logging system
- [ ] Support importing data from ReinaManager
- [ ] Self-hosted Docker server
- [ ] IM platform bot plugin
- [ ] Multi-device synchronization
- [ ] Gallery feature
- [ ] Expose MCP and provide link-based game launch capability for AI
- [ ] "What to play next" recommendation feature
- [ ] Support Linux/macOS platform
- [ ] Support Korean/Traditional Chinese and other languages

## 😀 Open Source Inspired by Open Source

Inspiration:

- [PotatoVN](https://github.com/GoldenPotato137/PotatoVN) - Galgame 管理工具
- [ReinaManager](https://github.com/huoshen80/ReinaManager) - 一款轻量化的galgame和视觉小说管理工具
- [Playnite](https://github.com/JosefNemec/Playnite) - An open source video game library manager with one simple goal: to provide a unified interface for all of your games
- [Vnite](https://github.com/ximu3/vnite) - A unified platform to organize your game collection, track gameplay, with real-time cloud sync across devices and detailed gameplay reports

## 🙏 Acknowledgements

Game metadata APIs:

- [Bangumi](https://github.com/bangumi) - Bangumi番组计划
- [VNDB](https://vndb.org/) - The Visual Novel Database
- [月幕gal](https://www.ymgal.games/) - 请感受这绝妙的文艺体裁
- [萌娘百科](https://zh.moegirl.org.cn/) - 万物皆可萌的百科全书
- [Steam](https://store.steampowered.com/) - The world's largest digital game distribution platform

Archive extraction support:

- [7-Zip](https://www.7-zip.org/) - A free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives".

## 📄 License

This project is licensed under [AGPL v3](LICENSE).