feat(api): add "view source" link based on git info