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() { func banner() {
s := ""+ fmt.Printf("" +
` .__ ".__\n" +
_____ _____ ____ |__| ____ "| |__ ___________ _____ ____ ______\n" +
/ \\__ \ / ___\| |/ ___\ "| | \\_/ __ \\_ __ \\/ \\_/ __ \\ / ___/\n" +
| Y Y \/ __ \_/ /_/ > \ \___ "| Y \\ ___/| | \\/ Y Y \\ ___/ \\___ \\\n" +
|__|_| (____ /\___ /|__|\___ > "|___| /\\___ >__| |__|_| /\\___ >____ >\n" +
\/ \//_____/..wallet..\/ ` " \\/ \\/...wallet...\\/ \\/ \\/\n",
fmt.Printf("%s\n\n", s) )
} }
func main() { func main() {

View File

@ -1,5 +1,5 @@
let 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 = []; }; pkgs = import nixpkgs { config = {}; overlays = []; };
in in