You can self-host Bitwarden via the excellent Vaultwarden server. Bitwarden can been used offline too since the vaults are also synced locally.