Skip to content
Sign upLog in
← Back to Community

DISABLING FORKING

Profile icon
NightxHearts

is it possible to disable forking???

Voters
Profile icon
SharkCoding
Profile icon
DolePilot
Profile icon
abirdThePro
Profile icon
Arcade15111511
Profile icon
NightxHearts
Comments
hotnewtop
Profile icon
qaiik

Yes, please use the pypi package (that I made): replforks. After installing it, make an environment variable in your project through the side-menu, called "fork tracking" without quotes (yes, keep the spaces). Give it the value "true" without quotes. Now in your program:

import replforks

print(replforks.is_forked())

Profile icon
mangohunt

@qaiik
it doesn't work
all it says is "No module named replforks"

Profile icon
qaiik

@GenlSprite
pip install replforks

Profile icon
alialiwa2005

I support this.

Sometimes, you've got to be private, but not always completely private (like a Hacker Plan private repository).

What I mean is, sometimes you want others to use your program, so you want your product to be accessible by the public, but in a closed-source way (so the actual code behind it is hidden and un-fork-able).

Please add an option, preferably one available for standard and Hacker plan users alike, to at least disable forking, and more ideally, hide the code behind the Repl, while allowing the public to access/run the repl.

Profile icon
ikpar3

I did it, on my repl hackorize. It is both password, and fork protected. It works by detecting if an environment variable has been erased.

Profile icon
IntellectualGuy

No, you have to buy the hacker plan and make those private repls, so they can't see them or form them, If you want then feature without hacker plan then I recommend suggesting it on feedback. Or maybe using another code editor.

Profile icon
RYANTADIPARTHI
Profile icon
icodeletion

No there is no way to disable people from forking your repl. The only way to do that is to buy hacker and have private repls so people can't see your repls and can not fork it.

Profile icon
ikpar3

@IOP3
I want people to see it, but I don't want random people to be able to use it.

Profile icon
Wumi4

No. Why are you asking for it?

Profile icon
NightxHearts

@Wumi4
i got 5 forkings on one of my repls- i dont really like people forking it :>