Hitokoto Update Connector

Description

Hitokoto Update Connector connects your WordPress site to the external ひとこと更新 (Hitokoto Update) service operated by COSOADO. Request text and image changes through LINE, review the proposed result, and approve publication. The connector exposes a limited, authenticated REST API for site discovery, staging, previewing, publishing and scheduling.

The plugin is free. A Hitokoto Update account and an eligible service subscription are required for the cloud editing workflow. Installing or activating the plugin does not purchase a subscription. See the service website for availability and pricing. This is an independently developed integration, not an official LINE or WordPress product.

Supported content and requirements

  • Standard Gutenberg paragraphs, headings, list items, buttons, quotes and images.
  • Supported text and image elements in classic HTML content. Unsupported structures are rejected.
  • Database-saved block-theme template parts; theme files are not edited.
  • HTTPS, WordPress REST API access and loopback HTTP requests are required for the full workflow.
  • Private staging storage must pass the plugin’s availability checks. nginx may require a server rule to deny access to the private directory.
  • WP-Cron must run for cleanup and scheduled publishing. Cleanup timing depends on cron availability.
  • Elementor support is disabled unless the installed version has been explicitly verified and allowlisted. Multisite/network activation is not supported.
  • Preview appearance depends on the theme, caching, scripts and embeds. Pixel-identical rendering is not guaranteed.

External services

Hitokoto Update (COSOADO)

This plugin needs the Hitokoto Update cloud service to authenticate LINE requests, coordinate AI-assisted changes and approvals, and manage service accounts. The default API endpoint is https://linewp-api.vercel.app and the service interface is https://linewp-web.vercel.app. Advanced administrators can override the API origin using LINEWP_CLOUD_ORIGIN in wp-config.php; the connection screen displays the configured destination.

  • Before connection: opening the settings page alone does not start the LINE connection request. After an administrator clicks the start button, the plugin sends the site URL, site name, plugin version and a hash of a temporary connection secret. It then checks approval while the page is active. A connection request expires after 10 minutes; the open page can renew it up to three times.
  • After connection: authenticated requests can read supported content metadata and editable text/image information, retrieve private preview HTML or staged content needed for the requested workflow, and write approved changes. These are data transfers, including when WordPress responds to cloud API requests. The cloud may process this content with its AI provider as described in the service privacy policy. Content is not limited to IDs and hashes in transit.
  • Diagnostics and operations: the plugin shares site/plugin/environment compatibility information, opaque site identifiers, operation results, public URLs and scheduled-publication events. Connected settings pages may check service status. Uninstallation sends a best-effort disconnection event before deleting local credentials.
  • Credentials: per-site signing keys and temporary pairing information establish the connection. WordPress login passwords are not sent. Browser redirects used for pairing transfer one-time connection information to the configured service.
  • LINE: users open LINE to authenticate and approve connection through the service. This plugin does not load external advertising, analytics or JavaScript libraries. QR images are returned by the service and displayed locally.
  • Local diagnostics: the plugin also makes requests to its own WordPress site to check loopback rendering and whether private files are inaccessible. These checks may run during activation or settings diagnostics.

Service terms
Service privacy policy
LINE privacy policy

Privacy

The connector stores per-site credentials, minimal operation audit records, and temporary request/preview/image data in its own WordPress tables and private storage. Temporary content expires within 24 hours and is removed by scheduled cleanup when WP-Cron runs. The service’s processing and retention are described in its privacy policy. This plugin does not add visitor analytics or tracking cookies to the public site.

Use the settings screen to revoke the connection. Uninstalling deletes connector credentials, its database tables and private temporary files. Published posts and WordPress Media Library attachments are retained.

Installation

  1. In your site’s WordPress dashboard, open Plugins > Add New, search for “Hitokoto Update Connector”, and click Install Now.
  2. Click Activate, then open Settings > LINE連携コネクタ (or the plugin’s LINE とつなぐ link).
  3. Review the data-sharing explanation and click the button to start LINE connection.
  4. On the same phone, choose LINE で開く. On a computer, scan the displayed QR code with your phone.
  5. In LINE, verify the site name and matching confirmation code, then approve the connection.
  6. Check connection diagnostics before requesting an update. Review the proposed content before approving publication.

A site administrator must install and activate the connector. A developer can do those steps for you; use your own LINE account for the connection. The normal workflow does not require file downloads or editing wp-config.php.

FAQ

Can I use a phone?

Yes. Use Safari or Chrome to access your site’s WordPress administration. After activation and the data-sharing confirmation, choose LINE で開く on the same phone. Your account needs administrator permissions.

Can it publish without my review?

The intended workflow requires an explicit approval bound to a specific proposal. Requests are authenticated with per-site signing keys, timestamps, nonces and operation scopes. Keep access to WordPress, LINE and your service account secure.

What if the site moves to another domain?

Revoke the old connection from Settings > LINE連携コネクタ and connect again. A copied site’s connection must not be reused for a different site.

Does uninstalling delete my published content?

No. Published pages, posts and Media Library files are retained.

Is the cloud service included in this plugin?

No. The GPL-licensed connector is distributed here. LINE messaging, AI processing, account/subscription management and orchestration are provided by the separate service.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Hitokoto Update Connector” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.3.9

  • Recover from interrupted LINE connection requests and continue if pairing already completed.

0.3.8

  • Clarifies how existing LINE friends connect their WordPress site.

0.3.7

  • Security: text inside a page’s style block can no longer close the block and place markup outside the preview allow-list.
  • Security: cleanup of temporary folders never follows symbolic links.
  • The settings screen uses the same button names as the LINE screens and points to the LINE chat for the next step.

0.3.6

  • The settings screen loads its stylesheet and scripts with the WordPress enqueue functions (no inline script or style tags).
  • Temporary staging files are kept only in a plugin folder inside the uploads directory (uploads/hitokoto-update-connector/), protected from direct access and checked over HTTP before use. Folders created by earlier versions are removed.
  • Preview documents are filtered with wp_kses() and an explicit allow-list when stored and again before output.
  • Pages that would lose attributes or inline styles when saved are reported as unsupported instead of being changed.
  • A stored preview is only returned to the site it was created for.
  • Disconnecting also deletes staged edits, request texts and preview records from the database.
  • Admin include files are loaded only where one of their functions is used.

0.3.5

  • Security: signed-request handling now applies only to this plugin’s own REST routes, so it can no longer relax REST API restrictions that other plugins place on unrelated routes.
  • Security: the connect key is no longer filled in from a link. Paste a key you issued yourself.
  • Fix: deleting the plugin now completes and removes its keys, tables and scheduled events.
  • Security: when WordPress lives in a subdirectory, the private staging folder is no longer placed in the parent folder served by the web server without being checked.
  • The settings screen explains the updated steps for reconnecting LINE.

0.3.4

  • Security: completing a connection now requires proof from the service itself, so a connect key supplied by a third party can no longer be used to take over the connection.
  • Security: a wrong pairing code no longer cancels a connection that is in progress.
  • Security: text supplied through the service can no longer be interpreted as a shortcode.
  • Pages containing embeds that WordPress would remove on save (maps, videos, scripts, form fields) are now reported as unsupported instead of being changed.
  • Unauthenticated requests can no longer flood the plugin’s audit log.
  • After disconnecting, the settings screen no longer contacts the service until you connect again.
  • Uninstall now also removes the private staging directory and the plugin’s post meta.
  • Added direct-access guards to all plugin files and reduced the size of the bundled icon.

0.3.3

  • Prepare directory submission metadata and document external service data transfers.
  • Require an explicit administrator action before starting LINE connection requests.

0.3.2

  • 設定画面の色とボタンを、サービスの画面(管理ダッシュボード・LINE 内の画面)と同じ見た目にそろえました。動作の変更はありません。

0.3.1

  • テーマのスターターサイトでよく使われる部品の文章を変更できるようにしました(Kadence Blocks の見出し・アイコンリスト、Neve の文章・リンク)。
  • 「ページから選ぶ」の選択肢に、近くの見出しや「よくある質問」の質問文を出し、同じ文章が並んでいても場所を見分けられるようにしました。
  • 診断で、テーマ独自の部品で作られていて変更できない文章がどのくらいあるかを伝えるようにしました。

0.3.0

  • 「LINE でつなぐ」を追加:有効化すると設定画面に QR コードが出ます。スマホで読み取り、LINE で「つなぐ」を押すだけで接続できます(サイトの URL・接続キー・連携番号の入力は不要)。
  • 有効化の直後に設定画面へ自動で移動。プラグイン一覧に「LINE とつなぐ」リンクを追加。
  • 接続キーでの接続は「接続キーで接続する」に残しています。
  • QR コードは期限(10 分)が切れると自動で作り直します。つながったあとは「LINE とつながっています」と次にやることを上に表示し、細かい状態は折りたたみました。
  • つながらないときの案内(レンタルサーバーの国外 IP・REST API の制限の解除方法)を追加。

0.2.0

  • 接続を「接続キー 1 つを貼って『接続する』」に簡略化(接続先の入力は不要。ダッシュボードのリンクから開くと自動入力)。
  • 設定画面を開いたとき、クラウド側で接続が有効かを実際に確かめて表示(移転後・失効後に「接続済み」と誤表示しない)。
  • 「LINE をつなぎ直す」を追加:LINE を使っていたスマホを無くしたとき、WordPress 管理者の証明+契約者メールのログインで、旧 LINE を解除して新しい LINE につなぎ直せる。

0.1.0

  • 初版(実サイト検証前)。
  • 適合診断の対象ページ列挙をページング対応(50 件超のサイトでも全件登録)。
  • サイト移転後に管理画面から再接続できる「接続を解除して再接続する」を追加。
  • クラシックエディター(ブロック無し HTML)のテキスト変更・画像差し替えに対応。
  • サブディレクトリ設置、パーマリンク「基本」、REST 接頭辞の変更、リバースプロキシ配下の HTTPS に対応。
  • 診断で「できない理由」(ループバック不可、非公開領域が公開、GD/Imagick 無し、外部 HTTP ブロック)を表示。