Snippets
Svelte Apache Echarts
How to use apache echarts with svelte
#svelte
#chart
Simple javascript cache
How to create a basic javascript cache
#javascript
#cache
Svelte Brodcast Channel State
How to use the broadcast channel api with a state
#svelte
#broadcastchannel
Discord oAuth with Sveltekit
How to log in to a website with discord
#authentication
#sveltekit
#discord
Hono Server Sent Events
How to Server Sent Events with Hono
#javascript
#hono
Svelte image preview
Preview a selected image
#svelte
#image
Kiwi schema
How to use Kiwi schema
#javascript
#svelte
Metadata API
How to create a simple api to get metadata from a url
#javascript
#sveltekit
#metadata
Minecraft Skin preview
Preview a Minecraft Skin
#svelte
#minecraft
#threejs
Generate a pdf file
Different ways to generate a pdf file
#pdf
#html
Basic Permissions Class
A simple class to manage permissions
#authorization
#javascript
#authentication
Ptotopea Image Editor Iframe
A simple svelte component to integrate the photopea image editor in your svelte app
#svelte
#photopea
#image
Pnpm Monorepo
How to create a monorepo with pnpm workspaces
#monorepo
#pnpm
Authorization with Pundit
Pundit is a simple and powerful authorization library that allows you to define policies for your application.
#authorization
#javascript
QuickJS sandbox
A basic example on how to run user provided code in a sandbox in the browser with svelte
#sandbox
#javascript
#svelte
#vite
Sveltekit shallow routing with form
How to use sveltekits shallow routing with forms
#form
#sveltekit
Get License from package.json
How to get and show the projects license from package.json
#svelte
#javascript
Svelte Atropos.js
How to use Atropos.js with svelte
#svelte
#atropos
Sveltekit page store
How to use the sveltekit page store to access url parameters
#svelte
#sveltekit
Svelte ViewTransition
How to use the view transition api with svelte
#svelte
#viewtransition
SvelteKit auth with seperate Backend
SvelteKit auth with seperate Backend
#authentication
#sveltekit
#hooks
#locals
Sveltekit custom pathing
How to set up custom pathing in sveltekit
#sveltekit
Add Darkmode to sveltekit
How to add darkmode to a sveltekit project
#svelte
#sveltekit
#cookie
#tailwind
Sveltekit Files endpoint
How to list files with sveltekit
#sveltekit
#vite
Sveltekit Login Redirect
A basic example on how to redirect the user back to the previous page after login.
#sveltekit
#authentication
Sveltekit Pagefind
How to use Pagefind with sveltekit
#search
#sveltekit
#pagefind
Server Sent Events with SvelteKit
How to use Server Sent Events with SvelteKit
#javascript
#server-sent-events
#sveltekit
Tailwind add custom font
How to add a custom font to tailwind
#tailwind
#font
Timelock encryption
Timelock encryption allows you to encrypt data that can only be decrypted after a certain time
#javascript
#timelock
#svelte
Weather API
A simple function to return data with a weather api and some icons
#api
#weather