macOS
brew install go-statiklocal Homebrew formula metadata
sudo port install statikMacPorts ports tree · devel/statik/Portfile · 来源: api.github.com
安装
brew install go-statiklocal Homebrew formula metadata
sudo port install statikMacPorts ports tree · devel/statik/Portfile · 来源: api.github.com
nix profile install nixpkgs#statiknixpkgs package indexes · pkgs/by-name/st/statik/package.nix · 来源: api.github.com
概览
Embed files into a Go executable
历史
statik is a Go command-line tool and library for embedding a directory of static files into a Go executable and serving them through an http.FileSystem.
The statik repository was created in 2014 by rakyll. Its README says the idea and implementation were taken from Camlistore and split out because the author needed the pattern across multiple projects.
statik became part of the pre-Go-1.16 static-asset embedding ecosystem, especially for Go services with a small web component that wanted a single binary instead of separate CSS, JavaScript, image, or HTML deployment steps.
Practitioners run statik against a public directory, import the generated statik package for side effects, initialize the statik filesystem, and pass it to http.FileServer or open individual embedded files.
The package remains a concise example of the generated-source approach that the Go 1.16 embed feature later made part of the standard toolchain.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
statik | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:go-statik |
|---|---|
| 版本 | 0.1.8 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/rakyll/statik |
| 仓库 | https://github.com/rakyll/statik |
| 最后更新 | 2026-07-29T16:05:04+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
statik
sudo port install statikstatik
nix profile install nixpkgs#statik来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.