*p5.brush
p5.js 환경에서 자연스러운 텍스처를 탐구하는 아티스트·디자이너·취미자를 위한 다목적 라이브러리
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Floating "Ask AI" button that hands the visitor's question and your site URL to ChatGPT, Claude or Google AI Mode. No API, no server, no tracking.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗English | 日本語
A floating "Ask AI" button for any web page. The visitor types a question, picks ChatGPT, Claude or Google AI Mode, and that service opens in a new tab with the question and the address of your site already filled in. No AI API is called, and the widget itself stores and sends nothing.
One TypeScript source produces a single-file script (global AskAIButton), an npm ESM package and a thin WordPress plugin.
Documentation and a live demo: https://elephancube.github.io/askai-button/en/ (install, option reference, WordPress)
The text placed in the URL parameter of the chosen service is built from a template. The built-in English template is:
{question}
Please refer to the following URL to answer this question.
{site_url}
{question} is what the visitor typed. {site_url} is the root of the current origin unless you set siteUrl. The template, and the wording of every label, can be replaced through the options.
With a script tag, the file being on your own server (download askai-button.min.js from the releases or the documentation site):
<script src="askai-button.min.js" data-askai></script>
With a script tag, the file coming from a CDN (jsDelivr; unpkg serves the same file at https://unpkg.com/@elephancube/[email protected]/dist/askai-button.min.js):
<script src="https://cdn.jsdelivr.net/npm/@elephancube/[email protected]/dist/askai-button.min.js" data-askai defer></script>
With a CDN, the visitor's browser fetches the script from the CDN operator, a third party; the button itself still sends nothing. Hosting the file yourself avoids that request. Keep the exact version in the address: an address without a version, or with @latest, changes the script on your site whenever a release is published. Subresource Integrity and Content Security Policy are covered on the install page.
With npm (the package is published under the @elephancube scope; the project and the file are called askai-button):
npm install @elephancube/askai-button
import { init } from '@elephancube/askai-button';
init({
presets: ['What can I do on this site?', 'How much does it cost?'],
providers: ['chatgpt', 'claude'],
});
The button follows the page language (lang option, then <html lang>, then the browser language, then en). Japanese and English are built in. See examples/ for complete pages.
Install it from the WordPress.org plugin directory: Elephancube Ask AI Button. The source is in wordpress/elephancube-ask-ai-button/. It adds the button and a settings screen (Settings > Ask AI). Optionally, and off by default, it keeps monthly totals of how often the button and each AI service are used, in the database of the site itself; the question and anything about the visitor are never stored. Installation and details: see its readme.txt and the WordPress page of the documentation site.
localStorage.q URL parameters these services accept are not documented by them and may change or stop working at any time. Every URL template is configurable, and a service can be set to copy the text to the clipboard and open the service instead.packages/core/ - the library (TypeScript, no runtime dependencies). All front-end behaviour lives here.wordpress/elephancube-ask-ai-button/ - the WordPress plugin; it passes settings to the library.site/ - the documentation and demo site: Markdown pages in site/content/, built into site/dist/ by site/build.mjs.examples/ - plain HTML examples (run the build first).scripts/ - build helpers..github/workflows/ - CI (ci.yml) and the deployment of the site to GitHub Pages (pages.yml).npm install
npm test # unit tests (Vitest)
npm run typecheck
npm run build # builds the script, copies it into the plugin, builds the site
npm run build:site # builds the site only (into site/dist)
npm run site # builds everything, then serves the site locally
npm run serve:site # serves the site that is already built
npm run test:php # plugin tests, needs PHP
npm run i18n # regenerates plugin translation files
npm run zip:plugin # writes dist-plugin/elephancube-ask-ai-button-<version>.zip
See CONTRIBUTING.md. To report a security problem, see SECURITY.md.
wordpress/) is MIT licensed; see LICENSE.wordpress/elephancube-ask-ai-button/ is GPL-2.0-or-later; see its LICENSE.Copyright (c) 2026 Elephancube Inc. Free and open source; there is no paid version. Support is best effort.
ChatGPT, Claude and Google are trademarks of their respective owners. This project is not affiliated with or endorsed by them. No logos of these services are bundled.