Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sveltelab/sveltelab

supercharged REPL for Svelte
https://github.com/sveltelab/sveltelab

repl svelte sveltejs

Last synced: 3 days ago
JSON representation

supercharged REPL for Svelte

Awesome Lists containing this project

README

        

[![A mockup of a phone with a Screenshot of SvelteLab.dev opened. SvelteLab: A REPL for SvelteKit projects: quickly spin up a SvelteKit Projects and share it with the world!](./header.png)](https://www.sveltelab.dev/)

---

**โœจ Features:**

- ๐ŸŒ— Light / Dark Mode
- ๐Ÿšจ TypeScript Errors
- ๐ŸŽจ Command Palette: Ctrl / CMD + Shift + P
- ๐Ÿงน Code Formatting
- ๐Ÿ“’ Templates (TypeScript, Tailwind, mdsvex)
- ๐Ÿ“„ SvelteKit File Icons
- ๐Ÿ›ค๏ธ SvelteKit Route Generation
- โž• [Svelte Add](https://github.com/svelte-add/svelte-add) integration
- ๐Ÿ“ฆ Install Packages
- โŒจ๏ธ Vim Keybindings
- ๐Ÿ‘ป Hide Config Clutter (show file tree from `/src`)
- ๐Ÿ’Œ Share Code via Hash or Share Project via ID
- ๐Ÿ™ Import from GitHub
- ๐Ÿ“ฆ Download Projects
- ๐Ÿ’ป [CLI](https://www.npmjs.com/package/sveltelab)
- ๐Ÿ”ง Editor Preferences

๐Ÿงก Made with Svelte, for Svelte, by Svelte lovers!

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

---

[๐Ÿงช Try it out now on sveltelab.dev!](https://sveltelab.dev/)

[![](https://api.iconify.design/material-symbols:docs.svg?color=%23ff4000) Read the Docs](http://docs.sveltelab.dev/)

[![](https://api.iconify.design/material-symbols:error-circle-rounded.svg?color=%23ff4000) Create an Issue](https://github.com/sveltelab/sveltelab/issues/new/choose)

[![](https://api.iconify.design/simple-icons:discord.svg?color=%23ff4000) Join the Discord](https://discord.gg/FbnT6wujQx)

![](https://api.iconify.design/simple-icons:twitter.svg?color=%23ff4000) Twitter: [@PaoloRicciuti](https://twitter.com/PaoloRicciuti), [@SarcevicAntonio](https://twitter.com/SarcevicAntonio)

---

# Development

default branch is now `main` if you have a local `master` branch you can update it like this:

```
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
```

1. download [fitting pocketbase binary](https://pocketbase.io/docs/) and place in root
1. `cp .env.sample .env`
1. `pnpm i`
1. `./pocketbase serve`
1. go to http://127.0.0.1:8090/_/ and setup your PocketBase Admin
1. `pnpm dev`