Add AI to any static site with one script tag.
No backend. No API keys in your code. Free while in beta: 1,000,000 tokens per month per site.
About 67,000 HTML files on GitHub call an AI API directly with the key exposed in the page source. This is the fix.
<script src="https://onetagai.com/v1.js" data-key="YOUR_ONETAG_KEY"></script>
<script type="module">
const summary = await onetag.ask("Summarize in 3 bullets", document.body);
</script>
Get a key
We email the key to you. Add your domain and the key only works on your site (and on localhost while you build).