Launched this week

Static AI Block
Add AI to any static site with one script tag. Free & MIT
2 followers
Add AI to any static site with one script tag. Free & MIT
2 followers
Twelve copy-paste AI blocks for any static website: ask this page, summarize, translate, FAQ bot, extract to JSON, alt text, quiz, rewrite, smart search and more. Each block is plain HTML + vanilla JS under 60 lines: paste it, replace one key, done. No backend, no framework, no build step. Blocks call OneTag AI from the browser with one script tag, and every account gets 1,000,000 free tokens. MIT licensed, with a live gallery to try every block.





Free
Launch Team

Render Sandboxes: a computer for every agentRun untrusted code safely. Idle sandboxes cost nothing
Promoted
Hey Product Hunt 👋 I'm YQ, the maker of Static AI Block.
I build a lot of small static sites: docs, landing pages, blogs on GitHub Pages. Every time I wanted one small AI feature, like "ask this page" or "translate this page", the answer was the same: add a backend, hide an API key, deploy a function. For a static page that felt like too much.
So I made 12 blocks that need none of that. Each block is one snippet of plain HTML + vanilla JS, under 60 lines. Copy it, paste it into any page, replace one key. That's the whole setup.
What's inside:
• Ask this page: answers from the page's own content, with follow-ups
• Summarize this page / Translate this page
• FAQ bot: answers only from your FAQ, says "I don't know" otherwise
• Extract to JSON: messy text in, structured fields out
• Rewrite / Draft a reply
• Smart search / Explain selection / Explain code
• Describe an image (alt text) / Quiz from this page
How it works: every block loads one script tag and calls onetag.ask(prompt, input) from the browser. The key is public by design, like an analytics ID: it can only spend your own free allowance, and every account gets 1,000,000 tokens. No server, no build step, no framework.
Full disclosure: I also build OneTag AI, the API the blocks call. The blocks themselves are MIT, so fork them, change the prompts, or point them at your own compatible endpoint.
👉 Live gallery: https://aiblock.onetagai.com/
👉 GitHub: https://github.com/fengyiqicoder...
👉 3-minute walkthrough: https://youtu.be/NBpAS6WzTZA
One question for you: what AI feature would you add to your static site that isn't on this list? The most-requested one becomes block #13.