Skip to content
Gemini CLI

DotShare for Gemini CLI

io.github.kareem2099/dotshare

Draft, preview and publish posts and threads to X, LinkedIn, Bluesky, Mastodon, Dev.to and more.

client:Gemini CLI transport:stdio runtime:npm

Install DotShare in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "dotshare": {
      "command": "npx",
      "args": [
        "-y",
        "dotshare-cli"
      ],
      "env": {
        "DOTSHARE_MEDIA_ROOTS": "<DOTSHARE_MEDIA_ROOTS>",
        "DOTSHARE_HOME": "<DOTSHARE_HOME>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

DotShare in other clients