Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomnomnom/burl
A Broken-URL Checker
https://github.com/tomnomnom/burl
Last synced: 11 days ago
JSON representation
A Broken-URL Checker
- Host: GitHub
- URL: https://github.com/tomnomnom/burl
- Owner: tomnomnom
- Created: 2017-10-27T10:41:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T12:07:24.000Z (about 7 years ago)
- Last Synced: 2024-10-13T11:12:44.613Z (26 days ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 79
- Watchers: 8
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- WebHackersWeapons - burl - URL Checker |![](https://img.shields.io/github/stars/tomnomnom/burl?label=%20)|[`url`](/categorize/tags/url.md)|![linux](/images/linux.png)![macos](/images/apple.png)![windows](/images/windows.png)[![Go](/images/go.png)](/categorize/langs/Go.md)| (Weapons / Tools)
README
# burl
A broken-URL checker.
Work in progress. Not even alpha quality.
## Install
```
▶ go get github.com/tomnomnom/burl
```## Usage
Given some URLs in a file:
```
▶ cat urls
http://example.com/
http://example.com/notafile.js
http://pleasedontregisterthisdomain.com/js/main.js
An invalid URL
https://wat/foo.js
https://example.net
https://notarealsubdomain.example.com/
```Either feed them into `burl` on stdin:
```
▶ cat urls | burl
non-200 response code: http://example.com/notafile.js (404 Not Found)
does not resolve: http://pleasedontregisterthisdomain.com/js/main.js
invalid url: An invalid URL
does not resolve: https://wat/foo.js
does not resolve: https://notarealsubdomain.example.com/
```Or pass the filename as the first argument:
```
▶ burl urls
non-200 response code: http://example.com/notafile.js (404 Not Found)
does not resolve: http://pleasedontregisterthisdomain.com/js/main.js
invalid url: An invalid URL
does not resolve: https://wat/foo.js
does not resolve: https://notarealsubdomain.example.com/
```