Skip to content
/ smap Public

smap tell you about internal links in a domain and generate a standard sitemap

License

Notifications You must be signed in to change notification settings

khrm/smap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMAP Go Report Card Build Status codecov.io

What is it?

SMAP print the details of interconnections between various link in a site. Also, it prints all links found in a particular domain.

{
      "URLs": {
          "https://goharbor.io": {},
          "https://goharbor.io/blogs": {},
          "https://goharbor.io/blogs/harbor-joins-cncf": {},
          "https://goharbor.io/blogs/hello-world": {},
          "https://goharbor.io/community": {},
          "https://goharbor.io/docs": {}
      },
      "Connections": {
          "https://goharbor.io": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          },
          "https://goharbor.io/blogs": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/blogs/harbor-joins-cncf": {},
              "https://goharbor.io/blogs/hello-world": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          },
          "https://goharbor.io/blogs/harbor-joins-cncf": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          },
          "https://goharbor.io/blogs/hello-world": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          },
          "https://goharbor.io/community": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          },
          "https://goharbor.io/docs": {
              "https://goharbor.io": {},
              "https://goharbor.io/blogs": {},
              "https://goharbor.io/community": {},
              "https://goharbor.io/docs": {}
          }
      }
  }
StdSiteMap:
 <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://goharbor.io/docs</loc></url><url><loc>https://goharbor.io/blogs</loc></url><url><loc>https://goharbor.io/blogs/harbor-joins-cncf</loc></url><url><loc>https://goharbor.io/blogs/hello-world</loc></url><url><loc>https://goharbor.io</loc></url><url><loc>https://goharbor.io/community</loc></url></urlset>

Prerequisites

Either Go or Docker should be installed.

Building

You can use following commands to build if go is installed:

   $ make build

You will get a binary smap in the root folder.

Or you can use following commands if docker is installed.

   $ make image

Which will you an image smap:latest.

Running(Binary)

You can use :-

   $ ./smap -domain=goharbor.com -depth=3

Running(Docker)

You can use :-

   $ docker run -ti smap smap -domain=goharbor.io

About

smap tell you about internal links in a domain and generate a standard sitemap

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages