MIT License

项目介绍

vishalgojha/social-flow 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 145 个 Star、20 次 Fork。

仓库全名
vishalgojha/social-flow
开源许可证
MIT License
Star 数
145
Fork 数
20

README 摘要

Social Flow Deterministic CLI for Meta profile, post, and ads workflows. Social Flow now standardizes on the latest deterministic CLI path. The shipped social binary, the dev entrypoint, and the TypeScript cli/ source all resolve to the same command surface and the same /.social-flow/config.json store. For the beginner-first path, start with the unified first-run flow, then open Studio: The Studio app is served at…

完整内容见 GitHub 原始 README 或本页 。

常见问题

social-flow 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 145 个 Star。

social-flow 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 social-flow 的源码?

可以直接克隆仓库:git clone https://github.com/vishalgojha/social-flow.git;安装与运行步骤见仓库 README。

social-flow 最近还在维护吗?

仓库最近一次更新为 4月22日,当前没有未关闭的 Issue;Star 数为 145,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Run Meta operations without chaos. Social Flow is a guided control plane for agencies, growth teams, and account operators managing Facebook, Instagram, WhatsApp, and Ads Manager workflows. It gives you one place for setup, daily execution, approvals, reporting, and handoffs via commands, gateway APIs, and an SDK.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
330
价值分
107
活跃状态
活跃

语言占比

Batchfile
Dockerfile
JavaScript
PowerShell
Shell
TypeScript

Release

贡献者

README

Social Flow

Social Flow Mint Logo

Deterministic CLI for Meta profile, post, and ads workflows.

Social Flow now standardizes on the latest deterministic CLI path. The shipped social binary, the dev entrypoint, and the TypeScript cli/ source all resolve to the same command surface and the same ~/.social-flow/config.json store.

For the beginner-first path, start with the unified first-run flow, then open Studio:

social start-here
social studio

The Studio app is served at /studio/app/, opens on Start Here in Beginner Mode, and keeps that mode persisted per browser.

Quickstart

# 1) Install
npm install -g @vishalgojha/social-flow

# 2) Set token, defaults, and AI provider
social onboard
# also provisions Chromium for browser automation unless you pass --skip-browser

# 3) Verify local readiness
social doctor
social status

# 4) Run a command
social profile get --fields id,name

Natural-language mode:

social ai --provider deterministic "list ads account act_123"
social ai --provider ollama "get my facebook profile"

Core Commands

social onboard
social doctor
social status
social status --profiles
social config
social accounts summary
social accounts check --only needs-setup
social accounts switch <name>
social profile get --fields id,name
social post create --message "Hello team" --page-id PAGE_ID
social ads list --account act_123
social ops center
social logs
social replay <LOG_ID>
social ai --provider deterministic "create post \"Hello\" page 12345"
social hatch

Studio

Launch the Studio app with:

social studio

That opens the canonical Studio route at /studio/app/. Onboarding notes:

  • Facebook/Instagram: opens Graph Explorer to generate a token.
  • WhatsApp: opens Meta App Dashboard (WhatsApp API Setup) for token generation.
  • social studio --frontend-path ... is available for local or external custom frontends, but it is not the primary app path.

WhatsApp Send Safety

social whatsapp send requires --sandbox or --prod (or set SOCIAL_WABA_MODE=prod). Sandbox mode prints the payload and never sends.

Retry tuning for transient Meta failures:

  • SOCIAL_META_RETRY_MAX (default 3)
  • SOCIAL_META_RETRY_BASE_MS (default 1000)
  • SOCIAL_META_RETRY_MAX_MS (default 8000)

Config Compatibility

  • Active state lives in ~/.social-flow/config.json
  • Existing ~/.social-cli/config.json and ~/.meta-cli/config.json are migrated automatically
  • Existing profile-based ~/.social-flow/config.json files continue to work; the latest CLI now reads and writes that shared schema directly

Developer Workflow

npm ci
npm run build:social-ts
npm run test:social-ts
npm start

npm run dev uses the same latest CLI entrypoint as the published social binary.

Docs

License

Open-core licensing:

评论

暂无评论