Hacker News new | ask | show | jobs
by sqs 3339 days ago
We do have an API available to customers running Sourcegraph internally. We plan to open it up to users of Sourcegraph.com in the future, but I don't have a date for that.

In the meantime, URLs like the following will stay around forever:

https://sourcegraph.com/REPO@GITREV/-/blob/DIR/FILE#L123

And there is no indexing step required (except for the initial clone), so you don't need to query for that. Sourcegraph's code analysis is realtime.

Feel free to email if you want more info! sqs@sourcegraph.com