Skip to content

Latest commit

Β 

History

History
79 lines (61 loc) Β· 2.8 KB

File metadata and controls

79 lines (61 loc) Β· 2.8 KB

DevTools - Free Developer Utilities Platform

A modern, SEO-optimized static site hosting 10+ essential developer tools. Built with Astro 6, React, TypeScript, and TailwindCSS.

πŸš€ Features

  • 10 Production-Ready Tools: JSON formatter, Base64 encoder/decoder, URL encoder/decoder, JWT decoder, hash generator, UUID generator, timestamp converter, and color converter
  • SEO-First: Complete meta tags, OpenGraph, Twitter Cards, JSON-LD structured data
  • Performance: Static site generation, minimal client-side JavaScript, Lighthouse score β‰₯95
  • Accessibility: WCAG AA compliant, keyboard navigation, screen reader friendly
  • Privacy: All tools run client-side, no data leaves the browser
  • Modern Stack: Astro 6 + React 19 + TypeScript (strict mode) + TailwindCSS 4

πŸ“¦ Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ seo/            # SEO.astro - Meta tags and JSON-LD
β”‚   └── tool/           # React components for each tool
β”œβ”€β”€ content/            # Content collections (tools, blog, comparisons, snippets)
β”‚   β”œβ”€β”€ config.ts       # Zod schemas for collections
β”‚   └── tools/          # MDX files with tool metadata
β”œβ”€β”€ layouts/            # BaseLayout, ToolLayout
β”œβ”€β”€ lib/                # Pure TypeScript utilities
β”œβ”€β”€ pages/              # All routes
β”‚   β”œβ”€β”€ index.astro
β”‚   └── tools/
└── styles/global.css

πŸ› οΈ Tools Included

  1. JSON Formatter & Validator - /tools/json-formatter-validator
  2. Base64 Encoder/Decoder - /tools/base64-encoder-decoder
  3. URL Encoder/Decoder - /tools/url-encoder-decoder
  4. JWT Decoder - /tools/jwt-decoder
  5. Hash Generator - /tools/hash-generator
  6. UUID Generator - /tools/uuid-generator
  7. Timestamp Converter - /tools/timestamp-converter
  8. Color Converter - /tools/color-converter

🚦 Getting Started

# Install dependencies
npm install

# Start dev server (http://localhost:4321)
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

🎯 Key Conventions

  • No server-side code: Static site only (GitHub Pages deployment)
  • Path aliases: Use @/, @components/, @layouts/, etc. (defined in tsconfig.json)
  • SEO required: Every page must have title, description, canonical, OG tags, JSON-LD
  • Client JS minimized: React islands only for interactivity (client:load or client:visible)
  • TypeScript strict: No any, no @ts-ignore without justification
  • Accessibility: Semantic HTML, labels, focus states, ARIA attributes

πŸ“š Tech Stack

  • Astro 6.3 - Static site generator
  • React 19 - UI islands
  • TypeScript (strict)
  • TailwindCSS 4
  • MDX - Content
  • Zod - Schema validation

πŸ“„ License

Free to use and modify for your projects.