That’s fantastic!! I can’t wait to try this out!
How did you enable token access? I only see the ability to connect via OAuth2.
As an aside, even though it’s not a standard .env
format, if you use JSON in that file it makes your life a lot easier to parse and access the keys/data:
const conf = JSON.parse(fs.readFileSync(app.vault.adapter.basePath + '/.env'))