this is a fork of https://github.com/kraktus/lichess-puzzler, which itself is a fork of the lichess puzzle generator.
Here the exported csv format is customized to be compatible with lichess puzzle database readers, like my other project, offline-chess-puzzles.
if possible, I'll also try to make a GUI and some other changes to make it more convenient to generate puzzles from our own games.
below is the original readme.
This is a fork of the lichess puzzle generator (also know as puzzles v2) that allow to generate puzzles from unanalysed PGN for your own usage. See the generator's README for detailed instructions.
The official generator makes several decisions that only make sense at lichess' scale, for example skipping all games from lower rated players, and games that have no computer analysis in their PGN, and only creating one puzzle per game at most.
By contrast, this fork intentionally will try to extract the maximum of puzzles from the provided PGN (while using the same heuristics to retain quality), for example by analysing games as needed.
Because I first developped it when I wanted to extract puzzles from 2021's WC games so we could include them in Lichess blogs.