Ask coding questions

← Back to all posts
Fork Repl every time someone changes a publically shared code
h
Willbadr (0)

How can I fork repl every time someone changes a publically shared code? I want to prevent public from changing the source code.

Commentshotnewtop
a5rocks (534)

1st) That's quite invasive

2nd) Repl probably won't be happy about you having thousands of repls created every hour (well idk the exact number)

3rd) AFAIK, you can only know the latest repls, not the latest UPDATED repls.

4th) Pretty sure the above is accomplished through a query with the GraphQL API, so that's a starting off point (I used to know how but completely forgot).