Agentic Carousel

io.github.pooriaarab由 GitHub 帳號 pooriaarab 發布v0.1.0更新於 Oct 24, 2026

Build platform-ready carousels from an outline.

發布方自己的服務:agentic.no

已驗證STDIO僅桌面效率與工作流媒體與設計

概覽

AI 產生的概覽

一個本機 MCP 伺服器,可依大綱產生社群媒體輪播內容,並驗證、渲染為 JSON 或自包含 HTML。

可以做什麼
依換行、直線分隔或標題/內文物件的大綱建立輪播,自動加入開場鉤子頁與行動呼籲頁,並在末頁加入必要的揭露文字。依 Instagram、LinkedIn 或 TikTok 文字預設驗證輪播。將輪播渲染為含內嵌 CSS 與轉義文字的自包含 HTML。以匯出計畫列出預期的 JSON、HTML 與 PNG 檔名,但不寫入檔案。回報成本單位,而輪播操作本身不記錄成本。
適用情境
適合讓助理在本機草擬、檢查並預覽簡短的社群輪播內容,例如把粗略大綱變成投影片與 HTML 預覽,再手動發布。
執行需求
透過 npx 從 npm 套件 agentic-carousel 以本機程序執行,需要 Node.js 18 或更新版本。無需憑證、模型呼叫或網路請求。
安裝前請注意
輪播限制為 2–10 頁(含自動產生的鉤子頁與末頁),內容頁最多八頁。平台預設僅為本機文字長度規則,不保證平台接受或視覺適配。此套件不產生 PNG 或 PDF 檔案,也不上傳或發布投影片;即使使用 live 旗標,產生仍在本機進行。0.1.0 版 API 可能變動。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agentic Carousel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

agentic-carousel

[npm version] [Monthly downloads] [License: MIT]

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

sh
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.

js
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

sh
npx agentic-carousel carousel create --topic "Better handoffs" --slides "Give context|Name an owner"npx agentic-carousel carousel validate --file carousel-deck.json --platform linkedinnpx agentic-carousel carousel render --file carousel-deck.json > carousel.htmlnpx agentic-carousel costsnpx 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.

Links and status

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.

來源:README.md,提交 091b664

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Oct 15, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentic 整合