Copying every pixel would be smarter than trying to reinvent it from scratch. Knowing how much split testing Github does, I don't understand your logic. "Better" is a subjective (and perhaps moving) target, but 'just as good, while keeping it open source' is a more objective route.