git clone https://github.com/zkm2/shamichan
git clone https://github.com/meowmin/thumbnailer

should all be in the same top directory like guca/meguca guca/thumbnailer
run git apply for the proper patch in each directory and commit them in a local branch
read docs/installation.md for dependencies
