Replace plugin api with txgithub api.