Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zac-garby/web-graph
Generates a graph showing the links between websites.
https://github.com/zac-garby/web-graph
data-visualization golang graph graphviz web
Last synced: 21 days ago
JSON representation
Generates a graph showing the links between websites.
- Host: GitHub
- URL: https://github.com/zac-garby/web-graph
- Owner: zac-garby
- Created: 2017-11-24T16:45:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-24T16:45:37.000Z (about 7 years ago)
- Last Synced: 2024-10-30T06:27:41.647Z (2 months ago)
- Topics: data-visualization, golang, graph, graphviz, web
- Language: Go
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web-graph
Generates a graph (using Graphviz) which shows the links between websites. Give it a URL to start
with, and it'll recursively go through all the links on that site, then the links on those sites,
and so on, until it either generates the specified amount of nodes or runs out of links.To run it, you'll need to `dot` command available in your `$PATH` - look up _Graphviz_ to install
it. Run the program with:```
go run main.go -nodes -depth -url
```On the URL, remember to include the protocol, otherwise you'll get an error.
## Example
This is the output of running it on _https://golang.org_ with 64 nodes.![](out.svg)