We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作为长期使用macOS的Alist用户,我注意到当前在macOS平台上的安装/更新流程相比Windows平台不够便捷。Windows已经可以通过winget等命令行自动化的安装和更新alist.而 macOS,显然也可以Homebrew集成可以做到这些:
简化安装流程(brew install alist)
实现自动更新(brew upgrade alist)
提升在开发者群体中的可见度
符合macOS用户的标准软件管理习惯
虽然这不起眼,但是真的可以大大扩展alist自动化的使用体验.而且alist这样一个用户巨大,47k start的项目.已经在其他开源工作者的努力下,于android都建立了生态.在brew支持安装后,肯定会有更多人参与alist的生态建设.
创建Homebrew Formula
托管在Alist组织下
或提交到Homebrew核心仓库
构建自动化流程:
ruby 复制 class Alist < Formula desc "A file list program that supports multiple storage" homepage "https://alist.nn.ci/" url "https://github.com/alist-org/alist/archive/refs/tags/v#{version}.tar.gz" sha256 "<对应版本的SHA>"
depends_on "go" => :build
def install system "go build -o #{bin}/alist" end
service do run [opt_bin/"alist", "server"] keep_alive true end end 配套措施:
发布时自动更新Formula的版本号和校验码
提供brew service管理支持
这么好的项目,在homebrew上搜索不到,实在可惜.Mac社区其实有一定能量,希望得到帮助.
HomeBrew上发布自己的脚本.md
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please make sure of the following things
Description of the feature / 需求描述
把alist提交到Homebrew核心仓库
作为长期使用macOS的Alist用户,我注意到当前在macOS平台上的安装/更新流程相比Windows平台不够便捷。Windows已经可以通过winget等命令行自动化的安装和更新alist.而 macOS,显然也可以Homebrew集成可以做到这些:
简化安装流程(brew install alist)
实现自动更新(brew upgrade alist)
提升在开发者群体中的可见度
符合macOS用户的标准软件管理习惯
虽然这不起眼,但是真的可以大大扩展alist自动化的使用体验.而且alist这样一个用户巨大,47k start的项目.已经在其他开源工作者的努力下,于android都建立了生态.在brew支持安装后,肯定会有更多人参与alist的生态建设.
Suggested solution / 实现思路
创建Homebrew Formula
托管在Alist组织下
或提交到Homebrew核心仓库
构建自动化流程:
ruby
复制
class Alist < Formula
desc "A file list program that supports multiple storage"
homepage "https://alist.nn.ci/"
url "https://github.com/alist-org/alist/archive/refs/tags/v#{version}.tar.gz"
sha256 "<对应版本的SHA>"
depends_on "go" => :build
def install
system "go build -o #{bin}/alist"
end
service do
run [opt_bin/"alist", "server"]
keep_alive true
end
end
配套措施:
发布时自动更新Formula的版本号和校验码
提供brew service管理支持
Additional context / 附件
这么好的项目,在homebrew上搜索不到,实在可惜.Mac社区其实有一定能量,希望得到帮助.

HomeBrew上发布自己的脚本.md
The text was updated successfully, but these errors were encountered: