It could be pure client-side right? I don't think it really needs any server side logic. It should be something like njump.me/#npub....
using the # to pass the target to the client-side njump code
That could be made as a PWA perhaps for an even better experience on phones, redirecting to the user-specified app