switch to use github content API completely