io.github.pooriaarab/agentic-carousel

السجل الرسمي الذكاء الاصطناعي والوكلاء

Build platform-ready carousels from an outline.

ماذا يمكنك أن تفعل مع io.github.pooriaarab/agentic-carousel؟

  • Accept newline-separated or pipe-separated outlines, or arrays of title/body objects.
  • Add a hook and a call-to-action slide around the supplied content.
  • Require disclosure text on the final slide; SDK options can customize it.
  • Render escaped text into self-contained HTML with inline CSS.
  • List expected JSON, HTML, and PNG filenames with exportPlan; it writes no files.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package agentic-carousel
Claude Code
claude mcp add agentic-carousel -- npx -y agentic-carousel@0.1.0 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "agentic-carousel": {
            "command": "npx",
            "args": [
                "-y",
                "agentic-carousel@0.1.0",
                "mcp"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. agentic-carousel
  2. Install
  3. Create your first deck
  4. Features and coverage
  5. Runtime surfaces
  6. Behavior limits
  7. Links and status
  8. License

agentic-carousel is an open-source carousel deck generator for Node.js applications and AI agents, with JSON output, printable HTML, and social-platform text presets.

Install

npm install agentic-carousel

Requires Node.js 18 or later. Includes TypeScript declarations and two direct runtime dependencies.

Create your first deck

Save this example as carousel.mjs, then run node carousel.mjs.

import { writeFileSync } from "node:fs";
import { createCarousel, validateCarousel, renderCarouselHtml } from "agentic-carousel";
const deck = createCarousel("Better handoffs", "Give context|Name an owner");
writeFileSync("carousel-deck.json", JSON.stringify(deck, null, 2));
writeFileSync("carousel.html", renderCarouselHtml(deck));
console.log(deck.slides.length, validateCarousel(deck).valid);

Expect 4 true. Open carousel.html in a browser to see four 1080 × 1350 slides. No credentials, model calls, or network requests are required.

Features and coverage

  • Accept newline-separated or pipe-separated outlines, or arrays of title/body objects.
  • Add a hook and a call-to-action slide around the supplied content.
  • Require disclosure text on the final slide; SDK options can customize it.
  • Render escaped text into self-contained HTML with inline CSS.
  • List expected JSON, HTML, and PNG filenames with exportPlan; it writes no files.
Text presetStatusTitle limitBody limit
InstagramLocal validation only80 characters220 characters
LinkedInLocal validation only120 characters300 characters
TikTokLocal validation only70 characters180 characters

The code defines three presets. These are package rules, without live platform verification or publishing integrations.

Runtime surfaces

npx agentic-carousel carousel create --topic "Better handoffs" --slides "Give context|Name an owner"
npx agentic-carousel carousel validate --file carousel-deck.json --platform linkedin
npx agentic-carousel carousel render --file carousel-deck.json > carousel.html
npx agentic-carousel costs
npx agentic-carousel mcp

The CLI has five operational commands, plus --help and --version. The carousel prefix is optional. Create accepts --platform instagram|linkedin|tiktok and prints { deck, plan }; it does not save either object. The Model Context Protocol (MCP) server exposes five tools: create_carousel, validate_carousel, render_carousel_html, export_carousel_plan, and get_cost_report. The agentic-carousel-mcp binary starts the same server. The Worker you deploy has GET /health, POST /create, and POST /validate; create uses the default Instagram preset.

Behavior limits

Decks contain 2–10 slides, including the generated hook and final slide; outlines can contain at most eight content slides. All presets use the same HTML size. Text presets do not guarantee platform acceptance or visual fit. The package creates no PNG files or PDF files and does not upload or publish slides. The CLI accepts --live, but generation stays local. There is no remote generation mode. Carousel operations do not record cost units. The shared SDK also exports generic text summary and routing helpers.

Package · Source and support

Version 0.1.0 APIs can change. Public case studies are not yet published. Run npm run build, npm run typecheck, and npm test before contributing.

License

MIT.

الأسئلة الشائعة

ما هو io.github.pooriaarab/agentic-carousel؟

Build platform-ready carousels from an outline.

كيف أثبّت io.github.pooriaarab/agentic-carousel؟

يعمل على جهازك. في Claude Code: claude mcp add agentic-carousel -- npx -y agentic-carousel@0.1.0 mcp. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.pooriaarab/agentic-carousel إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.pooriaarab/agentic-carousel مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.pooriaarab/agentic-carousel؟

ينشره pooriaarab. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.