The Repo Screenshot project is a simple tool for fetching GitHub repositories and taking screenshots of the homepages of the websites associated with these repositories. The screenshots are then stored in a directory with the name of the respective site.
Fetch GitHub repositories Capture screenshots of the homepage of the site associated with the repository Store screenshots in the corresponding directory
example_video.mp4
Make sure you have Node.js installed to run the project.
- Clone the repository:
git clone https://github.com/lucwx/repo-screenshot.git
- Navigate to the project directory:
cd repo-screenshot
- Install the dependencies:
npm install
- Run the main script:
node index.js
- Follow the instructions to input the repository details. Example Directory Structure
repo-screenshot/
|-- screenshots/
| |-- site1.com.png
| |-- site2.org.png
|-- index.js
|-- README.md
|-- ...
Contributions are welcome! Feel free to open issues and pull requests.