尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Turn a few words or an image into an accessible Tailwind color palette. See it on real interface mockups in light and dark, then copy the code.檢視完整 README ↗Turn a few words or an image into an accessible Tailwind color palette. See it on real interface mockups in light and dark, then copy the code.
| Light | Dark | |
|---|---|---|
| App | ||
| Components | ||
| Marketing |
Requires Node 22.
git clone https://github.com/larisabarabas/huecode.git
cd huecode
npm ci
npm run dev
Then open http://localhost:5173. The API runs on port 8787.
| Command | What it does |
|---|---|
npm run dev | Web app and API together, with reload |
npm run build | Type-checks the app and the server, then builds |
npm test | Runs the Vitest suite |
npm start | Runs the API server |
Everything except AI enhancement works with no key at all.
To use the AI path, copy .env.example to .env and set a key for one provider: ANTHROPIC_API_KEY, OPENAI_API_KEY or GEMINI_API_KEY. If you set more than one, choose with AI_PROVIDER (anthropic, openai or gemini). AI_MODEL overrides the provider's default model. Keys are read only on the server (server/ai/config.ts) and are never sent to the browser, and the app has no place to type a key in. Without a key, the server reports AI as unavailable through /api/config and the app hides the AI option.
The server limits AI requests to 30 per hour per client. On serverless hosts this limit is best-effort. Requests to the AI path use your key and can cost money, so keep it out of version control. .env is already in .gitignore, and setting a spend limit in your provider's console is a good idea.
Each AI request is capped at 700 output tokens, which is plenty for eight HSL colors and a one-sentence rationale. The cap is the MAX_OUTPUT_TOKENS constant in server/ai/palette.ts, and all three providers use it. It is not an environment variable, so change it in that file. Raise it if your model is cut off before it finishes a palette. Models that spend tokens on internal reasoning before answering are the likeliest to need more. A cut-off shows up as "AI palette generation failed" in the app and a "did not include a palette proposal" error in the server log.
The hosted demo runs on the maintainer's key, which lives in the host's environment settings and not in this repository. That key has a monthly spend cap, and the demo tells you so next to the AI toggle. If the cap is reached, AI pauses and the standard generator keeps working. The server remembers the pause in memory for 30 minutes, so on serverless hosts it is best-effort: the first request on each instance may still fail before the toggle shows as paused. For unlimited use, self-host with your own key. Set AI_DEMO_MODE=true only if you run a public instance on a capped shared key and want the same notice.
The header logo link and the footer link are set at build time, so forks aren't tied to the original maintainer's links. VITE_HOME_URL sets where the logo links and defaults to /. VITE_REPO_URL sets the footer's "Open source on GitHub" link and defaults to the upstream repository. Point it at your fork, or set it to an empty string to hide the footer. VITE_SUPPORT_URL sets the "Buy me a coffee" link in the footer and code drawer. It defaults to the upstream maintainer's page, so point it at your own or set it to an empty string to hide it. Set them before npm run build (see .env.example).
The interface loads Instrument Sans and JetBrains Mono, both open-licensed, from Google Fonts at runtime. That means Google receives a request when the page loads.
A snapshot of what's planned. Priorities can change, and an issue is the place to discuss anything here.
The direction: Huecode turns a vibe or a brand color into an accessible theme that drops into your shadcn or Tailwind project. A feature earns a place here if it shortens the path from a palette to a running codebase.
Now
Next
Later
These wait until there's evidence they're needed.
globals.css or a Tailwind configNot planned
A Figma plugin, accounts and saved palettes, proxying real websites for preview, per-shade editing, and a public palette gallery.
Contributions are welcome, and Huecode works issue-first: open an issue before you write code, for everything. See CONTRIBUTING.md for the scope, setup and PR checklist. To report a security problem privately, see SECURITY.md.
Huecode is free and open source. If it saved you time, you can buy me a coffee. Starring the repo and sharing it helps too.
MIT © 2026 Stefania Barabas