Which part? I have a python code base (https://github.com/nindalf/kindle-highlight-sync) that scrapes read.amazon.com for my book highlights. It then exports the data into markdown files that are imported by my website.