8000 GitHub - csim-sg/web-tools Β· GitHub
[go: up one dir, main page]

Skip to content
csim-sgPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Web Utilities

A collection of free online tools and utilities built with Next.js 15, TypeScript, and Tailwind CSS & ShadcnUI.

πŸ› οΈ Tools Available

PDF Tools

  • PDF to Image Converter
    • Supports PNG, JPEG, WebP output formats
    • Custom DPI and quality settings
    • Page selection (all, range, custom)
    • Batch processing with ZIP output
    • Embedded image extraction
  • PDF to Word Converter
    • Maintains formatting and layout
    • Supports tables and images
    • Multiple output formats (DOCX, RTF)
  • PDF Merger
    • Drag-and-drop interface
    • Page reordering
    • Custom page selection
  • PDF Splitter
    • Split by page ranges
    • Extract specific pages
    • Batch processing
  • PDF Compressor
    • Multiple compression levels
    • Quality-size optimization
    • Batch processing support

Image Tools

  • Image Converter (PNG, JPG, WEBP, etc.)
  • Image Compressor
  • Background Remover
  • Image Resizer
  • Image Effects
  • Watermark Tool
  • Batch Image Processor

Video Tools

  • Video Converter
  • Video Compressor
  • Video Trimmer
  • GIF Creator

Barcode Tools

  • QR Code Generator
  • Code 128 Generator
  • EAN-13 Generator
  • UPC-A Generator
  • Code 39 Generator
  • DataMatrix Generator
  • PDF417 Generator
  • Barcode Scanner

Text Tools

  • Text Translator
  • OCR (Optical Character Recognition)
  • Text to Speech

Utilities

  • Calculator
  • Currency Converter
  • Unit Converter

πŸ“ Changelog

v1.2.2 (2024-03-XX)

  • πŸ”§ Major Image Processing Tools Update
    • Fixed and optimized all image processing components
      • Improved ImageConverter with better format handling
      • Enhanced RemoveBackground with optimized processing
      • Updated ImageResizer with better aspect ratio control
      • Refined ImageEffects with real-time preview
    • Improved error handling and progress tracking
    • Added better type safety and validation
  • πŸ“Š Analytics & Error Tracking Integration
    • Added Sentry.io integration for error tracking
      • Real-time error monitoring and reporting
      • Performance monitoring
      • User session tracking
      • Custom error boundaries
    • Implemented Google Analytics 4
      • Enhanced event tracking
      • User behavior analytics
      • Custom conversion tracking
      • Page performance metrics
  • 🎨 UI/UX Refinements
    • Enhanced preview functionality across all tools
    • Improved responsive design for mobile devices
    • Added better loading states and progress indicators
    • Updated error messages with more helpful information
  • πŸ” Performance Optimizations
    • Improved image processing efficiency
    • Better memory management for large files
    • Reduced unnecessary re-renders
    • Optimized file handling and cleanup

v1.2.0 (2024-03-XX)

  • ✨ Enhanced Image Processing Tools
    • Implemented advanced image converter with multiple format support
      • Support for PNG, JPEG, WebP, and AVIF formats
      • Quality control and optimization
      • Real-time preview
    • Added powerful background removal tool
      • AI-powered background removal
      • High-quality and fast processing modes
      • Transparency preservation
    • Implemented comprehensive image resizer
      • Custom dimensions with aspect ratio preservation
      • Preset sizes (HD, 4K, etc.)
      • Batch resizing capability
    • Added image effects processor
      • Multiple effects: grayscale, blur, sepia, invert
      • Adjustable intensity controls
      • Real-time effect preview
    • Improved image compression
      • Advanced compression algorithms
      • Quality-size balance control
      • Format-specific optimizations
  • πŸ”§ Technical Improvements
    • Integrated Sharp.js for high-performance image processing
    • Added @imgly/background-removal for AI-powered background removal
    • Implemented canvas-based image manipulation
    • Added batch processing with ZIP output
    • Improved error handling and progress tracking
  • 🎨 UI/UX Enhancements
    • Added real-time preview for image effects
    • Improved drag-and-drop interface
    • Added progress indicators for all processes
    • Enhanced responsive design for all screen sizes
    • Added success/error notifications

v1.1.0 (2024-03-XX)

  • ✨ Added PDF to Image converter with advanced features
    • Multiple output formats (PNG, JPEG, WebP)
    • Custom DPI and quality settings
    • Page selection and preview
    • ZIP output option
    • Embedded image extraction
  • πŸ”§ Enhanced PDF processing capabilities
    • Improved error handling
    • Better progress tracking
    • Optimized file handling
  • 🎨 UI/UX Improvements
    • Added thumbnail previews for PDF pages
    • Enhanced drag-and-drop interface
    • Improved responsive design

v1.0.0 (2024-03-XX)

  • πŸš€ Initial release
  • ✨ Core PDF tools implementation
    • PDF to Word converter
    • PDF Merger
    • PDF Splitter
    • PDF Compressor
  • 🎨 Implemented base UI components with ShadcnUI
  • πŸ”§ Set up project infrastructure
    • Next.js 14 setup
    • TypeScript configuration
    • Tailwind CSS integration

πŸ“¦ Dependencies

{
  "dependencies": {
    "next": "14.x",
    "react": "18.x",
    "react-dom": "18.x",
    "typescript": "5.x",
    "tailwindcss": "3.x",
    "sharp": "^0.33.2",
    "pdf-lib": "^1.17.1",
    "canvas": "^2.11.2",
    "file-saver": "^2.0.5",
    "jszip": "^3.10.1",
    "@imgly/background-removal": "^1.4.5",
    "image-js": "^0.35.5",
    "bwip-js": "^3.4.0",
    "qrcode": "^1.5.3",
    "react-dropzone": "^14.2.3",
    "next-themes": "^0.2.1"
  }
}

πŸ”§ Technology Stack

  • Framework: Next.js 15
  • Language: TypeScript
  • Styling: Tailwind CSS
  • State Management: React Hooks
  • Icons: Custom SVG icons
  • Image Processing: Sharp
  • PDF Processing: pdf-lib
  • Barcode Generation: bwip-js, qrcode
  • Video Processing: FFmpeg

πŸš€ Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/web-utilities.git
cd web-utilities
  1. Install dependencies:
npm install
  1. Create a .env.local file:
NEXT_PUBLIC_API_URL=http://localhost:3000
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

πŸ“ Environment Variables

Create a .env.local file in the root directory with the following variables:

# API Keys
REMOVE_BG_API_KEY=your_remove_bg_api_key
TRANSLATE_API_KEY=your_translate_api_key

# Configuration
NEXT_PUBLIC_API_URL=http://localhost:3000

🎨 Customization

Theme

  • Edit tailwind.config.js to customize colors, fonts, and other design tokens
  • Modify s 6AD3 rc/app/globals.css for global styles
  • Update src/components/ToolLayout.tsx for layout changes

Icons

  • Custom SVG icons are stored in public/icons/
  • Each icon is optimized for both light and dark modes

πŸ“± Progressive Web App

This project is PWA-ready with:

  • Service Worker for offline support
  • Manifest file for installation
  • Icons for various devices
  • Responsive design for all screen sizes

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0