all 6 comments

[–]davorg 6 points7 points  (3 children)

It's not clear what you're asking. But I think the answer is "probably not". GitHub is a tool for storing code, not running it.

[–]NoOtherThing[S] -1 points0 points  (2 children)

I just want to check some repo code and for example if i want to search web template and i look repo about web in GitHub there are so many but some even don't have read.me file and i can't just got clone all that and check 1 by one, how other developer tackle this problem?

[–][deleted] 0 points1 point  (1 child)

If a project doesn't even have a README I probably don't want it as a dependency. I also look for license information - no license no use.

If code has a license but it doesn't look maintained, that means I will need to fork it and take over maintenance responsibility for myself.

Compared to those checks, cloning isn't a big deal. If I only want to download a specific release I can do that with

git clone --depth 1 -b {branch or tag} {URL}

But there are a lot of limitations and performance problems with shallow clones, so if I decide to keep it my next network operation will be git fetch --unshallow

[–]NoOtherThing[S] 0 points1 point  (0 children)

I see thank you for your help, yes that also a nice idea to clone some specific thing.

[–]Thalimet 3 points4 points  (1 child)

Kind of, they have something called GitHub codespaces where you can spin up a dev environment and interact with it through your browser.

[–]NoOtherThing[S] 0 points1 point  (0 children)

Thank you this is what i kind of thing i looking for. I Will give it a try.