bruno

開源IDE,用於探索和測試API(輕量級替代Postman/Insomnia)

bruno 是什麼?

開源IDE,用於探索和測試API(輕量級替代Postman/Insomnia)

bruno 概覽

這是什麼

Bruno 是一個開源的 API 探索與測試 IDE,定位為 Postman 和 Insomnia 的輕量級替代方案。它將 API 集合直接儲存在使用者檔案系統的資料夾中,使用名為 Bru 的純文字標記語言。Bruno 僅支援離線使用,沒有計畫加入雲端同步功能,強調資料隱私。

主要功能

  • 支援多平台:macOS、Windows 和 Linux - 可透過 Git 或任何版本控制系統進行協作 - 提供 CLI(@usebruno/cli),可從命令列執行集合,適用於自動化測試和 CI/CD 流程 - 提供官方 Docker 映像檔,包含 alpine 和 debian 兩種變體,支援 linux/amd64 和 linux/arm64
  • 使用純文字標記語言(Bru)儲存 API 請求資訊 - 僅離線使用,無雲端同步功能

使用情境

  • 探索與測試 API - 自動化 API 測試並整合至 CI/CD 流程(透過 Bruno CLI 或 Docker) - 使用 Git 或其他版本控制系統進行協作式 API 開發

快速開始

透過套件管理工具安裝 Bruno: sh # 在 Mac 上使用 Homebrew brew install bruno # 在 Windows 上使用 Chocolatey choco install bruno # 在 Windows 上使用 Scoop scoop bucket add extras scoop install bruno # 在 Windows 上使用 winget winget install Bruno.Bruno # 在 Linux 上使用 Snap snap install bruno # 在 Linux 上使用 Flatpak flatpak install com.usebruno.Bruno # 在 Arch Linux 上使用 AUR yay -S bruno # 在 Linux 上使用 Apt sudo mkdir -p /etc/apt/keyrings sudo apt update && sudo apt install gpg curl curl -fsSL 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x9FA6017ECABE0266' | gpg --dearmor | sudo tee /etc/apt/keyrings/bruno.gpg > /dev/null sudo chmod 644 /etc/apt/keyrings/bruno.gpg echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable' | sudo tee /etc/apt/sources.list.d/bruno.list sudo apt update && sudo apt install bruno 透過 npm 全域安裝 Bruno CLI: sh npm install -g @usebruno/cli 從命令列執行集合: sh bru run 使用 Docker 執行集合: sh docker pull usebruno/cli:latest docker run -v $(pwd):/bruno usebruno/cli run

授權與價格

本專案採用 MIT 授權。為開源軟體,大部分功能免費。另提供付費商業版本,包含額外功能。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/usebrunobruno.svg)](https://yunodb.com/tools/usebrunobruno?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/usebrunobruno?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/usebrunobruno.svg" alt="Featured on YunoDB" height="20"></a>