mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
Stacked on the modifications PR. Now that no live code path references
the per-package fetchers, the shared HTTP/parsing helpers, the
in-process normalizer, or the example template, delete them. Pure
deletion — no behavior change.
- ~93 per-package <pkg>/releases.js fetcher modules.
- _common/{brew,fetcher,git-tag,gitea,github,github-source,
githubish,githubish-source}.js shared HTTP/parsing helpers.
- _webi/normalize.js in-process normalization layer (cache files
arrive normalized from webicached).
- _example/releases.js fetcher template for new packages.
The Go cache daemon (webicached) is now the sole producer of release
metadata; the Node process never makes an upstream request.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| Hugo Extended Edition | https://github.com/gohugoio/hugo | Hugo, but with libsass and WebP support. |
To update or switch versions, run webi hugo-extended@stable (or @v0.118.2,
@beta, etc).
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/opt/hugo-extended/
~/.local/bin/hugo
Cheat Sheet
Hugo Extended Edition sacrifices some of the portability and memory-safety of Go in order to include libsass and WebP support.
- libsass (as opposed to "dartsass" - a.k.a. sass)
- WebP encoding
If you DON'T need those, check out Hugo (Standard Edition).
How to Switch Between Editions
If you've installed hugo and hugo-extended with Webi, you can switch easily:
webi hugo
switched to 'hugo v0.118.2':
/Users/aj/.local/bin/hugo => /Users/aj/.local/opt/hugo-v0.118.2/bin/hugo
webi hugo-extended
switched to 'hugo v0.118.2':
/home/me/.local/bin/hugo => /home/me/.local/opt/hugo-extended-v0.118.2/bin/hugo
Why NOT Use Extended Edition?
The Standard Edition is written and compiled with Go, which means it's binaries:
- work on all OSes and architectures Go supports (musl, arm, BSD, etc)
- are more secure against attacks (Go is memory-safe, C languages are not)
- slightly smaller file size (but... it doesn't really matter)
Hugo Quick Start & Tips
See the Hugo Cheat Sheet. See the Hugo Cheat Sheet.