Hopefully someone converts this for self-hosted usage.