K-Sato1995 / SvelteLab

supercharged REPL for Svelte

Home Page:https://sveltelab.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A mockup of a phone with a Screenshot of SvelteLab opened. SvelteLab: A REPL for SvelteKit projects: quickly spin up a SvelteKit Projects and share it with the world!


✨ Features:

  • πŸŒ— Light / Dark Mode
  • 🎨 Command Palette
  • 🧹 Code Formatting
  • πŸ“’ Templates (TypeScript, Tailwind, mdsvex)
  • πŸ“„ SvelteKit File Icons
  • πŸ›€οΈ SvelteKit Route Generation
  • βž• Svelte Add
  • πŸ“¦ Install Packages
  • ⌨️ Vim Keybindings
  • πŸ‘» Hide Config Clutter (show file tree from /src)

🧑 Made with Svelte, for Svelte, by Svelte lovers!

πŸ”Œ Powered by SvelteKit, WebContainers, CodeMirror, Xterm.js and PocketBase


πŸ§ͺ Try it out now!

Create New Issue

Discord

Twitter: @PaoloRicciuti, @SarcevicAntonio


FAQ

Are my projects secure?

Simply put, no. SvelteLab not meant as a IDE for building real world applications, but for sharing Svelte expeirments. Do not use it to store private API keys or other secrets, as all contents will be saved or shared as plaintext.

Where can I enable Vim Keybindings?

Use the command palette to enable Vim Keybindings! Press Ctrl / CMD + Shift + P and search for "Vim".

Why not just use StackBlitz or similar?

Our aim isn't to create a fully fledged online web dev development environment as StackBlitz and other tools do that already.

We wanted to create something that has the ease of use of the Svelte REPL, but allows for more types of experiments that require SvelteKit because of routing or other features. We also wanted to provides features that we craved for the REPL like dark mode and code formatting.

Therefore we aim on providing a focused user interface for quickly building and sharing SvelteKit explorations, building on the same WebContainer API that also powers StackBlitz while providing useful features in a command palette.


Development

Note If you are using an AdBlocker like uBlock Origin, you might have to disable it while developing due to the Vercel Analytics script.

pnpm i
pnpm dev

About

supercharged REPL for Svelte

https://sveltelab.dev

License:MIT License


Languages

Language:Svelte 51.0%Language:TypeScript 34.9%Language:CSS 7.5%Language:JavaScript 5.2%Language:HTML 1.4%