An actual straight line would be tangent to the earth at that point, so I don’t think that would work well for anything over a few hundred miles.

App should be "What star you would hit if you went straight where you're pointing"