Yet another JS playground, with a simple rule: Your code never leaves your browser
Open Source Typescript/Javascript Playground
Feature request: Online javascript playground for testing Supabase client calls
Really simple JavaScript console "playground"/"sandbox" for anyone, esp. beginners.
those are the two good ones - you can even just write code in a .js file and open it with the browser and it will display the results of a function or whatever you write. That's how I used to test simple functions.
More on reddit.comIs PlayCode's JavaScript compiler free?
What is a JavaScript compiler?
Does the JavaScript compiler work offline?
Videos
Factsheet
Hey r/javascript,
I built Glyphide, an open-source JS scratchpad, based on a few principles I wanted in a tool for myself:
- 100% Local & Private: No accounts, no servers, no tracking. It's your code, on your machine. Execution happens entirely in the browser.
- A Clean, Deliberate UI: The interface is minimal but capable. It's fully responsive, so you can easily inspect and run code on a phone.
- Modern JS Environment: It handles modern syntax, including Promises and `async/await`, so the environment works as you'd expect.
It's designed for simple tasks: prototyping functions, testing algorithms, or sharing interactive code examples.
The main trade-off is that code is shared via the URL to keep it serverless. This makes it ideal for snippets, not large applications.
It's powered by QuickJS running in a Web Worker. I'm open to any feedback.
Try it live: https://glyphide.com
Example: Fetch top stories from Hacker News
GitHub Repo: https://github.com/Pkcarreno/glyphide
Key features:
-
On-key-press interactivity (see results as you type)
-
Special logs for fetch requests with detailed response data
-
Built-in object inspector (no need to open Chrome dev tools)
-
Prettier integration for automatic code formatting
-
All execution happens in your browser (your code stays private)
-
Interactive logs that connect directly to your code
Under the hood it utilizing vscode & vscode language server. Utilizing ses (harden javascript) for secure execution, utilizing swc wasm to compile in a worker, and unique approach to logging outputs.
I built it originally for a product of mine but I thought it was too good to keep it behind a signup page. There's still improvements I need to make
Would love to hear your feedback if you try it out!
Host at https://puredev.run/playground
I love the online SQL query functionality on Supabase. It's great for testing and running SQL queries. However, I find myself often wanting to do the same but running the Supabase js client. It would be great to be able to run and test the library without having to boot up vscode and setting up a project etc.