Skip to content

Instantly share code, notes, and snippets.

@shrmpy
shrmpy / butler-oauth.go
Created June 30, 2022 02:15
itch CLI command butler login is the normal way to obtain the wharf scope key, but there is no arm; culled from mansion/authenticate.go
package main
import (
"fmt"
"net"
"net/http"
"net/url"
"regexp"
)