🔥 Perfect — here’s a complete README.md for your new subdomain ai-tools.30tools.com, explaining its purpose, structure, tech stack, contribution guide, and OpenAI integration.
https://github.com/30tools/aii-tools
This version is written in a clean, developer-friendly tone with a touch of product polish — ideal for GitHub or internal documentation.
ai-tools.30tools.com is a collection of lightweight, open-source AI-powered utilities built using the OpenAI API, designed to make content creation, coding, writing, and ideation faster and smarter.
Each tool lives independently but shares a consistent design system, architecture, and user experience — powered by Next.js + shadcn/ui + Tailwind CSS.
⚡️ One platform. Many tiny AI tools. Fast, elegant, and instantly usable — powered by OpenAI.
ai-tools.30tools.com is part of the 30tools.com ecosystem — a growing library of simple, no-login, instantly usable micro-apps.
This subdomain focuses entirely on AI-powered tools, like:
- 🧠 AI Paraphraser — rewrite text in any tone
- 💬 Tweet Generator — generate catchy tweets from ideas
- ✍️ LinkedIn Formatter — make posts professional and polished
- 💡 Startup Idea Generator — spark ideas instantly
- 🧩 Code Explainer — turn any snippet into simple English
- 📚 Quiz Maker — convert text into Q&A
- 🔍 Summarizer — TL;DR anything
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| UI System | shadcn/ui + Tailwind CSS |
| Animations | Framer Motion |
| Backend | Edge Functions (Vercel) |
| AI Model | OpenAI API (GPT-4o, GPT-4-mini) |
| Storage (Optional) | Supabase / Local JSON |
| Deployment | Vercel |
| Auth (Optional) | Clerk / None (default no-auth tools) |
All AI tools follow a unified design language defined in:
📁 /config/design.json
- Rounded corners (
rounded-2xl) - Soft shadows & white cards
- Accent blue theme (
#3b82f6) - Framer Motion for subtle animations
- Reusable layout: Header → Input → Output
This ensures all tools feel cohesive and branded under the 30tools identity.
ai-tools.30tools.com/
├── app/
│ ├── layout.tsx # Common layout + design system wrapper
│ ├── (tools)/
│ │ ├── paraphraser/
│ │ │ ├── page.tsx # Individual AI tool UI
│ │ │ └── api/route.ts # API endpoint using OpenAI
│ │ ├── tweet-generator/
│ │ │ ├── page.tsx
│ │ │ └── api/route.ts
│ │ └── ...
│ └── globals.css # Tailwind styles
│
├── components/ # Reusable shadcn components
│ ├── ui/ # Button, Card, Input, etc.
│ ├── layout/ # Header, Footer, Container
│ └── ai/ # AIResponse, PromptBox, etc.
│
├── lib/
│ ├── openai.ts # OpenAI API config
│ ├── utils.ts # Helper functions
│
├── config/
│ └── design.json # shadcn design system configuration
│
├── .env.local # OPENAI_API_KEY
├── README.md
└── package.json
Create a .env.local file in the root directory:
OPENAI_API_KEY=your_openai_api_key_hereYou can get your API key from https://platform.openai.com/account/api-keys.
// app/paraphraser/api/route.ts
import { NextResponse } from "next/server";
import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY! });
export async function POST(req: Request) {
const { text, tone } = await req.json();
const prompt = `Rephrase the following text in a ${tone} tone:\n\n${text}`;
const completion = await client.responses.create({
model: "gpt-4o-mini",
input: prompt,
});
return NextResponse.json({
output: completion.output[0].content[0].text,
});
}To add a new AI tool:
- Create a folder under
/app/(tools)/your-tool-name/ - Add a
page.tsxfor UI - Add a
api/route.tsfor backend logic (using OpenAI API) - Follow the design system JSON for consistent look
- Done ✅
You can use a meta prompt like:
“Using the 30tools design system (from
/config/design.json), generate a Next.js page for a tool called ‘AI Summarizer’ with a textarea input, a generate button, and an output card.”
| Tool | Description | Status |
|---|---|---|
| AI Paraphraser | Rewrites text in different tones | ✅ |
| Tweet Generator | Writes engaging tweets from topics | ✅ |
| Code Explainer | Explains code in simple English | ✅ |
| LinkedIn Formatter | Beautifies posts with structure | 🛠️ |
| Flashcard Maker | Generates study cards from notes | 🛠️ |
We welcome contributions from developers, designers, and creators!
- Fork the repo
- Create a new branch
- Add your tool (in
/app/(tools)/) - Run locally →
npm run dev - Submit a PR
Please ensure your tool:
- Loads instantly
- Uses
OpenAIAPI responsibly - Follows
/config/design.jsonstyling - Doesn’t store user data
MIT © Shaswat Raj • @SH20RAJ
- 🔗 Main site – https://30tools.com
- 🤖 AI tools – https://ai-tools.30tools.com
- 💻 GitHub – https://github.com/SH20RAJ/30tools
- 📧 Contact – sh20raj@gmail.com
Would you like me to create a “Tool Template Generator” script next — where you can just type
npx create-ai-tool paraphraser
and it auto-creates the page.tsx, api/route.ts, and meta.json files using your design.json?