WordPress on-device AI experiments
APACHE-2.0 License
Client-side AI experiments using Chrome's built-in AI and other solutions.
Note: Requires Chrome Canary.
Try it now in your browser:
Or install and activate the latest nightly build on your own WordPress website:
Uses Chrome’s built-in summarization API to provide readers a short summary of the post content. The UI is powered by WordPress’ new Interactivity API.
https://github.com/user-attachments/assets/e25e6a70-31bf-4fa5-9143-22a7124097dc
Using a simple prompt to summarize the content in only a few sentences.
https://github.com/user-attachments/assets/4aea598f-f38d-4cee-9ce0-ce09563ee537
Options for rewriting individual paragraphs à la Google Doc, like rephrasing, shortening or elaborating.
https://github.com/user-attachments/assets/5cb2220f-77df-4ce2-a209-65fec02f5f57
Uses Transformers.js and Florence-2 to generate image captions and alternative text for images directly in the editor. Also integrated into Media Experiments, which supports video captioning too.
https://github.com/user-attachments/assets/bf516dc6-c135-4598-b77a-2f2e9f38699b
A slight variation on the summarization use case, this extracts a memorable quote from the article and gives it some visual emphasis.
https://github.com/user-attachments/assets/4d439491-5d52-4183-9165-375471672414
Suggest matching tags/categories based on the content. Grabs a list of existing terms from the site and passes it to the prompt together with the post content.
https://github.com/user-attachments/assets/c1e29673-6b4d-426d-b4e5-39b846a0c6d7
Using a simple prompt to say whether the text is positive or negative. Could be used to suggest rephrasing the text à la Grammarly, or identify negative comments.
https://github.com/user-attachments/assets/d1060297-fb80-4cf3-ba82-b40304846662