Loic. I think that splitting cowboy into two repositories is a bad idea. It will make your life a nightmare if you need git bisect This is exactly why erlyvideo is monolitic in single repo. Just keep your http code in separate subfolder src/http. This is really enough.