Alternative to GitHub, etc, that Doesn't Allow Forking or Cloning?

I’ve just spent a few days looking at places to deploy or host code and apps. This is the first time I’ve done this.

So I’ve checked out many places: GitHub, BitBucket, Heroku, etc.

My issue is that I have developed a simple app that, at least at the moment, I want people to be able to play, but I don’t want others to fork or clone the code.

So I want it to be available for public use (for playing purposes, not for coding purposes), but I’d like to restrict clones or forks.

I don’t mind for some of the other apps, which I’ve started to upload to GitHub and probably a few other places to feel out what each platform is like.

At the moment, it seems that even if I purchase a more advanced account on these sites, the code is still open-sourced.

I understand that that the point of most of these sites is that code and projects are open-sourced. I suppose, in short, what I’m asking is: is there a site where you can deploy or host an app publicly that will let you keep the code closed-source?

Thanks in advance

you can make a private repo, at least on github, that will make the code not visible to others, but you can deploy from the repo and host it where you want

Thank you, Ilenia.

Before I begin looking up how to do all of that, could you give me any tips or suggestions?

Is it as easy as it sounds?
And what would be a good recommendation for place to host?
Could I do that all on GitHub? Deploy a private repository on GitHub and then host it on GitHub?

Are there any very good tutorials on how to do this that anyone reading this could recommend?

Prior to last year when I starting to learn coding, the only experience I had was creating some WordPress websites…

Thanks again.

github by itself offers free hosting but only for small front end projects (GitHub Pages), you can find tutorials on how to use GitHub pages on GitHub itself: Quickstart for GitHub Pages - GitHub Docs, I don’t think you can host on github pages from a private repo, also the code of a frontend project is not really private, as you can just inspect the page. you need to have the important code on the back end if you don’t want it looked at

Ah, okay. I’ve just inspected a variety of pages and I’m surprised to be able to read the JavaScript. I’d assumed that only the HTML and maybe the CSS would be inspectable.

I’ll have to spend this week looking at different places where I could host it and weigh them up.

Thanks for your replies.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.