CST1229

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!

NFlex23

Amazing! Super cool

god286

I tried it out a few minutes ago, it's really cool!

kccuber


Lol why does garbomuffin user agent = windows 3.1
project: https://scratch.mit.edu/projects/414716080/

CST1229

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


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

mybearworld

Vector text doesn't quite work:

Project Explorer:


Scratch:

CST1229

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).

CST1229


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

kccuber

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

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.

CST1229

LandonHarter



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

CST1229

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

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

CST1229

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…

-EmeraldThunder-

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?

mybearworld

-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

-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.

kccuber

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)