Skip to content

Instantly share code, notes, and snippets.

View ThingEngineer's full-sized avatar
🎯
Focusing

Josh Campbell ThingEngineer

🎯
Focusing
View GitHub Profile
@ThingEngineer
ThingEngineer / README.md
Created March 7, 2024 17:42
SvelteKit Minimal PWA Install Button and Service Worker Auto Update Prompt

SvelteKit Minimal PWA Install Button and Service Worker Auto Update Prompt

How to use

Add this to your root +layout.svelte in your already working PWA

<script>
	import { beforeNavigate } from '$app/navigation';
	import { updated } from '$app/stores';
	import { onMount } from 'svelte';
@ThingEngineer
ThingEngineer / README.md
Last active March 7, 2024 17:31
SvelteKit PWA Install Prompt Browser Test/Demo

SvelteKit PWA Install Prompt Browser Test/Demo

How to use

Add this to your root +layout.svelte in your already working PWA

<script>
let deferredPrompt;
	let installButtonVisible = false;
	let output = '';

	onMount(() => {
@ThingEngineer
ThingEngineer / goes16-rtlsdr.md
Created May 28, 2020 15:59 — forked from lxe/goes16-rtlsdr.md
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle

Keybase proof

I hereby claim:

  • I am thingengineer on github.
  • I am joshcampbell (https://keybase.io/joshcampbell) on keybase.
  • I have a public key ASBGn17Q6cYHyA0N5tAK1OOVfN5SmHZVUCmeHBI33g7rhwo

To claim this, I am signing this object: