Skip to content
Projects

About

PC で動く高機能な将棋の GUI「ShogiHome」の開発リポジトリ

Web & App Development

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

ShogiHome

Test Test/CLI Audit codecov

日本語

This is a Shogi GUI app. You can play Shogi with AI, analyze games, and manage records.

You can use this app with any Shogi engines (AI) based on the USI Protocol, just like 将棋所.

Concept

There are excellent shogi software such as 将棋所 and ShogiGUI. However, most of them are developed privately and their source codes are not public. Authoritative Shogi AI developers have advocated the importance of source code sharing. ShogiHome publishes all its source codes. You can use or modify it under only a few restrictions.

ShogiHome is developed using Electron which is a web-based GUI framework. We make use of modern web technologies since we want this project to be widely used in the future. You can even run this on your web browser although only a portion of features are supported. As an Electron-based app, this is bundled with Chromium, so it is easy to guarantee the same operability and quality across different operation systems.

These days, 2-in-1 laptops are becoming popular. It is now possible to play Shogi on PCs with a touch screen. However, legacy desktop Shogi apps have very small UI components. These are not compatible with a touch display. We designed this app to have operability for touch devices.

Website

https://sunfish-shogi.github.io/shogihome/

You can try the web app on the above website.

Wiki

https://github.com/sunfish-shogi/shogihome/wiki

See the above wiki for information about usage and design.

Screenshots

Screenshot1

Screenshot3

Mobile

Downloads

You can download any version from Releases.

For Engine Developers

Communication logs of the USI and CSA protocols are disabled by default. See this page to enable them.

We have received several inquiries about not being able to register script files as engines. See this page if you want to run an engine with a shell script or an interpreted language.

Bug Reports / Contributing

Make sure to read CONTRIBUTING.md before you get involved.

If you have a GitHub account, you can create issues or pull requests. For major changes, please open an issue to discuss them before starting development. Make sure to use the provided templates when creating new issues or pull requests.

We strictly refuse issues and pull requests written by AI, as well as automated communication. Using AI partially or for translation is fine, but a human must be responsible for the conversation.

If not, please send messages through the Web Form.

You can see the development progress at Project Board.

Security

If you build ShogiHome yourself, please read Security for ShogiHome Development.

Development

Requirements

  • Node.js

Setup

git clone https://github.com/sunfish-shogi/shogihome.git
cd shogihome
npm ci

Launch

# Electron App
npm run electron:serve

# Web App
npm run serve
# Standard: http://localhost:5173
# Mobile  : http://localhost:5173/?mobile

Release Build

# Electron App (Installer)
npm run electron:build

# Electron App (Windows Portable App)
npm run electron:portable

# Web App
npm run build

Unit Tests

# test only
npm test

# coverage report
npm run coverage

# launch Vitest UI
npm run test:ui

Lint

npm run lint

CLI Tools

Licences

ShogiHome

MIT License

Icon Images

This app uses Material Icons saved in /public/icon. These assets are provided under Apache License 2.0.

Dependencies

See THIRD PARTY LICENSES for libraries used from renderer process.

electron-builder bundles license files of Electron and Chromium into artifacts.

Explore related projects

Loading…