mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-08-28 14:58:06 +08:00
main
Uploaded images were inlined as full-resolution base64 in the message metadata, and the entire chat history is posted on every turn. Two 4MB uploads exceeded the 4.5MB request body cap, so the platform rejected the request before the route ran (FUNCTION_PAYLOAD_TOO_LARGE). - Downscale and re-encode raster uploads client-side (1536px longest edge, WebP with a JPEG fallback, ~300KB target). UI screenshots land around 12KB with imperceptible color drift, so token extraction is unaffected. - Trim images from the oldest messages when the serialized request body would still exceed the budget, rather than failing the request outright. - Raise MAX_IMAGE_FILES from 2 to 5 now that the payload allows it, and wrap the multi-image message preview row so the thumbnails stay legible. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
tweakcn.com
tweakcn is a powerful Visual Theme Editor for tailwind CSS & shadcn/ui components. It comes with Beautiful theme presets to get started, while aiming to offer advanced customisation for each aspect of your UI
Motivation
Websites made with shadcn/ui famously look the same. tweakcn is a tool that helps you customize shadcn/ui components visually, to make your components stand-out. The goal is to build a platform where a user can discover endless customization options and then have the ability to put their own twist on it.
Current Features
You can find the full feature list here: https://tweakcn.com/#features
Run Locally
IMPORTANT: For contributions, please see CONTRIBUTING.md.
Prerequisites
- Node.js 18+
- npm / yarn / pnpm
Installation
- Clone the repository:
git clone https://github.com/jnsahaj/tweakcn.git
cd tweakcn
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser.
Contributors
Made with contrib.rocks.
Interested in Contributing?
Contributions are welcome! Please feel free to submit a Pull Request.
Star History
Description
Languages
TypeScript
98.7%
JavaScript
0.9%
CSS
0.4%
