Run locally with gemini

In order to have better control,
can you share your experiences with running locally (vscode under wsl or linux) and using gemini as llm (with “gemini-1.5-flash”) with my own API_KEY

I have already deno up and running to execute javascript under notebooks.