diff --git a/Formula/chatgpt-cli.rb b/Formula/chatgpt-cli.rb deleted file mode 100644 index 0d205e3..0000000 --- a/Formula/chatgpt-cli.rb +++ /dev/null @@ -1,33 +0,0 @@ -class ChatgptCli < Formula - desc "Simple cli wrapper for ChatGPT API, powered by GPT-3.5-turbo model" - homepage "https://github.com/j178/chatgpt" - version "1.2.0" - license "MIT" - - if OS.mac? - if Hardware::CPU.arm? - url "https://github.com/j178/chatgpt/releases/download/v#{version}/chatgpt_Darwin_arm64.tar.gz" - sha256 "265549694c199faf5f979f6251502f0acba47b3426608c40346647d3c281edb9" - else - url "https://github.com/j178/chatgpt/releases/download/v#{version}/chatgpt_Darwin_x86_64.tar.gz" - sha256 "629cfec1dd7841b2d59566634fd257da07978bea482cfaab462cde2778309a1f" - end - else - if Hardware::CPU.arm? - url "https://github.com/j178/chatgpt/releases/download/v#{version}/chatgpt_Linux_arm64.tar.gz" - sha256 "4ce0ad0d9e52830bbad16a508c68b1549d20a56d9b92dad3f4277e80019c1dc4" - else - url "https://github.com/j178/chatgpt/releases/download/v#{version}/chatgpt_Linux_x86_64.tar.gz" - sha256 "ba3b752af82ed0cf1ef93e3e6337453df2cb4699b5ee3883c56226923d970d2a" - end - end - - livecheck do - url :homepage - regex(/^v?(\d+(?:\.\d+)+)$/i) - end - - def install - bin.install "chatgpt" - end -end diff --git a/Formula/typstfmt.rb b/Formula/typstfmt.rb deleted file mode 100644 index 624008e..0000000 --- a/Formula/typstfmt.rb +++ /dev/null @@ -1,27 +0,0 @@ -class Typstfmt < Formula - desc "Basic formatter for the Typst language with a future" - homepage "https://github.com/astrale-sharp/typstfmt" - version "0.2.7" - license "MIT" - - arch = Hardware::CPU.arm? ? "aarch64" : "x86_64" - - if OS.mac? - - url "https://github.com/astrale-sharp/typstfmt/releases/download/#{version}/typstfmt-#{arch}-apple-darwin.tar.xz" - if Hardware::CPU.arm? - sha256 "de93e846436198ffdb027605e5229e11d3bb164ea22f595f8894f7ae12446c82" - else - sha256 "69e8f1affbbd479847a0d169e23ed4be8051d1627e0067dd9fc1711f72401a6a" - end - end - - livecheck do - url :homepage - regex(/^v?(\d+(?:\.\d+)+)$/i) - end - - def install - bin.install "typstfmt" - end -end diff --git a/README.md b/README.md index dfb4bd6..77ecb8e 100644 --- a/README.md +++ b/README.md @@ -143,11 +143,9 @@ brew help ### CLI 软件 -| CLI 名 | 名 | 类型 | 原创 | -| :---------: | :------: | :------: | :--: | -| alist-cli | AList | 开源软件 | ✓ | -| bbdown | BBDOWN | 开源软件 | ✓ | -| chatgpt-cli | ChatGPT | 开源软件 | ✓ | -| music-dl | Music DL | 开源软件 | ✓ | -| shurl | shurl | 开源软件 | ✓ | -| typstfmt | typstfmt | 开源软件 | ✓ | +| CLI 名 | 名 | 类型 | 原创 | +| :-------: | :------: | :------: | :--: | +| alist-cli | AList | 开源软件 | ✓ | +| bbdown | BBDOWN | 开源软件 | ✓ | +| music-dl | Music DL | 开源软件 | ✓ | +| shurl | shurl | 开源软件 | ✓ |