You require the following libraries of https://duckpan.org/
You can install App::DuckPAN of CPAN for this and then do the following command:
duckpan \ DDG \ DDGC::Locale::DuckduckgoDuckduckgo \ DDGC::Locale::DuckduckgoDontbubbleus \ DDGC::Locale::DuckduckgoDonttrackus
Inside the repository you can do this to get a live simulation:
If you want to generate the static files you can do the following from the repository:
perl -Ilib bin/ddg_publisher test_publish
The directory test_publish will be generated and filled up with the results.