Detect github links and use the github api

Signed-off-by: Ah-Lun Tang <tang@ahlun.be>