rizerphe / obsidian-companion

Autocomplete your obsidian notes with AI, including ChatGPT, through a copilot-like interface.
MIT License
232 stars 27 forks source link

Store API key in a separate file? #19

Open petergaultney opened 11 months ago

petergaultney commented 11 months ago

I, like many others, use Obsidian Git to synchronize my notes.

I don't want to commit my API key to git and then push that through GitHub or similar systems; there's a good chance it will get scanned by Github and then they could notify OpenAI and the key could be disabled.

I do want to commit my preferences, stored in data.json, however.

If possible, it would be nice to have an secrets.json file (that lives alongside data.json) that I could easily .gitignore.