lichess-org/database ? reverse-engineered prompt

Reverse engineered prompt

Build me a tool that exports the Lichess database into clean PGN files so people can download and use the game data easily.

I want to be able to run it for a specific month, choose a different chess variant if needed, and send the output to a file name I choose. It should also support the main public exports like rated games, puzzles, and computer evaluations, and make it simple to generate those exports again whenever new data is available.

Please make it practical and easy to run from the command line, with a few scripts or commands for the common export tasks. If you need to check current Lichess export details or PGN expectations online, go ahead and look them up. The goal is a reliable data export project that creates standard PGN files people can use for analysis, research, or other chess tools.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab