{"repo":"kpedrok/rewrite-pal","free":true,"listed":false,"github":"https://github.com/kpedrok/rewrite-pal","clone":"git clone https://github.com/kpedrok/rewrite-pal.git","description":"RewritePal - Make sure your writing is flawless.","language":"TypeScript","stars":67,"topics":["ai","grammar","nextjs","rephrase","rewrite","write","rewritepal"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"RewritePal RewritePal is a focused AI writing assistant that rewrites supplied text while preserving its intent and applying optional tone, role, and language choices. It is built as a small, production-oriented Next.js App Router project. Stack - Next.js 16, React 19, TypeScript, and React Compiler - Tailwind CSS 4 with shadcn/Radix UI primitives - Vercel AI SDK with OpenAI - Upstash Redis for rate limiting and the public rewrite counter - Biome, Bun Test, Playwright, and Bun Local development Prerequisites: Bun 1.3.14+ and Node.js 22+. Set these variables in .env.local (never commit this file): Generate a unique rate-limit secret with at least 32 characters for each deployment environment. Configure it before deploying this revision; rewrite requests fail safely until it exists. Keep it stable because changing it resets active rate-limit identities. Quality checks GitHub Actions runs a frozen install, dependency audit, static checks, type check, tests, and production build on pull requests and pushes to master . Architecture decisions - The homepage and root layout remain Server Components. Client boundaries are limited to the rewrite experience, theme controls, and mobile navigation. - A shared Zod contract validates every rewrite request before prompt creation. Prompt construction is a pure function with focused unit tests. - Form choices use local React state because they belong to one screen. This avoids global-state machinery for temporary UI state. - The completed-rew","default_branch":null,"files":null,"tree":[],"storefront":"/r/kpedrok","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kpedrok/rewrite-pal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}