Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qvl/httpsyet
Crawler to find links you can update to HTTPS
https://github.com/qvl/httpsyet
automation https security slack tls
Last synced: 2 months ago
JSON representation
Crawler to find links you can update to HTTPS
- Host: GitHub
- URL: https://github.com/qvl/httpsyet
- Owner: qvl
- License: mit
- Archived: true
- Created: 2017-10-07T18:31:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T20:02:31.000Z (over 4 years ago)
- Last Synced: 2024-07-30T20:54:38.197Z (5 months ago)
- Topics: automation, https, security, slack, tls
- Language: Go
- Homepage: https://qvl.io/httpsyet
- Size: 1.02 MB
- Stars: 36
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# :satellite: httpsyet :key:
[![GoDoc](https://godoc.org/qvl.io/httpsyet?status.svg)](https://godoc.org/qvl.io/httpsyet)
[![Build Status](https://travis-ci.org/qvl/httpsyet.svg?branch=master)](https://travis-ci.org/qvl/httpsyet)
[![Go Report Card](https://goreportcard.com/badge/qvl.io/httpsyet)](https://goreportcard.com/report/qvl.io/httpsyet)The web is moving to HTTPS, [slowly](https://jorin.me/https-for-one-month/).
In a happy future, we will have secure connections only.
Today, though, we still have to deal with HTTP.
We are getting better. Thank you [Let's Encrypt](https://letsencrypt.org/).Now we only need to update all those `http://` links on our pages to `https://`.
Not all sites support HTTPS yet. But maybe they do tomorrow.
How do we know? - `httpsyet`.```sh
httpsyet -slack $SLACK_HOOK https://firstsite.com https://secondsite.biz http://thirdsite.net
```This will crawl your sites recursively and for every `http://` link,
it will try if the URL is also available via HTTPS.
A list of all URLs you can update is sent to Slack.Set this up with your favorite job scheduler ([Cron](https://en.wikipedia.org/wiki/Cron), [sleepto](https://github.com/qvl/sleepto), ...) to run once a month.
[Find out more about the implementation](https://jorin.me/use-go-channels-to-build-a-crawler/).
## Install
- With [Go](https://golang.org/):
```
go get qvl.io/httpsyet
```- With [Homebrew](http://brew.sh/):
```
brew install qvl/tap/httpsyet
```- Download binary: https://github.com/qvl/httpsyet/releases
## Development
Make sure to use `gofmt` and create a [Pull Request](https://github.com/qvl/httpsyet/pulls).
### Dependencies
Use [`dep ensure -update && dep prune`](https://github.com/golang/dep) to update dependencies.
### Releasing
Push a new Git tag and [GoReleaser](https://github.com/goreleaser/releaser) will automatically create a release.
## License
[MIT](./license)