Compare commits

..

5 Commits

Author SHA1 Message Date
7131b0262f Update README 2024-12-12 15:13:44 +01:00
22272313fb Set NWC URI in data-nwc 2024-12-11 08:34:11 +01:00
4eaec8c20e Update .env.sample 2024-12-11 08:32:49 +01:00
f0a608dd25 users, sessions and wallets w/o authentication
* if a request has no session cookie, a new user, session and wallet is created and session cookie is set
* if a request has a session cookie and session exists in db, we will fetch user and wallet from db
* this means that we have a user and wallet during each render without any login required
2024-12-11 08:29:20 +01:00
223c3a3915 Rename to magicwallet 2024-12-11 08:22:18 +01:00
2 changed files with 9 additions and 9 deletions

16
main.go
View File

@ -15,14 +15,14 @@ import (
)
func banner() {
s := ""+
` .__
_____ _____ ____ |__| ____
/ \\__ \ / ___\| |/ ___\
| Y Y \/ __ \_/ /_/ > \ \___
|__|_| (____ /\___ /|__|\___ >
\/ \//_____/..wallet..\/ `
fmt.Printf("%s\n\n", s)
fmt.Printf("" +
".__\n" +
"| |__ ___________ _____ ____ ______\n" +
"| | \\_/ __ \\_ __ \\/ \\_/ __ \\ / ___/\n" +
"| Y \\ ___/| | \\/ Y Y \\ ___/ \\___ \\\n" +
"|___| /\\___ >__| |__|_| /\\___ >____ >\n" +
" \\/ \\/...wallet...\\/ \\/ \\/\n",
)
}
func main() {

View File

@ -1,5 +1,5 @@
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
pkgs = import nixpkgs { config = {}; overlays = []; };
in