Skip to content

khxayan/GetWeb_Screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ GetWeb Screenshot

GetWeb Screenshot is a sleek, premium, and fully responsive web-based application designed to capture high-quality screenshots of any webpage instantly. Powered by React, Vite, and the Microlink API, it delivers a gorgeous glassmorphic interface with robust download and export options.


✨ Features

  • Instant Captures: Fetch full-page screenshot previews in seconds simply by pasting a URL.
  • Device Viewport Presets: Quick-toggle layout widths matching standard device dimensions:
    • πŸ–₯️ Desktop (1920px)
    • πŸ“ Tablet (768px)
    • πŸ“± Mobile (375px)
  • Custom Viewport Control: Manually specify pixel widths to test layouts at any breakpoint.
  • Multiple Formats: Capture and save screenshots in high-fidelity PNG or optimized JPG.
  • Cors-Safe Image Downloads: Safe, local downloads utilizing a proxy helper to ensure reliable file downloads.
  • Export to PDF: Instantly generate a printable PDF version of your captured webpage.
  • Modern Premium UI/UX: Stunning glassmorphism styling built with vanilla CSS variables, interactive micro-animations, loading skeletons, and fluid transition effects.

πŸ› οΈ Technology Stack

  • Framework: React 19
  • Build Tool: Vite 6
  • Linter: ESLint 9
  • Icons: Lucide React
  • Styles: Custom Vanilla CSS (featuring CSS Custom Properties for theme tokens)
  • API Engine: Microlink API (for cloud-based screenshot generation)

πŸš€ Getting Started

Follow these steps to run the project locally on your machine.

Prerequisites

Ensure you have Node.js installed (version 18+ is recommended).

1. Clone the repository & Navigate

git clone https://github.com/khxayan/GetWeb_Screenshot.git
cd GetWeb_Screenshot

2. Install dependencies

npm install

3. Start the development server

npm run dev

The application will start, configured to run locally on port 3000 at http://localhost:3000.

4. Build for production

npm run build

5. Lint the codebase

npm run lint

6. Preview the production build locally

npm run preview

πŸ“‚ Project Structure

GetWeb_Screenshot/
β”œβ”€β”€ .github/
β”‚   └── dependabot.yml      # GitHub Dependabot configuration
β”œβ”€β”€ public/                 # Static assets
β”‚   └── favicon.png         # Site favicon
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ App.css             # Supplementary template styles
β”‚   β”œβ”€β”€ App.jsx             # Core application layout, state, and API logic
β”‚   β”œβ”€β”€ index.css           # Styling system & glassmorphism theme rules
β”‚   └── main.jsx            # React root mount point
β”œβ”€β”€ .gitignore              # Git ignore file
β”œβ”€β”€ eslint.config.js        # ESLint configuration
β”œβ”€β”€ index.html              # HTML shell
β”œβ”€β”€ LICENSE                 # MIT License file
β”œβ”€β”€ package-lock.json       # Dependency lockfile
β”œβ”€β”€ package.json            # Scripts & dependencies
β”œβ”€β”€ README.md               # Project documentation
β”œβ”€β”€ vercel.json             # Vercel deployment configuration
└── vite.config.js          # Vite build configuration (locked to port 3000)

πŸš€ Live Demo

The project is deployed and hosted on Vercel! Feel free to visit the live version: πŸ”— https://getweb-screenshot.vercel.app/


πŸ“„ License

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



About

πŸ“Έ Capture full-page screenshots of any website instantly β€” supports Desktop, Tablet & Mobile viewports, PNG/JPG/PDF export. Built with React, Vite & Microlink API. ( mini project )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors