/goshooter

GoShooter is a command-line interface (CLI) tool, written in Go, designed to take screenshots of websites provided in a list. It's a multi-threaded utility that allows custom timeout configurations for screenshot capture.

Primary LanguageGo

guide

GoShooter

Go Logo bash logo

GoShooter is a CLI tool written in Go for taking screenshots of websites provided in a list.

Prerequisites

You should have the following installed on your system before proceeding:

  • Go (version 1.15 or higher)
  • Google Chrome

Installation

To install GoShooter on your system, follow these steps:

  1. Install the required Go package and disable Go modules:

    go env -w GO111MODULE=off
    go get -u github.com/chromedp/chromedp
  2. Clone the GoShooter repository:

    git clone https://github.com/DrW3b/goshooter.git
  3. Navigate to the GoShooter directory:

    cd goshooter
  4. Run the installation script to build and move goshooter to /usr/local/bin:

    chmod +x install.sh
    ./install.sh

Once you've completed these steps, you should be able to run the goshooter command from any location in your terminal or command prompt and you can remove the folder goshooter.

Usage

To use GoShooter, follow these steps:

  1. Create a file containing the URLs you want to capture screenshots for. The URLs should be domain names, without "http://" or "https://". For example, your file (domains.txt) might look like this:

    google.com
    yahoo.com
    bing.com
  2. Run the GoShooter command:

    goshooter -f domains.txt -t 5s -th 10

This command tells GoShooter to capture screenshots for the domains listed in domains.txt, using 10 threads and a 5-second timeout.

Disclaimer

This software is provided by DrW3B "as is" and without any warranties. DrW3B is not liable for any damages or consequences that may occur due to the use or misuse of this software.