/rustnext

Retrieves and parses the _buildManifest.js file used by the next.js framework

Primary LanguageRust

rustnext

Overview

rustnext was designed to retrieve paths from the _buildManifest.js file that is used by the Next.js framework 🦀

Usage

  • To use, just enter the URL:
rustnext -u <URL>
  • If you prefer, you can specify the protocol:
rustnext -u <URL> --proto http

Compile

cargo build --release

Details

Code that retrieves paths from the next.js framework

Usage: rustnext [OPTIONS] --url <URL>

Options:
  -u, --url <URL>      Insert URL
  -p, --proto <PROTO>  Insert protocol [default: https]
  -h, --help           Print help
  -V, --version        Print version