The purpose of this tool is to run semgrep and generate HTML report. Semgrep has no option to produce HTML reports all by itself. The tool executes semgrep on give source directory using templates provided and generates a decent HTML report.
$ python3 parse-semgrep.py --input /mnt/d/Dev/dvja-master --output /mnt/d/Dev/dvja-master/out.html --templates /mnt/d/Dev/semgrep-rules-develop/semgrep-rules-develop/java/
pip3 install jinja2 semgrep