Linux 软件免费装
Banner图

ctrlweb Site Portrait

开发者 ctrlwebinc
更新时间 2026年10月29日 01:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

migration server hosting site health system info

下载

1.0.0

详情介绍:

Choosing the right hosting means knowing your site: WordPress and PHP versions, plugins and themes, database size, number of posts and media files, server memory and CPU, caches in place… ctrlweb Site Portrait lets a service that you choose (typically a hosting provider or an agency) read that information securely, without giving it an administrator account. How it works
  1. In Settings → Site Portrait, enter the address given by the service (for example https://service.example).
  2. The plugin reads the service description (/.well-known/site-portrait) and shows you its name, privacy policy and the data it asks for. Tick the categories you agree to share.
  3. Click Connect: you are sent to the service to sign in and approve, then back to your dashboard.
  4. The service can now request the portrait. You can change the categories or disconnect at any time.
For developers The full protocol (discovery, pairing, request signatures, endpoints, errors, JSON schemas and test vectors) is in docs/PROTOCOL.md and docs/schema/. The filter site_portrait_scope_data lets other plugins add data to a category. Licenses The plugin code is licensed under the GPL, version 2 or later (GPL-2.0-or-later). The protocol specification and JSON schemas in docs/ are licensed under Creative Commons Attribution 4.0 (CC-BY-4.0), so that anyone can implement a compatible service.

常见问题:

Can the service change my site?

No. The API is read-only. The only thing a service can do besides reading is end the connection.

What if someone steals my database?

The site only stores the service's public key, which cannot be used to send requests. The site's own private key is also stored; it only allows signing answers as your site and can be replaced from the settings page (Generate a new site key) or by disconnecting.

Why not use an application password?

An application password gives a service every permission of the user who created it, and it can be reused by anyone who obtains it. This plugin gives read access to the chosen categories only, with signed, single-use requests.

My site is on localhost or uses HTTP.

HTTPS is required. For local development only, define SITE_PORTRAIT_DEV_MODE as true with a local or development environment type and a .test, .localhost or loopback host.

How do I build a compatible service?

Read docs/PROTOCOL.md. It lists what a service must implement, with examples and test vectors.

更新日志:

1.0.0