Discuss Scratch

CST1229
Scratcher
1000+ posts

Project Explorer

Project Explorer
A project.json viewer for Scratch projects
Check it out!




Project Explorer is a tool/utility/whateveryouwanttocallit that lets you view project.json info of projects.
This currently includes:
  • Seeing what operating system and Scratch version a project is made in
  • Sprite info
  • Block and comment counts, both total and per-sprite
  • Costume and sound viewing without downloading everything at once (the main purpose this project was made)

What's next? (maybe)

  • Fix bugs
  • More code info
  • 2.0 support
  • Maybe more?
If you want to look at/contribute to this project's terribly messy code, go here.
See the link at the top to visit it, and have fun!

Last edited by CST1229 (Nov. 23, 2021 19:49:43)

NFlex23
Scratcher
1000+ posts

Project Explorer

Amazing! Super cool
god286
Scratcher
1000+ posts

Project Explorer

I tried it out a few minutes ago, it's really cool!
kccuber
Scratcher
1000+ posts

Project Explorer


Lol why does garbomuffin user agent = windows 3.1
project: https://scratch.mit.edu/projects/414716080/
CST1229
Scratcher
1000+ posts

Project Explorer

kccuber wrote:


Lol why does garbomuffin user agent = windows 3.1
project: https://scratch.mit.edu/projects/414716080/
He set it to that I guess.
CST1229
Scratcher
1000+ posts

Project Explorer


Asset tab overhaul, with a built-in image viewer and sound support!
(If it's broken for you, clear your cache.)
mybearworld
Scratcher
1000+ posts

Project Explorer

Vector text doesn't quite work:

Project Explorer:


Scratch:
CST1229
Scratcher
1000+ posts

Project Explorer

mybearworld wrote:

Vector text doesn't quite work:
Known issue. I don't know how to prevent this (unless I embed the SVG directly but that complicates things).

Last edited by CST1229 (Oct. 30, 2021 08:52:11)

CST1229
Scratcher
1000+ posts

Project Explorer


Full asset name added + view in fullscreen (read: gosoccerboy5's image viewer) button that is not showcased in screenshot.
kccuber
Scratcher
1000+ posts

Project Explorer

CST1229 wrote:

mybearworld wrote:

Vector text doesn't quite work:
Known issue. I don't know how to prevent this (unless I embed the SVG directly but that complicates things).
I think the bug is because there's none of the fonts in the Scratch Paint editor in your website. I think you'd need to add TTFs of all the fonts, edited to use the name of the font that Scratch uses.
CST1229
Scratcher
1000+ posts

Project Explorer

kccuber wrote:

CST1229 wrote:

mybearworld wrote:

Vector text doesn't quite work:
Known issue. I don't know how to prevent this (unless I embed the SVG directly but that complicates things).
I think the bug is because there's none of the fonts in the Scratch Paint editor in your website. I think you'd need to add TTFs of all the fonts, edited to use the name of the font that Scratch uses.
I already tried, and it failed. Try making a PR to CST1229/project-explorer if you can get it working.

Last edited by CST1229 (Oct. 30, 2021 16:21:05)

CST1229
Scratcher
1000+ posts

Project Explorer

LandonHarter
Scratcher
1000+ posts

Project Explorer



Yey, it got my fake user agent.

CST1229 wrote:


Asset tab overhaul, with a built-in image viewer and sound support!
(If it's broken for you, clear your cache.)
AAAGGGHH YOU'RE LOOKING AT MY- /hj

Last edited by LandonHarter (Oct. 31, 2021 11:54:48)

CST1229
Scratcher
1000+ posts

Project Explorer

LandonHarter wrote:

AAAGGGHH YOU'RE LOOKING AT MY- /hj
Fun fact: That was one of the primary reasons this was created (because my PC couldn't handle getting fried by attempting to load your workspace).
Chiroyce
Scratcher
1000+ posts

Project Explorer

Nice stuff - but can you use an input box instead of alert();?

CST1229
Scratcher
1000+ posts

Project Explorer

Chiroyce wrote:

Nice stuff - but can you use an input box instead of alert();?
Maybe. It might be time to uncomment that project ID box now…

Last edited by CST1229 (Oct. 31, 2021 13:46:35)

-EmeraldThunder-
Scratcher
1000+ posts

Project Explorer

I like this, especially the ability to view and download images and sound. Do you think you could add the ability to download the .sb3?

Last edited by -EmeraldThunder- (Oct. 31, 2021 13:56:22)

mybearworld
Scratcher
1000+ posts

Project Explorer

-EmeraldThunder- wrote:

I like this, especially the ability to view and download images and sound. Do you think you could add the ability to download the .sb3?
Seeing as all you need is the project.json (which it uses), the md5 hashes of the assets (which show when you download an asset, so it has those as well) and the assets themselves (which it also uses), it is technically possible.
CST1229
Scratcher
1000+ posts

Project Explorer

-EmeraldThunder- wrote:

I like this, especially the ability to view and download images and sound. Do you think you could add the ability to download the .sb3?
Probably not, as that would require me to bundle a zipping library. You can already use something like the sb downloader (which supports sb2 and sb3, despite its name) for that.

mybearworld wrote:

and the assets themselves (which it also uses)
I don't use them, I just stuff their URL into an img element which downloads them for me.

Last edited by CST1229 (Oct. 31, 2021 14:36:16)

kccuber
Scratcher
1000+ posts

Project Explorer

CST1229 wrote:

Chiroyce wrote:

Nice stuff - but can you use an input box instead of alert();?
Maybe. It might be time to uncomment that project ID box now…
yeah. if you used svelte it would've been even easier (tho ive never used vue it might have a bind option too)

Powered by DjangoBB