Discuss Scratch

rox
Scratcher
10 posts

experimenting with scratchr (not scratchr2)

i have a virtual machine of a pre-configured version of scratchr from this forum post -> https://scratch.mit.edu/discuss/topic/53618/
would it be possible to somehow get that running on a proper website or?

hi im rox i go by she/her pronouns and im 14
developer of Luckode(X) (that's supposed to be a link to https://tweetythebird92.itch.io/luckode)
active on scratch and twitter and hjonk and youtube and tumblr and discord and steam as tweetythebird92 (not github tho!)
https://tweetythebird92.neocities.org
-S0dium-
Scratcher
16 posts

experimenting with scratchr (not scratchr2)

rox wrote:

i have a virtual machine of a pre-configured version of scratchr from this forum post -> https://scratch.mit.edu/discuss/topic/53618/
would it be possible to somehow get that running on a proper website or?

Probably, but I’m no website expert, maybe ask chipmunk if he could add it to the site as like r.scr.chipmunk.land or something
chipmunkmc
Scratch Team
76 posts

experimenting with scratchr (not scratchr2)

rox wrote:

i have a virtual machine of a pre-configured version of scratchr from this forum post -> https://scratch.mit.edu/discuss/topic/53618/
would it be possible to somehow get that running on a proper website or?

I've honestly never worked with ScratchR, but generally speaking if you configure the website to listen on port 80 and then expose that port to the internet (for instance by port forwarding), and optionally getting SSL certificates (for instance via certbot) and configuring the site to listen on port 443 too.
You can also use tunneling services to expose a site running on any port to the net.

Heathercat123 seems to know some stuff about ScratchR, and even wrote a guide on setting it up under Windows. I'll try to tell him about the thread.

Last edited by chipmunkmc (July 12, 2026 00:35:48)


https://max.chipmunk.land/
hi, this is my signature!
chipmunkmc
Scratch Team
76 posts

experimenting with scratchr (not scratchr2)

-S0dium- wrote:

rox wrote:

i have a virtual machine of a pre-configured version of scratchr from this forum post -> https://scratch.mit.edu/discuss/topic/53618/
would it be possible to somehow get that running on a proper website or?

Probably, but I’m no website expert, maybe ask chipmunk if he could add it to the site as like r.scr.chipmunk.land or something

So far all subdomains of scr.chipmunk.land are frontends to the same database, so Ideally a ScratchR frontend would do the same, however its database schema differs from APIClone's.
Heathercat123 seems to have started working on rewriting ScratchR for Django, the framework used by ScratchR2 and APIClone, and also to be plugged into APIClone. I think I might just want to use that.

https://max.chipmunk.land/
hi, this is my signature!
Heathercat123
Scratcher
51 posts

experimenting with scratchr (not scratchr2)

chipmunkmc wrote:


Heathercat123 seems to know some stuff about ScratchR, and even wrote a guide on setting it up under Windows. I'll try to tell him about the thread.


That guide sucks and isn't meant for a public website, so don't expect it to "just work"! I'll definitely have to write a new one eventually.

Either way, I personally wouldn't blindly trust PHP code that's unmaintained since 2012, though the only weak points that I noticed are:
  • It can only run on up to PHP 5.6 (IIRC) without patches
  • It runs on CakePHP 1.2 RC2 from like 2008
  • IIRC it has poor form validation at some places like the Sign Up form. Not that APIClone is any better.

I have a fork that resolves the first two, though it's pretty broken.

Creator of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.
Heathercat123
Scratcher
51 posts

experimenting with scratchr (not scratchr2)

rox wrote:

would it be possible to somehow get that running on a proper website or?

Please don't. ScratchR's security practices aren't the best, let's say. For instance, it stores passwords in unsalted MD5, which, if someone gets access to the database using, for instance, some other bug in that box of PHP code unmaintained since 2012, would mean that user's passwords would be incredibly easy to crack.

Please don't host a public ScratchR instance.

Yours truly,
Someone who has experience with ScratchR

Creator of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.

Powered by DjangoBB