Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/acernik/sitemap

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/acernik/sitemap

  • v0.0.0-20220613123423-f30a727d9de8
  • Source
  • Go
  • Socket score

Version published
Created
Source

Sitemap

This repository contains implementation of a simple sitemap generator (https://www.sitemaps.org).

Functionality

The sitemap generator accepts the following parameters:

  • -url - the starting URL for the sitemap generator
  • -parallel - number of parallel workers to navigate through site
  • -output-file - output file for the sitemap
  • -max-depth - max depth of url navigation recursion

To run the application run make run command. This will run the sitemap generator with parameters defined in run.sh file. If you want to change the parameters, then make the changes in run.sh file. Or just run go run cmd/main.go from root directory with parameters of your choice.

Unit tests

To run unit tests execute make tests command from the root directory. This will run all unit tests with coverage.

FAQs

Package last updated on 13 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc