You either make it public or go through the whole collaborator invite this wait for accept flow.
I built ShareMyGit to fix that: Get a read-only shareable link, no account needed for the viewer. Would love feedback from the self-hosted Git community.
For the first 50 users use the code EARLYBIRD to get 100% off :D