Httpseverywhere
Go implementation of using HTTPS Everywhere rule sets to send traffic over HTTPS
Install / Use
/learn @getlantern/HttpseverywhereREADME
httpseverywhere
Go implementation of using HTTPS Everywhere rule sets to send traffic over HTTPS. Many thanks to the EFF team maintaining such an amazing project!
Example usage:
import "url"
import "github.com/getlantern/httpseverywhere"
...
httpURL, _ := url.Parse("http://name.com")
rewrite := httpseverywhere.Default()
httpsURL, changed := rewrite(httpURL)
if changed {
// Redirect to httpsURL
...
}
Please note that this library does not support any rules that include backtracking, specifically any rules with (?! or (?=, because those are not supported in Go's regular expressions packages for performance reasons. That excludes approximately 6,000 out of around 22,000 rule sets.
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
