Skip to content

Chess: use flumeview based chess database - #18

Merged
soapdog merged 4 commits into
soapdog:masterfrom
Happy0:chess_level_plugin
Nov 25, 2026
Merged

soapdog merged 4 commits into
soapdog:masterfrom
Happy0:chess_level_plugin

Conversation

@Happy0

@Happy0 Happy0 commented Nov 23, 2026 •

Copy link
Copy Markdown

At the moment ssb-chess uses an in-memory index of all the games (own and observable.) While that's fine for now, it would be a problem as the collection of games grows and it's better to store it on disk.

Uses https://github.com/Happy0/ssb-chess-index/ which populates a levelDB database via https://github.com/Happy0/flumeview-level-custom .

Note: this will cause Ponchowonky to update its chess index on startup. It stops the user viewing chess games etc until indexing is complete but it does not block the main functionality of the rest of the app since the flume indices the main features are built on top of don't need to get rebuilt.

On my machine the index takes less than a minute to get built.

@soapdog
soapdog merged commit 643fed5 into soapdog:master Nov 25, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants