Server to manage and dynamically add/remove .well-known entries.
Find a file
Asara 771916ba51
Some checks failed
Release / test (push) Successful in 2m44s
Release / release (push) Failing after 26m12s
chore: add go-releaser
2026-03-01 00:29:29 -05:00
.forgejo/workflows chore: add go-releaser 2026-03-01 00:29:29 -05:00
alby chore: add msc4143 for matrix calls 2026-02-21 22:28:01 -05:00
config chore: add msc4143 for matrix calls 2026-02-21 22:28:01 -05:00
db replace context with caller for zerolog, add vendor 2024-09-16 21:01:50 -04:00
matrix chore: add msc4143 for matrix calls 2026-02-21 22:28:01 -05:00
migrations replace lightningpub with alby 2025-01-10 23:12:51 -05:00
nostr chore: clean up nip-46 2026-02-15 20:07:28 -05:00
vendor chore: add nip-44 2026-02-15 02:32:06 -05:00
.gitignore Add goreleaser 2024-10-28 20:11:29 -04:00
.goreleaser.yaml chore: build with graviton extensions 2026-02-15 20:14:08 -05:00
go.mod chore: add nip-44 2026-02-15 02:32:06 -05:00
go.sum chore: add nip-44 2026-02-15 02:32:06 -05:00
LICENSE Initial commit 2023-01-25 04:46:23 +00:00
main.go replace lightningpub with alby 2025-01-10 23:12:51 -05:00
README.md fix: readme 2026-02-15 00:44:12 -05:00
sample.env chore: add msc4143 for matrix calls 2026-02-21 22:28:01 -05:00

well-goknown

Server to manage and dynamically add/remove .well-known entries. Requires postgres 15+

Pre-requisites

apt install podman
podman pull docker.io/library/postgres:15
podman run -e POSTGRES_PASSWORD=x -p 5432:5432 --name wg-psql docker.io/library/postgres:15

# setup postgres
PGPASSWORD=x psql -d postgres -U postgres -h 127.0.0.1 << EOF
CREATE DATABASE wgk;
CREATE USER wgk WITH ENCRYPTED PASSWORD 'x';
GRANT ALL PRIVILEGES ON DATABASE wgk TO wgk;
ALTER DATABASE wgk OWNER TO wgk;
EOF

To build a release version, go to a tag and run:

go build -ldflags="-X main.version=$(git tag)"