Describe your feature request
My most common use of replit is for demonstrating small programs from StackExchange posts, when that can’t be done using TIO or ATO. The problem is, I have to fork a new Repl every single time, even though the Repls are very similar to each other. The differences are so small they could fit easily in URL query parameters.
For example, see my recent answer to Is this a Permutation of 1…n. I have three replit.com links in that post, and they’re all very similar; the only differences are the regex and the command-line parameters to RegexMathEngine.
What problem(s) would this feature solve?
If I could pass parameters via the replit URL, for example like this:
And then I could read the parameters via environment variables, then I’d be able to reduce this down to just a very small number of Repls, and it would be much easier to maintain them. (And I’d probably parametrize much more than the mock-up example above does.)
As it is now, each forked Repl has to have its own compiled copy of RegexMathEngine, and if I fix a bug in RegexMathEngine, I have to recompile it on each forked Repl individually if I want them all to benefit from the fix. That’s completely impractical already, given how many forks I have at this point.
Explain what you were trying to do when you came across the problem leading to this feature request
I’ve researched this for many hours, and I could not find any way to do it. Is there some way I missed? If not, I’d really appreciate it if this feature were added.