TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Leopard – Convert Scratch projects to JavaScript

6 pointsby PullJoshover 1 year ago

1 comment

PullJoshover 1 year ago
Hi HN! A few years ago, I began creating Leopard, a Scratch to JavaScript code converter. (Since then, I&#x27;ve received help from a few awesome open-source contributors. Thank you!)<p>I started using Scratch when I was in 2nd grade. I made over 500 games and projects, working with Scratch all the way into high school. I eventually moved on to JavaScript, but the transition was a difficult one. Much of the JavaScript world was unfamiliar, and learning to do everything new all at once was challenging.<p>Leopard is meant to be a transition tool that helps ease this learning process. It outputs human-readable JavaScript that is as close to a 1-to-1 translation as possible.<p>You can enter any Scratch project URL to convert it. If you don&#x27;t have one on hand, here are a few examples:<p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;345789566&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;345789566&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;905275127&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;905275127&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;891008805&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;891008805&#x2F;</a><p>(Note that getting compatibility <i>exactly</i> right is hard, so not every project will work perfectly, but many projects should be respectably close.)