macOS
brew install hutlocal Homebrew formula metadata
安装
brew install hutlocal Homebrew formula metadata
sudo apk add hutAlpine Linux edge package indexes · hut · 来源: dl-cdn.alpinelinux.org
sudo dnf install hutFedora Rawhide package metadata · hut · 来源: dl.fedoraproject.org
nix profile install nixpkgs#hutnixpkgs package indexes · pkgs/by-name/hu/hut/package.nix · 来源: api.github.com
sudo pacman -S hutArch Linux sync databases · hut · 来源: geo.mirror.pkgbuild.com
sudo zypper install hutopenSUSE Tumbleweed package metadata · hut · 来源: download.opensuse.org
概览
CLI tool for sr.ht
历史
hut is a command-line client for sr.ht, the SourceHut software forge. It exposes SourceHut services from the shell, including git, builds, tickets, patches, pages, meta/account features, and hub/project views as those APIs became available.
The SourceHut project entered public alpha in November 2018 after private development, and hut appeared later as a compact CLI companion for that ecosystem. The hut refs page shows v0.1.0 in March 2022 and a steady sequence of 0.x releases afterward.
Release notes show hut tracking SourceHut's expanding service surface. v0.7.0 added git webhook handling, git setup for send-email configuration, pages ACL handling, multi-resource update commands, and a package-maintainer note for setting the version via linker flags. v0.8.0 added a version command, meta pronouns/avatar handling, hub list/show commands, list and todo preferences, build tag filtering and updating, and instance-origin configuration.
hut is niche by design: it is most useful to SourceHut users who want forge operations in scripts or terminal workflows. Package metadata lists distribution across Homebrew, Debian, Ubuntu, Fedora-family, Alpine, Arch, Nix, MacPorts, and openSUSE ecosystems, which is broad for a forge-specific CLI.
The tool is used for day-to-day sr.ht work from a terminal: cloning and configuring repositories, submitting or inspecting builds, handling tickets and patches, managing pages, and reading or updating account/project metadata.
hut is significant to SourceHut-oriented package users because it mirrors the forge's API-first, email-friendly culture in a scriptable binary. It is also a good example of a CLI whose package-manager value is higher than its standalone fame: without easy packaging, SourceHut automation stays locked behind manual web/API calls.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Application Support/hut/config$XDG_CONFIG_HOME/hut/config~/.config/hut/configCredential-bearing paths to review before unattended agent runs.
~/Library/Application Support/hut/config$XDG_CONFIG_HOME/hut/config~/.config/hut/config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hut | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:hut |
|---|---|
| 版本 | 0.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/hut |
| 主页 | https://sr.ht/~xenrox/hut |
| 仓库 | https://git.sr.ht/~xenrox/hut |
| 上游文档 | https://git.sr.ht/~xenrox/hut/tree/master/item/doc/hut.1.scd |
| 许可证 | AGPL-3.0-or-later |
| 源码归档 | https://git.sr.ht/~xenrox/hut/archive/v0.8.0.tar.gz |
| 构建依赖 | go, scdoc |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hut |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
hut 0.6.0-1+b8
CLI tool for sr.ht
sudo apt install huthut
nix profile install nixpkgs#huthut 0.4.0-1
CLI tool for sr.ht
sudo apt install huthut 0.8.0-r2
command-line tool for sr.ht
sudo apk add huthut-bash-completion 0.8.0-r2
Bash completions for hut
sudo apk add hut-bash-completionhut-doc 0.8.0-r2
command-line tool for sr.ht (documentation)
sudo apk add hut-dochut-fish-completion 0.8.0-r2
Fish completions for hut
sudo apk add hut-fish-completionhut-zsh-completion 0.8.0-r2
Zsh completions for hut
sudo apk add hut-zsh-completionhut 0.7.0-4.fc44
A CLI tool for Sourcehut
sudo dnf install huthut 0.8.0-1
A CLI tool for Sourcehut
sudo pacman -S huthut 0.8.0-1.1
A CLI tool for sr.ht
sudo zypper install huthut-bash-completion 0.8.0-1.1
Bash Completion for hut
sudo zypper install hut-bash-completionhut-fish-completion 0.8.0-1.1
Fish Completion for hut
sudo zypper install hut-fish-completionhut-zsh-completion 0.8.0-1.1
ZSH Completion for hut
sudo zypper install hut-zsh-completionhut
sudo port install hut来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.