A collection of essential developer tools built with Next.js 13 and Tailwind CSS. This project provides a modern, responsive interface for common development tasks.
-
Base64 Tool
- Encode/Decode Base64 strings
- Support for file encoding
- Real-time conversion
-
JSON Formatter
- Format and validate JSON
- Collapsible tree view
- Syntax error detection
- Line and column error indicators
-
JWT Decoder
- Decode JWT tokens
- Validate signatures
- Display header and payload
- Expiration checking
-
SQL Formatter
- Format SQL queries
- Syntax highlighting
- Support for multiple SQL dialects
- Query beautification
-
Timestamp Converter
- Convert between different time formats
- Unix timestamp conversion
- Timezone support
- Common format presets
-
Hash Generator
- Support for MD5, SHA-1, SHA-256, SHA-512
- Real-time hashing
- Copy to clipboard
- Multiple hash formats
-
Regex Tester
- Test regular expressions
- Real-time matching
- Match highlighting
- Support for all regex flags
-
Cron Expression Generator
- Visual cron expression builder
- Expression validation
- Next run time prediction
- Common patterns
-
Protocol Buffers Formatter
- Format proto files
- Field renumbering
- Syntax validation
- Proper indentation
-
Code Beautifier
- Support for multiple languages
- Syntax highlighting
- Customizable formatting
- Copy formatted code
- 🌓 Dark/Light mode support
- 📱 Responsive design for all devices
- ⌨️ Keyboard shortcuts
- 🖱️ Custom scrollbars
- 📋 Copy to clipboard functionality
- 🎨 Syntax highlighting
- ⚡ Real-time updates
- 🔍 Error highlighting
- Next.js 13 - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- shadcn/ui - UI components
- Prism.js - Syntax highlighting
- Lucide Icons - Icons
- Node.js 16.8 or later
- npm or yarn
- Git
- Clone the repository:
git clone https://github.com/orz-ai/devtools.git
- Navigate to the project directory:
cd devtools-hub
- Install dependencies:
npm install
# or
yarn install
- Create a
.env.local
file in the root directory:
cp .env.example .env.local
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser.
- Build the application:
npm run build
# or
yarn build
- Start the production server:
npm run start
# or
yarn start
- Build the Docker image:
docker build -t devtools-hub .
- Run the container:
docker run -p 3000:3000 devtools-hub
devtools-hub/
├── app/
│ ├── components/ # Reusable UI components
│ ├── tools/ # Individual tool pages
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── public/ # Static assets
├── styles/ # Global styles
└── types/ # TypeScript type definitions
- Create a new directory in
app/tools/
:
mkdir app/tools/your-tool-name
- Create the tool component:
// app/tools/your-tool-name/page.tsx
"use client"
export default function YourTool() {
return (
// Your tool implementation
)
}
- Add the tool to the navigation menu.
- Follow the TypeScript + React best practices
- Use ES6+ features
- Follow the existing component patterns
- Write meaningful comments
- Use proper TypeScript types
Run the test suite:
npm run test
# or
yarn test
- Push your code to GitHub
- Import your repository in Vercel
- Configure your deployment settings
- Deploy
- Build the application:
npm run build
- Deploy the
/.next
directory to your hosting provider