14

I have worked on a private project and would like to put it on my resume.

For that I am looking for a git service which allows me to share an access link to my repo, where anybody who has received that access link can read the contents of my repo without requiring the invited to have an account on the particular git web service and without me knowing any details about the consumer of the access link in advance.

It should basically work like a GoogleDrive or OneDrive share-via-link.

Ideally i should be able to set the expiration date of the access link and be able to generate different access links.

Now does such a Git web service exist? Currently I am using BitBucket, but it does not have this feature. I dont like the idea of putting my project on unrestricted public display.

pppery
  • 3,731
  • 22
  • 33
  • 46
J4ni
  • 217
  • 1
  • 2
  • 12

4 Answers4

14

You can use GitFront to share private git repositories.

It is a web application that allows you to import a repository and create a read-only version of it, which is sharable via link. The person receiving the link doesn't need to have an account to view the repository.

Disclosure: Affiliated with GitFront.

GitFront
  • 894
  • 3
  • 11
  • 7
    Based on the URL of your link being the same as, or containing, your user name, you appear to have linked to your own site/a site you're affiliated with. If you do, you must disclose that it's your site in your post. If you don't disclose affiliation, it's considered spam. See: [What signifies "Good" self promotion?](https://meta.stackexchange.com/q/182212), [some tips and advice about self-promotion](/help/promotion), [What is the exact definition of "spam" for Stack Overflow?](https://meta.stackoverflow.com/q/260638), and [What makes something spam](https://meta.stackexchange.com/a/58035). – Nick Sep 30 '20 at 11:41
  • 1
    @GitFront what's the cost to use GitFront? –  Sep 30 '20 at 19:54
  • 1
    GitFront is free to use at no cost while in beta. – GitFront Sep 30 '20 at 20:39
  • 1
    You should add Oauth to make it easier to give permission to private repositories – Pedro Oct 20 '20 at 16:14
  • 1
    This is perfect (I need to share a private repo for a class, but can't make it public). Some feedback, it's not the most obvious to figure out the deploy keys for GitHub. I figured it out eventually, but a better how-to page / instructions would be nice – osuwireless Feb 16 '21 at 05:16
  • 1
    @Pedro it does Oauth through email. I like how they made it optional since otherwise it gets deleted in a week – osuwireless Feb 16 '21 at 05:17
  • 1
    @GitFront, is it possible the "Clone" button to be disabled in a repository? – muca Apr 28 '22 at 11:59
  • 1
    @muca Currently, there is no option to disable it. – GitFront Apr 28 '22 at 15:08
  • 1
    This is great, except that GitFront doesn't have support for PDFs. Would have been great to use GitFront to host my resume. – Klik May 03 '22 at 14:56
13

This is:

So you might need to use a third-party option (like the ones you mention, or GitFront -- from Serbia -- mentioned below,) to package/publish (and update) your repository, for any user to access it with a link. For example, publish it as a bundle (one file).

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

As for GitFront, I faced insecure behavior. I recommend avoiding it, or at least using it carefully.

Details:

  • Shared repository and its URL is still accessible even if I removed the Repo from the list of my account.
  • The shared URL is still accessible even if I deleted my account.

Eventually, after 1x minute, that URL becomes 404. The service should have invalidated the shared URL rather than processing it asynchronously. It could cause undeletable resources if the asynchronous process has failed.

Asayu
  • 13
  • 5
-2

What about repo-view? - a project I created after having a similar issue sharing private projects as part of my CV.

It is a static web page that uses Github REST API to preview repos. It lets employers see your private GitHub repositories in your CV (with your permission of course) without making them public ↗️↗️.

Unlike GitFront, it has no 100MB repo size limit.

If you'd like to see how it works, there's a demo of it here.

Catija
  • 359
  • 6
  • 21
ibrahem
  • 370
  • 3
  • 12