Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- Cool--Scratcher
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
Guys. Josh literally says in the first post that only some projects will work with Leopard. Choose a smaller project that uses a minimal amount of blocks and include some cool stuff. Translate it using Leopard and learn from it. No need to try translating something super insane, lol
- GoldenCraftVsGames
-
Scratcher
2 posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/729146047/
i'm new to using this program btw.
Just loaded this, gave an error.
I wasn't using any external additions (pen, etc.), and this is a new project made using Scratch 3.0
Really need to know what the problem is.
Thx
i'm new to using this program btw.
Just loaded this, gave an error.
I wasn't using any external additions (pen, etc.), and this is a new project made using Scratch 3.0
Really need to know what the problem is.
Thx
- bloctans_4
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/729146047/i dont trust JSON.parse.
i'm new to using this program btw.
Just loaded this, gave an error.
I wasn't using any external additions (pen, etc.), and this is a new project made using Scratch 3.0
Really need to know what the problem is.
Thx
- Redstone1080
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Is there a public API you can use to convert projects?
- PullJosh
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Is there a public API you can use to convert projects?Not a very good one, but if you hit
https://leopardjs.com/api/PROJECT_ID/codesandbox
- Redstone1080
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
(#634)Thank you! Maybe I could make an API that uses browser automation to get the content of the codesandbox and then returns the content of all the files…Is there a public API you can use to convert projects?Not a very good one, but if you hitit will create a codesandbox and give you back the link as JSON. (Replace PROJECT_ID with the id number found in the project's URL.)https://leopardjs.com/api/PROJECT_ID/codesandbox
- worthyworm
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
what about sb3 files instead of just public scratch links
- PullJosh
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Alternatively, you could create a fork of the website repository to create your own version of leopardjs.com that does something different. If you edit this file you could make your own API that just gives the file contents directly rather than creating a codesandbox.(#634)Thank you! Maybe I could make an API that uses browser automation to get the content of the codesandbox and then returns the content of all the files…Is there a public API you can use to convert projects?Not a very good one, but if you hitit will create a codesandbox and give you back the link as JSON. (Replace PROJECT_ID with the id number found in the project's URL.)https://leopardjs.com/api/PROJECT_ID/codesandbox
If you do this, it would be very easy to host your own edited copy of leopardjs.com for free using Vercel.
- DifferentDance8
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
what about sb3 files instead of just public scratch linksFYI: The links do not have to lead to shared projects. They can lead to unshared projects as well.
Proof: I tried using leapord for one of my coder dojo projects.
- Redstone1080
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
(#638)Alright, might look into it. Thanks!~quotes snipped~Alternatively, you could create a fork of the website repository to create your own version of leopardjs.com that does something different. If you edit this file you could make your own API that just gives the file contents directly rather than creating a codesandbox.
If you do this, it would be very easy to host your own edited copy of leopardjs.com for free using Vercel.
- bananasteddy
-
Scratcher
45 posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/742330713/
does not work
does not work
- FlipBookMan21
-
Scratcher
54 posts
Leopard: Edit Scratch projects as JavaScript code
Help! why wont my project convert? idk whats wrong, i didnt use any extensions/ blocks that don't work. heres the project, maybe someone will see something i didnt.
thanks
https://scratch.mit.edu/projects/716113243/
thanks
https://scratch.mit.edu/projects/716113243/
- GreenFasou
-
New Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
Hi I need help
why wont my project convert?
please help me
https://scratch.mit.edu/projects/749969825
Thanks
why wont my project convert?
please help me
https://scratch.mit.edu/projects/749969825
Thanks
- Itz_Wolfram
-
Scratcher
66 posts
Leopard: Edit Scratch projects as JavaScript code
Can you help me, this project wont convert
https://scratch.mit.edu/projects/715850379/
https://scratch.mit.edu/projects/715850379/
- pooiod7
-
Scratcher
92 posts
Leopard: Edit Scratch projects as JavaScript code
so many posts displaying it not working
- Itz_Wolfram
-
Scratcher
66 posts
Leopard: Edit Scratch projects as JavaScript code
so many posts displaying it not workingFor mine, i think it might be too large.
- ego-lay_atman-bay
-
Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
FYI: The links do not have to lead to shared projects. They can lead to unshared projects as well.At some point, this will not be possible anymore. https://docs.turbowarp.org/unshared-projects
- ego-lay_atman-bay
-
Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
(#645)Of course. No one bothers to say anything when it does work (unless they previously said that it doesn't work).
so many posts displaying it not working