Free Clip is a web application designed to capture screenshots of websites. Built with Next.js and Tailwind CSS, it provides a user-friendly interface for users to input URLs and receive screenshots of the corresponding web pages.
- URL Input: Users can input the URL of the website they wish to capture.
- Screenshot Capture: The application processes the URL and returns a screenshot of the specified web page.
- Responsive Design: The interface is optimized for various devices using Tailwind CSS.
Ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/ehmasuk/screen-cap.git
-
Navigate to the project directory:
cd screen-cap -
Install dependencies:
Using npm:
npm install
Or using yarn:
yarn install
To start the development server:
Using npm:
npm run devOr using yarn:
yarn devOpen http://localhost:3000 in your browser to view the application.
To build the application for production:
Using npm:
npm run buildOr using yarn:
yarn buildThis will generate an optimized build in the .next directory.
After building the application, you can start the production server:
Using npm:
npm startOr using yarn:
yarn startapp/: Contains the main application components and pages.components/: Reusable UI components.helpers/: Utility functions and helpers.hooks/: Custom React hooks.lib/: External libraries and configurations.
- Next.js: React framework for server-side rendering and static site generation.
- Tailwind CSS: Utility-first CSS framework for styling.
- TypeScript: Superset of JavaScript for type safety.
- Puppeteer: Node.js library for headless browser automation, used for capturing screenshots.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
- Vercel: Hosting platform for the live application.