PoXter is a local-first publishing workflow for reviewing week plans, drafting posts, and coordinating Buffer-backed scheduling when explicitly enabled.
- A small local app for import, review, dry-run, and scheduling workflows.
- A SQLite-backed tool that keeps private brand data on your machine by default.
- An explicit Buffer client for live actions only when you opt in.
- Not a direct X/Twitter automation bot.
- Not a public multi-tenant service.
- Not a background scheduler that posts without review.
- Not a place to store secrets in git.
- Import week-plan JSON into local drafts.
- Review draft copy before scheduling.
- Run dry-run checks without calling Buffer.
- Resolve brands from demo config or private local config.
- Keep scheduling and delete actions explicit.
- Local-first SQLite data store by default.
BUFFER_API_KEYonly needed for live Buffer actions.- Dry-run, import, and review stay local.
- Never commit
.env,.local, DB files, generated files, or secrets.
Default public repo uses config/brands.example.json.
Private brands stay in $HOME/.config/poxter/brands.local.json or POXTER_BRANDS_FILE.
Never commit private brand names, channel IDs, .env, .local, DB files, generated files, or secrets.
For a chat-guided clone setup, ask Codex to configure PoXter and follow the onboarding guide. It prepares the local database, private brands, Buffer connection, channel mappings, and MCP registration. The Buffer key is entered on a private local page.
pnpm install
pnpm prisma generate
pnpm prisma db push
8A50
pnpm prisma:seed
pnpm check:poxterFor local config, create $HOME/.config/poxter/env:
mkdir -p "$HOME/.config/poxter"
cat > "$HOME/.config/poxter/env" <<'EOF2'
DATABASE_URL="file:/absolute/path/to/poxter/dev.db"
POXTER_HOST="0.0.0.0"
POXTER_PORT="3000"
BUFFER_API_KEY=""
POXTER_BRANDS_FILE=""
EOF2Optional private brands file:
cat > "$HOME/.config/poxter/brands.local.json" <<'EOF2'
{
"brands": [
{ "slug": "demo-brand", "name": "Demo Brand", "timezone": "Europe/Madrid", "platforms": ["x"] }
]
}
EOF2Brand resolution order:
POXTER_BRANDS_FILE$HOME/.config/poxter/brands.local.jsonconfig/brands.example.json
Use demo brands for public examples. Keep private brands outside repo.
- Authoring contract:
docs/contracts/schedule-json-authoring.md - Example payloads:
docs/contracts/*.example.json brand.slugmust exist in registry.brand.namemust match the configured name for that slug.schema_versionmust matchsocial-controller.week-plan.v1.
BUFFER_API_KEYis optional unless you run live Buffer actions.- Dry-run and review do not call Buffer.
- Live scheduling and some delete flows require explicit Buffer access.
The local MCP server exposes onboarding status, brands, drafts, review, week-plan validation/import, calendar records, and Buffer settings. It uses the same SQLite database and brand configuration as the web app. The web app does not need to be running.
Prepare the installation with pnpm install, pnpm prisma generate, and pnpm prisma db push. The server reads $HOME/.config/poxter/env through the normal local launcher. Start it manually with pnpm mcp:poxter when testing an MCP client.
Register it with Codex using an absolute path to this checkout:
codex mcp add poxter -- bash /absolute/path/to/poxter/scripts/mcp/poxter-mcp.shFor Codex Desktop on Windows with this checkout in WSL, run the same registration from PowerShell, replacing the WSL path and distribution if needed:
codex mcp add poxter -- C:\Windows\System32\wsl.exe -d Ubuntu-22.04 -- bash /home/your-user/projects/poxter/scripts/mcp/poxter-mcp.shOpen a new Codex chat after registration so the MCP tools are loaded. The schedule_approved_drafts tool is the only live Buffer scheduling action; review the approved drafts and request scheduling explicitly before using it. The other editing tools change local PoXter data.
MIT