"Remix on Glitch" Button
Glitch is pretty dope. Run a server with 0 configuration at the touch of a button, with Github importing, and a ton easier to use than heroku, all for free??? Count me in! The Github import button is cool too, but pretty hidden and super manual :( . Now, in Observable, just import this function and you're good yo
import {glitch} from '@asg017/glitch'
glitch('https://github.com/eceusc/graffiti-wall')// pass in github link
glitch('eceusc/graffiti-wall') // or just the org/repo name
glitch = (repo) => { if(repo.includes('https://github.com/')) repo = repo.replace('https://github.com/', '').replace(/\/$/, '') const [orgname, repoX] = repo.split('/') return html` <a href="https://glitch.com/edit/#!/import/github/${orgname}/${repoX}"> <img src="https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg" alt="Remix on Glitch" /> </a>` }