diff --git a/.gitignore b/.gitignore index 4181c3a..e272c7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # go executable -hermes +magicwallet # environment .env diff --git a/Makefile b/Makefile index 9546aa7..204b54a 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,11 @@ SOURCE := $(shell find fonts lib pages server -type f) main.go # build binary for deployment -build: hermes -hermes: $(SOURCE) +build: magicwallet +magicwallet: $(SOURCE) tailwindcss -i public/css/base.css -o public/css/tailwind.css templ generate -path pages - go build -o hermes . + go build -o magicwallet . # run code for development (no watch mode yet) run: diff --git a/README.md b/README.md index 3c92cf6..ea3ab40 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,29 @@ -# hermes - ``` -.__ -| |__ ___________ _____ ____ ______ -| | \_/ __ \_ __ \/ \_/ __ \ / ___/ -| Y \ ___/| | \/ Y Y \ ___/ \___ \ -|___| /\___ >__| |__|_| /\___ >____ > - \/ \/....wallet....\/ \/ \/ + .__ + _____ _____ ____ |__| ____ + / \\__ \ / ___\| |/ ___\ +| Y Y \/ __ \_/ /_/ > \ \___ +|__|_| (____ /\___ /|__|\___ > + \/ \//_____/..wallet..\/ ``` -> _Not the wallet you need, but the wallet you deserve._ +> _the wallet that will make your sats disappear_ ✨ + +**Features** + +- magic sats: you never know if they are real +- does not care about your privacy +- lessons about exit scams, shotgun KYC and other fun stuff +- any balance above $100 is a donation +- Wild West experience with no support or guarantees + +**Bugs** + +- can be self-hosted +- supports NWC send and receive +- withdrawals are sometimes possible +- might actually be useful +- lightning address **Development** diff --git a/go.mod b/go.mod index b85b43e..e99cf37 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ekzyis/hermes +module github.com/ekzyis/magicwallet go 1.22.0 diff --git a/hotreload.sh b/hotreload.sh index dec5b1a..e83fefb 100644 --- a/hotreload.sh +++ b/hotreload.sh @@ -2,7 +2,7 @@ # TODO: enumerate directories with shell WATCH="db/ env/ fonts/ lib/ lightning/ pages/ public/ server/" -BINARY=hermes +BINARY=magicwallet PID= set -e diff --git a/main.go b/main.go index bbe63af..1474231 100644 --- a/main.go +++ b/main.go @@ -7,22 +7,22 @@ import ( "log" "net/http" - "github.com/ekzyis/hermes/db" - "github.com/ekzyis/hermes/env" - "github.com/ekzyis/hermes/lightning" - "github.com/ekzyis/hermes/server" + "github.com/ekzyis/magicwallet/db" + "github.com/ekzyis/magicwallet/env" + "github.com/ekzyis/magicwallet/lightning" + "github.com/ekzyis/magicwallet/server" "github.com/lightninglabs/lndclient" ) func banner() { - fmt.Printf("" + - ".__\n" + - "| |__ ___________ _____ ____ ______\n" + - "| | \\_/ __ \\_ __ \\/ \\_/ __ \\ / ___/\n" + - "| Y \\ ___/| | \\/ Y Y \\ ___/ \\___ \\\n" + - "|___| /\\___ >__| |__|_| /\\___ >____ >\n" + - " \\/ \\/...wallet...\\/ \\/ \\/\n", - ) + s := ""+ +` .__ + _____ _____ ____ |__| ____ + / \\__ \ / ___\| |/ ___\ +| Y Y \/ __ \_/ /_/ > \ \___ +|__|_| (____ /\___ /|__|\___ > + \/ \//_____/..wallet..\/ ` + fmt.Printf("%s\n\n", s) } func main() { diff --git a/pages/components/head.templ b/pages/components/head.templ index f696df5..fb739de 100644 --- a/pages/components/head.templ +++ b/pages/components/head.templ @@ -2,7 +2,7 @@ package components templ Head() {
-