httpsyet

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 11 Imported by: 0

README

📡 httpsyet 🔑

GoDoc Build Status Go Report Card

The web is moving to HTTPS, slowly. 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.

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.

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, sleepto, ...) to run once a month.

Find out more about the implementation.

Install

  • With Go:
go get qvl.io/httpsyet
brew install qvl/tap/httpsyet

Development

Make sure to use gofmt and create a Pull Request.

Dependencies

Use dep ensure -update && dep prune to update dependencies.

Releasing

Push a new Git tag and GoReleaser will automatically create a release.

License

MIT

Documentation

Overview

Package main is the entry point for the htttpsyet binary. Here is where you can find argument parsing, usage information and the actual execution.

Directories

Path Synopsis
Package httpsyet provides the configuration and execution for crawling a list of sites for links that can be updated to HTTPS.
Package httpsyet provides the configuration and execution for crawling a list of sites for links that can be updated to HTTPS.
internal
Package slackhook proviodes Helpers to send messages to Slack hooks.
Package slackhook proviodes Helpers to send messages to Slack hooks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL