Skip to content

Latest commit

 

History

History
80 lines (46 loc) · 2.58 KB

readme.md

File metadata and controls

80 lines (46 loc) · 2.58 KB

wget-for-windows

This is a fork of the GNU wget. It is aiming to use native Windows certificate store and APIs to reduce dependencies.

GNU wget had closed the window for new features.

Features

Small! The smallest ever file size ~500K.

New features:

  • Originally writen wrapper of native Windows TLS (WinTLS) for https, ftps, ntlm and metalink, instead of OpenSSL and GNU hashes dependencies;
  • New URL transcoding model;
  • Windows IDN API instead of libidn.

Cautions

WinTLS version: with the same capability of the OS. It fails if IE can't open the https URL! The old system may not have the lowest Cipher Suites that the server requests! Win10+ is recommended.

OpenSSL version: with openssl v1.1.1 latest, for legacy OS.

Release

Lite binaries have the most used features, but not all.

Why is the lite version so small?

Check wget -V to see the features. +: have; -: do not have.

In short:

  1. I implemented new wrappers with Windows native API to replace large libraries: OpenSSL, libidn and etc.
  2. Use alternative libraries: win-iconv to replace libiconv.
  3. Do not enable optional or rarely used features/libraries: c-ares, GPG, meatalink and etc.

Also read the CI files.

Fork site

Issues/feedback for this fork: https://github.com/lifenjoiner/wget-for-windows

wget-for-windows

这是 GNU wget 的一个分支。它是目标是用 Windows 的原生 证书库和 APIs 来减少依赖。

GNU wget 已经不再接收新特性。

特性

小!目前最小编译 ~500K。

新特性:

  • 原创的原生 Windows TLS (WinTLS) 适配,支持 https、ftps、ntlm 和 metalink,摆脱依赖 OpenSSL 和 GNU hashes;
  • 新 URL 转码模型;
  • Windows IDN API 替代 libidn。

注意

WinTLS 版: 下载不了 IE 打不开的 https 地址,能力和操作系统一致!老系统可能连服务器要求的最低加密算法也不支持。推荐 Win10+。

OpenSSL 版: 包含 openssl v1.1.1 最后版本,专为老系统的。

发布

轻便版 包含最常用的特性,而不是全部。

为什么 lite 版这么小?

执行 wget -V 查看特性启用情况。+:有;-:无。

总的来说:

  1. 我用 Windows 原生 API 实现了大的函数库的替代:OpenSSL、libidn 等。
  2. 使用替代库:用 win-iconv 替代 libiconv。
  3. 不启用可选或不常用的特性或库:c-ares、GPG、meatalink 等。

还有,看看 CI 文件。

本分支

问题/反馈:https://github.com/lifenjoiner/wget-for-windows