Back to the catalog

blog-publisher

Comprehensive knowledge for drafting and publishing blog posts for your personal blog.

Open source Open in the app JSON README (API)

About

Comprehensive knowledge for drafting and publishing blog posts for your personal blog.

Details

Kind
Plugins
Topic
No topic detected
Publisher
jduncan-rva
Origin
gemini
Category
ferramentas
Version
1.0.0
Stars
2
Last push
2025-12-02T17:58:35Z
Repository state
ativo
Added
2026-08-30 14:13:39
Updated
2026-08-30 14:13:39
Origin id
jduncan-rva/blog-assistant

README

# Blog Publisher Extension

A Gemini CLI extension that acts as an intelligent "Chief Content Officer" for your static site generator (SSG) blog. It helps you draft, SEO-optimize, and publish technical content directly to your existing repository.

## ⚠️ Important Disclaimer: Aiding Creativity, Not Replacing It

This extension is designed as a **creative assistant** and a **productivity booster** for quickly generating and structuring ideas into shareable blog post drafts.

**It is NOT intended to:**

*   **Replace the human creative process:** Your unique insights, perspective, and nuanced voice are irreplaceable. This tool helps with structure and initial content, not original thought.
*   **Produce long-form, publishable content directly:** While it generates full drafts, these are meant as a starting point. They require significant human review, refinement, and expansion to meet the quality standards for monetizable or high-value long-form writing.
*   **Generate fully monetizable content:** Content generated by this tool should always be viewed as a foundation for further human development, especially for any commercial or professional use cases. Always ensure accuracy, originality, and adherence to ethical content creation standards.

## 🚀 Features

*   **Platform Agnostic:** Built-in support for Astro, Hugo, Jekyll, Gatsby, and Eleventy.
*   **SEO-First Drafting:** Built-in protocols to ensure every post targets specific keywords and user intent.
*   **Personalized Voice:** Define your unique writing style (or analyze existing posts) to ensure consistency.
*   **In-Place Workflow:** Drafts and images are saved directly to your blog's repository, not hidden in the extension.
*   **Hero Image Generation:** Integrated prompt engineering for consistent hero images.

## 📦 Installation

1.  Clone this repository or download the source.
2.  Install into Gemini CLI:
    ```bash
    gemini extensions install ./blog-publisher
    ```

## 🛠️ Quick Start

1.  **Configure your blog:**
    Run the configuration wizard to link the extension to your blog repository.
    ```
    /config
    ```
    You'll select your platform (Astro, Hugo, etc.) and define where your posts and images live.

2.  **Define your voice:**
    Teach the AI how you write. You can analyze your existing posts or define a new persona.
    ```
    /voice
    ```

## ✍️ Usage

### Drafting a Post
Start the interactive drafting wizard. The extension will guide you through topic analysis, SEO research, and drafting.
```
/draft:personal "How to build a React hook"
```
*   **Output:** A markdown file in your blog repo (e.g., `src/content/blog/2025-10-22-react-hooks.md`) and a hero image.

### Managing Drafts
List all current drafts waiting in your repository.
```
/draft:personal list
```

### Publishing
Turn a draft into a live post. This runs a final SEO audit, updates frontmatter (e.g., removes `draft: true`), and commits the changes to git.
```
/publish:personal "2025-10-22-react-hooks.md"
```

## 🔧 Supported Platforms

Configuration presets are included for:
*   **Astro** (Default: `src/content/blog`)
*   **Hugo** (Default: `content/posts`)
*   **Jekyll** (Default: `_drafts` -> `_posts`)
*   **Gatsby** (Default: `content/blog`)
*   **Eleventy** (Default: `content/posts`)

*Custom configurations are also supported via the `/config` wizard.*

## 📄 Protocols

This extension enforces professional content standards using:
*   **SEO Protocol:** Ensures keyword targeting, intent matching, and proper structure.
*   **Copywriting Protocol:** Optimizes headlines and CTAs for conversion.

---
*Built for the Gemini CLI.*

More