@easybits.cloud/html-tailwind-generator 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @easybits.cloud/html-tailwind-generator
|
|
2
2
|
|
|
3
|
+
> **Production Ready** — Used in production by [Denik](https://denik.me) for AI-generated business landing pages.
|
|
4
|
+
|
|
3
5
|
AI-powered landing page generator with Tailwind CSS. Canvas editor, streaming AI generation, one-click deploy.
|
|
4
6
|
|
|
5
7
|
Built and maintained by [EasyBits](https://easybits.cloud).
|
|
@@ -30,9 +32,9 @@ All API keys can be set via environment variables instead of passing them explic
|
|
|
30
32
|
| `ANTHROPIC_API_KEY` | `generateLanding`, `refineLanding` | Anthropic API key (auto-read by `@ai-sdk/anthropic`) |
|
|
31
33
|
| `PEXELS_API_KEY` | `enrichImages`, `searchImage` | Pexels stock photo API key |
|
|
32
34
|
|
|
33
|
-
**Priority**: If both
|
|
35
|
+
**Priority**: If both keys are set, Anthropic takes precedence for text generation. OpenAI is used as fallback, or for DALL-E image generation when `openaiApiKey` is available.
|
|
34
36
|
|
|
35
|
-
**
|
|
37
|
+
**Mix providers**: You can use Anthropic for text generation + DALL-E for images (best of both). Denik uses this setup in production — Claude Sonnet for generation, Haiku for refinement, and DALL-E 3 for images.
|
|
36
38
|
|
|
37
39
|
## Quick Start
|
|
38
40
|
|
|
@@ -219,11 +221,15 @@ The generator uses a semantic color system with CSS custom properties:
|
|
|
219
221
|
|
|
220
222
|
- [ ] **Inline Tailwind CSS build** — Replace CDN `<script src="tailwindcss.com">` with `@tailwindcss/standalone` or PostCSS to generate only used CSS as `<style>`. Faster load, no external dependency, production-ready.
|
|
221
223
|
- [x] **DALL-E image generation** — `openaiApiKey` option generates unique images via DALL-E 3 with Pexels fallback.
|
|
222
|
-
- [
|
|
224
|
+
- [x] **tsup build** — ESM + types via tsup. Published to npm as `@easybits.cloud/html-tailwind-generator`.
|
|
223
225
|
- [ ] **i18n** — Component labels are in Spanish. Add a `locale` prop or i18n system for English and other languages.
|
|
224
226
|
- [ ] **Tests** — Unit tests for `extractJsonObjects`, `findImageSlots`, `buildDeployHtml`, `buildCustomTheme`.
|
|
225
227
|
- [ ] **Storybook** — Visual stories for Canvas, SectionList, FloatingToolbar, CodeEditor.
|
|
226
228
|
|
|
229
|
+
## Used in Production
|
|
230
|
+
|
|
231
|
+
- **[Denik](https://denik.me)** — AI landing page generator for businesses. Uses Claude Sonnet 4.6 for generation, Haiku 4.5 for refinement, DALL-E 3 for images, and Pexels for stock photos. Canvas editor with real-time streaming, semantic color themes, and one-click deploy.
|
|
232
|
+
|
|
227
233
|
## License
|
|
228
234
|
|
|
229
235
|
[PolyForm Noncommercial 1.0.0](./LICENSE) — Free for personal, educational, and noncommercial use. Commercial use requires permission from [EasyBits](https://easybits.cloud).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easybits.cloud/html-tailwind-generator",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "AI-powered landing page generator with Tailwind CSS — canvas editor, streaming generation, and one-click deploy",
|
|
5
5
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
6
6
|
"type": "module",
|