Do Not Sell My Information      Privacy

Friday, March 26, 2021

Experimenting With Scratch API’s

I’ve been recently looking into the Scratch API and it looks pretty interesting, especially since I haven’t done much with API before.

So I decided to work on this cool profile stats viewer for Scratch and it looks pretty cool so far.


Demo

Right now it just uses GET https://api.scratch.mit.edu/users/mryellowdoggy


I basically called the API in PHP and displayed it on the page (it wasn’t super complicated).

I plan to add more though since its kind of useless currently because you can just find someone’s profile from the Scratch website using Better Search For Scratch and find the info through there.

Once I add some more stuff I’ll definitely post it on my projects page and put some documentation.

If you’re interested in using the API I do recommend checking out the Scratch Wiki article for it or the Unofficial Docs.

Tuesday, March 23, 2021

How to use Scratch CDN2 for Image Hosting

On the Scratch Forums you usually need a URL for your image to be hosted on. Many of the whitelisted image hosts cost money and require you to sign up for third party sites. Well, what if I told you that Scratch has a built-in image host? Yup, you can pretty easily use their CDN2 for image hosting on the forums.

The first thing you have to do is make a new project.

After that you should be able to upload an image as a backdrop.


From there you should be able to resize your image and edit it as you like.
Now we’re almost done!

Now go back into My Stuff and find the project you just made. Then you should be able to right click it and then press ‘Copy image address’.





The project editor was giving me trouble so I used one of my old animations for it.

Now, you should be able to go to the forums and put [img] BBcode tags around your URL.

Voila! There’s your image,


There’s also other tricks you can do with this. I recommend using Scratch Addons. If you have the Forum Image Uploader enabled on it, you’ll be able to click a button and upload it straight from your computer.



It uses a similar technique, all automated so you can get the image fast.

Well, there you go, now you know how to upload images using Scratch CDN2, all in only around 4 steps.

Siri 2.0: Making a GPT voice assistant

Once, while dabbling with AI again, I thought to myself, "Why can't I talk to AI?". Literally talk to it, not just type on a k...