Compare commits

..

6 Commits

Author SHA1 Message Date
3eb5e58f13 Update README 2024-12-15 21:49:17 +01:00
affb131a80 Set NWC URI in data-nwc 2024-12-15 21:49:17 +01:00
02b24244a7 Update .env.sample 2024-12-15 21:49:17 +01:00
0f55c5d663 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-15 21:49:17 +01:00
6646e2e3db Use nixos-24.11 as channel 2024-12-15 21:48:58 +01:00
6b095c0fdf Rename to magicwallet 2024-12-15 21:48:58 +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() {
fmt.Printf("" + s := ""+
".__\n" + ` .__
"| |__ ___________ _____ ____ ______\n" + _____ _____ ____ |__| ____
"| | \\_/ __ \\_ __ \\/ \\_/ __ \\ / ___/\n" + / \\__ \ / ___\| |/ ___\
"| Y \\ ___/| | \\/ Y Y \\ ___/ \\___ \\\n" + | Y Y \/ __ \_/ /_/ > \ \___
"|___| /\\___ >__| |__|_| /\\___ >____ >\n" + |__|_| (____ /\___ /|__|\___ >
" \\/ \\/...wallet...\\/ \\/ \\/\n", \/ \//_____/..wallet..\/ `
) 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-23.11"; nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";
pkgs = import nixpkgs { config = {}; overlays = []; }; pkgs = import nixpkgs { config = {}; overlays = []; };
in in