Home / Market / publisher linkedin

publisher linkedin

Generate LinkedIn posts from blog content with automatic media attachment via LinkedIn API

claude-command★ 348350 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Read, Write, Bash, Glob, WebFetch argument-hint: <input> [lang] [custom-file-path] description: Generate LinkedIn posts from blog content with automatic media attachment via LinkedIn API

---

LinkedIn Post Generator

Create professional LinkedIn posts from any content source with optional media attachment.

Usage: $ARGUMENTS

Examples:

/publisher:linkedin my-post                    # Auto-detect and attach blog diagrams
/publisher:linkedin my-post en                 # English with diagrams
/publisher:linkedin my-post en image.png       # Custom image attachment
/publisher:linkedin my-post ja report.pdf      # Japanese with custom PDF

Process:

  1. Parse Input Arguments
  1. Universal Input Detection
  1. Generate Professional LinkedIn Post
  1. Handle Media Attachment
  1. Post via LinkedIn API (using Bash + curl)

LinkedIn API Authentication:

  1. Create LinkedIn app at https://www.linkedin.com/developers/apps
  2. Add credentials to .env:
   LINKEDIN_CLIENT_ID=your_client_id
   LINKEDIN_CLIENT_SECRET=your_secret
   LINKEDIN_ACCESS_TOKEN=your_token (auto-generated on first use)

Without API setup: Command still generates the post content for manual copy-paste.

Note: Works in ANY repo type (Python, Rust, Go, etc.) - uses only bash and curl, no Node.js required.