• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
ujhuhguyg

ujhuhguyg

pdf

Public
Like
pdf
Home
Code
3
README.md
index.html
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://ujhuhguyg--bd02edec380911f099b59e149126039e.web.val.run
README.md

Image to PDF Converter

A modern, dark-themed web tool that converts images to PDF format with stunning 3D effects and animations.

✨ Features

  • Dark Theme: Beautiful dark gradient background with glass morphism effects
  • 3D Effects: Cards, buttons, and elements with realistic 3D transformations
  • Animations: Floating particles, shimmer effects, and smooth transitions
  • Multi-upload: Upload multiple image files (JPEG, PNG, GIF, WebP)
  • File Validation: Client and server-side validation with 10MB file size limit
  • Drag & Drop: Intuitive drag and drop interface with visual feedback
  • Smart Conversion: Convert images to a single PDF document with automatic scaling
  • Progress Tracking: Animated progress bar with gradient effects
  • Error Handling: Comprehensive error messages and robust processing
  • Responsive Design: Works perfectly on desktop and mobile devices

🎨 Visual Design

  • Glass Morphism: Translucent cards with backdrop blur effects
  • Gradient Backgrounds: Multi-color gradients throughout the interface
  • 3D Transformations: Perspective-based card rotations and hover effects
  • Floating Elements: Subtle animations and particle effects
  • Glow Effects: Soft glowing elements for enhanced visual appeal

πŸ”§ Technical Improvements

  • Robust Base64 Conversion: Fixed chunked processing for large files
  • File Size Limits: 10MB per file limit to prevent memory issues
  • Enhanced Error Handling: Detailed error messages and validation
  • Client-side Validation: Early validation to catch issues before upload
  • Memory Optimization: Efficient processing of large image files

Usage

  1. Visit the web interface
  2. Click "✨ Choose Images" or drag files to the upload zone
  3. Files are automatically validated (max 10MB each)
  4. Preview your selected images in the elegant file list
  5. Click "πŸš€ Convert to PDF" to process the images
  6. Watch the animated progress bar and download your PDF

API Endpoints

  • GET / - Web interface with dark theme and 3D effects
  • POST /convert - Convert images to PDF (accepts multipart/form-data with image files)

Technical Details

  • Built with Hono framework
  • Uses jsPDF for PDF generation
  • Robust base64 conversion with chunked processing
  • File size validation (10MB limit per file)
  • Custom CSS with 3D transforms and animations
  • Glass morphism and backdrop filters
  • Client-side processing for privacy
  • Comprehensive error handling
  • Responsive design with TailwindCSS
HTTP
  • index.ts
    ujhuhguyg--bd…9e.web.val.run
Code
README.mdindex.html
H
index.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.