pinterest-browser-publisher

Automate Pinterest pin publishing via browser automation (Playwright). No API key needed. Supports jp.pinterest.com, single pins, carousels, and batch publishing. Cookie persistence for repeated use.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pinterest-browser-publisher" with this command: npx skills add jp-girl-agent/pinterest-browser-publisher

Pinterest Browser Publisher

Browser-based Pinterest automation using Playwright. No API required. Supports jp.pinterest.com with Japanese copywriting.

Quick Start

1. Install Dependencies

npm install -g playwright
playwright install chromium
cd skills/pinterest-browser-publisher
npm install

2. First-Time Login (Save Cookies)

node scripts/force-login.js

Opens browser → Log in manually → Cookies saved to ~/.config/pinterest/cookies.json

3. Publish Pins

# Auto-publish configured pins
node scripts/publish-fix.js

# Batch publish all pins
node scripts/auto-publish-all.js

# Single pin with custom params
node scripts/publish-jp-direct.js --images "./pin.png" --title "タイトル" --description "説明"

Scripts Overview

ScriptPurposeParameters
force-login.jsLogin & save cookiesNone
publish-fix.jsAuto-publish configured pinsBuilt-in config
auto-publish-all.jsBatch publish all pinsBuilt-in config
publish-jp-direct.jsSingle pin publish--images, --title, --description

Configuration

Cookie Storage

~/.config/pinterest/cookies.json (valid ~30 days)

Config File

~/.config/pinterest/config.json

{
  "headless": false,
  "slowMo": 100,
  "postDelay": 30000,
  "randomizeTiming": true
}

Custom Publishing

Edit scripts/publish-fix.js pins array:

const pins = [
  {
    image: '/path/to/image.png',
    title: '✨ピンタイトル✨',
    description: '説明テキスト #ハッシュタグ #日本語'
  }
];

Best Practices

Title Optimization

  • ✅ Use emoji (✨🌿💎🥐🪵)
  • ✅ Include keywords
  • ✅ Keep under 50 characters

Description Optimization

  • ✅ First 50 chars = core message
  • ✅ Use bullet points
  • ✅ Add 5-10 hashtags

Posting Schedule (JST)

  • 🌅 7:00-8:00 (commute)
  • 🍱 12:00-13:00 (lunch)
  • 🌙 20:00-22:00 (bedtime)

Rate Limits

  • Max 10 pins/hour
  • Max 50 pins/day
  • 20-30s delay between pins

Image Requirements

PropertyRequirement
FormatPNG, JPG
Min Width1000px
Ratio2:3 or 4:5 (portrait)
Size< 20MB

Example Pins

Home Decor

{
  image: './pins/home01.png',
  title: '✨轻奢×中古ミックス✨大人の部屋作りアイデア',
  description: '高級感とヴィンテージの絶妙なバランス🏠 #轻奢风 #中古风 #家居灵感'
}

Fashion

{
  image: './pins/outfit01.png',
  title: '👗优衣库神搭配👗5 着で 7 デイズコーデ',
  description: '着回し力抜群のアイテムで、一週間コーデが完成!#优衣库 #穿搭 #日系'
}

Plants

{
  image: './pins/plant01.png',
  title: '🌿室内绿植推荐🌿初心者でも育てやすい 10 選',
  description: '日陰でも育つ、手間いらずの観葉植物まとめました🪴 #植物 #绿植 #室内'
}

Troubleshooting

Cookie Expired

node scripts/force-login.js  # Re-login

Upload Failed

  • Check image path is correct
  • Verify PNG/JPG format
  • Ensure file size < 20MB

Title/Description Not Filled

  • Pinterest UI may have changed
  • Update selectors in script
  • Manual fallback available

Pin Not Visible After Publish

  • Wait 2-5 minutes for review
  • Refresh Pinterest homepage
  • Check spam folder

Verification

After publishing, check screenshots:

/tmp/fix*-done.png
/tmp/rem*-done.png

Success indicators:

  • Bottom: 「你的 Pin 图已发布!」
  • Right sidebar: 「发布完成」

Safety Features

  • ✅ Human-like mouse movement (Bezier curves)
  • ✅ Random delays between actions
  • ✅ Real browser (non-headless)
  • ✅ Session persistence
  • ✅ Rate limiting built-in

Dependencies

  • Node.js 16+
  • Playwright
  • Chromium (auto-installed)

Installation

# Global Playwright
npm install -g playwright
playwright install chromium

# Skill dependencies
cd skills/pinterest-browser-publisher
npm install

License

MIT License

Support


Last Updated: 2026-03-26
Author: jp-girl-agent
Version: 1.0.1

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

微信公众号自动发布增强版

一键发布 Markdown/HTML 文章到微信公众号草稿箱,支持自动配图、美化排版、UTF-8 编码

Registry SourceRecently Updated
6842Profile unavailable
Automation

ZeeLin Twitter/X AutoPost

ZeeLin Twitter/X 自动发推 + 回关 + 涨粉运营 — 通过 openclaw browser / Browser Relay 操作网页版 Twitter/X,无需 API Key。用户先在自己的浏览器登录并挂上 Relay,Agent 负责撰写推文并发布、一键回关粉丝、蓝V互关(认证关注者回关)...

Registry SourceRecently Updated
8651Profile unavailable
Automation

Twitter Web AutoPoster

通过浏览器工具自动操作网页版 Twitter/X,完成热点爬取、推文撰写和一键发布。支持全自动模式(无需用户确认)和手动确认模式。

Registry SourceRecently Updated
5510Profile unavailable
Automation

browser-use AI浏览器自动化

让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama,可执行填表、购物、搜索等任务。

Registry SourceRecently Updated