WP Manifestindependent plugin directory
manifest / updates / affi-brain-wp-plugin

Affi-Brain Connector

WordPress plugin for affi-brain integration (owner verification HTML deployment + auto-update via GitHub Releases)

★ 0stars
v2.0.0latest · 6mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gesukiwafukase510-bot/affi-brain-wp-plugin/archive/refs/heads/master.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

WordPress plugin that connects to affi-brain for site verification HTML deployment and automated content management.

Features

  • Owner verification HTML deployment (Google Search Console, Twitter, Pinterest, Yandex, Bing)
  • Token-based authentication (X-Affi-Token header)
  • Auto-update via GitHub Releases (Plugin Update Checker)
  • File whitelist + path traversal prevention

Installation

  1. Download latest release zip from Releases
  2. WordPress admin → Plugins → Add New → Upload Plugin
  3. Activate
  4. Settings → Affi-Brain → Enter site token (generated in affi-brain UI)

Auto-update

This plugin uses Plugin Update Checker to check GitHub Releases for new versions. WordPress's standard update notification will appear when new releases are published.

REST API

Base URL: https://<your-site>/wp-json/affi-brain/v1/

Method Endpoint Description
GET /info Plugin / WP version, site info, post counts
GET /verify-html List configured verification files
POST /verify-html Deploy a verification HTML to site root

All endpoints require X-Affi-Token: <token> header.

Security

  • Token stored in WP DB (never in plugin code or repo)
  • File writes restricted to owner verification patterns (google*.html, twitter*.txt, etc.)
  • Path traversal prevention (no .., /, \, \0 in filenames)
  • Whitelist-based filename validation (regex patterns)
  • Content size limit (1000 bytes per file)

License

Private use only.

Releases

2 releases.

Tag
Published
v2.0.0 latest
Apr 26, 2026 6mo ago
Apr 26, 2026 6mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.