added media fixes, search, push updates, pwa, metrics. preparing release 1.0
CI / Go (build + vet + test) (push) Canceled after 0s
CI / Web (build + lint) (push) Canceled after 0s

This commit is contained in:
vantablackTea
2026-09-27 23:26:15 +03:00
parent 855a62755c
commit 6fc6d977bf
59 changed files with 6823 additions and 113 deletions
+19
View File
@@ -0,0 +1,19 @@
// Command keygen prints fresh VAPID keys for Web Push configuration.
package main
import (
"fmt"
"github.com/SherClockHolmes/webpush-go"
)
func main() {
private, public, err := webpush.GenerateVAPIDKeys()
if err != nil {
fmt.Println("failed to generate keys:", err)
return
}
fmt.Println("MESSENGER_VAPID_PUBLIC_KEY=" + public)
fmt.Println("MESSENGER_VAPID_PRIVATE_KEY=" + private)
fmt.Println("MESSENGER_VAPID_SUBJECT=mailto:you@example.com")
}