=== TWINBlocks AI ===
Contributors: twincodestudio
Tags: blocks, gutenberg, import, design, converter
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.0.1
License: GPLv2 or later

Turn a website link or HTML design into a WordPress page built with core blocks, ready to edit in the block editor.

== Description ==
Paste a page link or upload HTML. TWINBlocks AI rebuilds it as core WordPress blocks (Group, Columns, Cover, Image, Heading, Buttons…), uses your theme's colours and font sizes where they match, imports the images into your Media Library and creates a draft page. Figma and image import are coming.

Pages and images are normal WordPress content: they stay if you deactivate or delete the plugin.

== External service ==
Conversion runs on the TWINBlocks AI service (https://connect-production-900e.up.railway.app), operated by TWINBlocks AI Studio. It requires an active subscription.
When you activate the license or convert a page, the plugin sends: your license key (activation only), your site address, WordPress version, your theme's colour palette, font sizes and content width, and the link or HTML you choose to convert. Converted images are downloaded from the service into your Media Library. If you connect Figma, your personal access token is sent once to the TWINBlocks AI service, checked with Figma and stored encrypted there; Figma imports read the frames you link through Figma's API (https://www.figma.com/legal/privacy). Disconnecting or deactivating deletes it. Fonts the page uses are downloaded from Google Fonts (fonts.gstatic.com, https://policies.google.com/privacy) into wp-content/fonts and served from your site. Inputs and outputs are deleted from the service after 48 hours.
If you add your own Anthropic API key (optional), it is sent once to the TWINBlocks AI service, checked with Anthropic, and stored encrypted there; conversions on your site then send page screenshots and content to Anthropic's API (https://www.anthropic.com/legal/privacy) using your key, billed to your Anthropic account. Removing the key or deactivating the license deletes it from the service.
Plans and AI credits are bought through our payment provider's secure checkout (see our privacy policy below). For auto top-up you save a card in that checkout; the card stays with the payment provider and the service only keeps its reference to the card and the card's name (for example "Visa •••• 4242"). Auto top-up emails (the confirm link, a notice after each top-up, approvals and failures) are sent by your own WordPress site to the address you choose. That address is stored on your site only and is never sent to the TWINBlocks AI service.
Images, site links and HTML/CSS files you attach to an Ask TWINBlocks AI prompt are sent to the TWINBlocks AI service (a linked site is opened there to take screenshots) and on to Anthropic's API with the prompt; they are deleted from the service after 48 hours.
Terms: https://twincodemedia.com/terms · Privacy: https://twincodemedia.com/privacy

== Installation ==
1. Upload the plugin zip in Plugins › Add New › Upload Plugin and activate it.
2. Go to TWINBlocks AI › License and paste the license key you received when you bought TWINBlocks AI.
3. Go to TWINBlocks AI › Import a design.

== Changelog ==
= 0.0.1 =
 conversion to core blocks.
