← 开源
trueleaf

apiflow

A modern API workspace that works both online and offline — combining API documentation, testing, mock, and AI-powered automation in one lightweight tool

ApplicationsProductivityTypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
641
Star
102
Fork
+2
本周
1
贡献者
创建于 2020-10-04 · 更新于 2026-10-15 · 今日第 15660 名
主要开发者

trueleaf/apiflow 排名第 15,660,有 641 个星标。

同类别比较

trueleaf/apiflow 排名第 15,660,此处有 8 个同类条目;AIDotNet/NextCoWork 排名第 15,663。

同类别比较
名称排名指标
langtalks/swe-agent15,619
语言:
Python
星标数:
643
分叉数:
130
简介:
🤖 AI-powered software engineering multi-agent system with researcher and developer agents that automate code implementation through intelligent planning and execution. Built with LangGraph multi-agent workflows
Deep-MI/FastSurfer15,624
语言:
Python
星标数:
642
分叉数:
160
简介:
PyTorch implementation of FastSurferCNN
filipsPL/cat-localizer15,631
语言:
Jupyter Notebook
星标数:
642
分叉数:
31
简介:
Localize your cat at home with BLE beacon, ESP32s, and Machine Learning
KohakuBlueleaf/z-tipo-extension15,642
语言:
Python
星标数:
641
分叉数:
51
简介:
A sd-webui extension for utilizing DanTagGen to "upsample prompts".
AIDotNet/NextCoWork15,663
语言:
TypeScript
星标数:
640
分叉数:
130
简介:
Open Cowork - Opensource Claude Cowork for Windows & macOS & Linux.
Exafunction/codeium.el15,667
语言:
Emacs Lisp
星标数:
640
分叉数:
30
简介:
Free, ultrafast Copilot alternative for Emacs
junhoyeo/BetterOCR15,677
语言:
Python
星标数:
640
分叉数:
43
简介:
🔍 Better text detection by combining multiple OCR engines (EasyOCR, Tesseract, and Pororo) with 🧠 LLM.
Azzedde/brainstormers15,683
语言:
TypeScript
星标数:
639
分叉数:
68
简介:
This repository hosts a suite of specialized agents designed to power your brainstorming sessions. Each agent brings a unique perspective and tailored approach to generate creative, targeted solutions for diverse challenges. Choose the right agent for your specific brainstorming needs and unlock innovative ideas with precision.
关键参数与规格
关键参数与规格
参数值
语言TypeScript
类别Applications
子类别Productivity
关键词Automation
星标数641
分叉数102
贡献者1
创建日期2020-10-04
更新日期2026-10-15
1 天星标数0
7 天星标数2
排名15,660
上次排名6,713
排名变化-8,947
7 天星标排名8,699
上次 7 天星标排名8,751
7 天星标排名变化52
总星标排名15,959
上次总星标排名15,910
总星标排名变化-49
国家China
README 摘录

**Apiflow** is a **completely free**, **AI-powered API development platform** designed as a modern alternative to **Postman**, **Hoppscotch**, and **Insomnia**. When upgrading from an Electron-based release, back up your local data using **Settings → Local Data → Data Backup / Export**, then install the new package and restore the backup in the new client. Download the installer directly for this transition; the new client uses a signed Tauri update feed. **Switch to Internet Mode** Click the network mode toggle in the application

(usually in the top-right corner) Select "Internet Mode" to enable online features 2. **Login with Default Admin Account** Username: Default Password: **Important**: Change the default password after first login for security 3. **Add New Users** Navigate to the admin panel/backend management Find the user management section Click "Add User" to create new accounts for your team members Code Update If you are running Apiflow with Docker, updating the code does not require rebuilding locally. **Option 1: Using Update

Script (Recommended)** **Option 2: Manual Update** **Rollback (recommended: snapshot-based rollback)** Client Build After deploying with Docker you can access the system directly via browser. If you want to use the full desktop experience, follow the steps below to build the client. 85 with the native toolchain for your target platform **macOS**: Xcode Command Line Tools required ( ) **Linux**: WebKitGTK 4. 1, AppIndicator, OpenSSL development packages, , and Each platform's installer can only be built on its native OS (no cross-platform

compilation) Step 1: Speed up downloads (optional) If npm downloads are slow, uncomment the registry line in the root : Step 2: Clone the repository and install dependencies Step 3: Modify configuration (as needed) Edit and adjust the following settings as required: **Note:** After packaging, the server URL can also be updated at any time in the app via **Settings → App Config → API Endpoint**, without needing to repackage. Step 4: Run the build command for your platform **Tip (Windows):** Install the

Windows SDK to build MSIX packages. The Store package includes the official WebView2 fixed runtime. Microsoft Store packages are written to . For tagged releases, configure the repository secret and variable before running . The workflow uploads signed installers and MSIX packages as Actions artifacts. After verification, upload the installers and their signatures to a draft GitHub Release, generate from the signed artifacts, then publish the release. Submit MSIX packages to Partner Center separately. To rebuild an existing release tag after a

workflow fix, run **Build Tauri** from the branch and set to that tag (for example, ). All verification and packaging jobs check out the selected tag. 0 **MongoDB**: Running locally or accessible remotely **Git**: For cloning the repository Getting Started 1. js + MongoDB) - Marketing website (Next.

常见问题

记录了多少星标和分叉?

trueleaf/apiflow 有 641 个星标和 102 个分叉。

仓库排名是多少?

trueleaf/apiflow 排名第 15,660。

记录的语言和类别是什么?

trueleaf/apiflow 有 641 个星标,语言为 TypeScript,类别为 Applications。

哪个仓库排名最接近?

trueleaf/apiflow 与 AIDotNet/NextCoWork 比较,后者排名第 15,663,有 640 个星标。

README

Apiflow

A Free, AI-Powered API Tool like Postman

中文 | English

Download | Online Demo


Preview

AI Agent

Server-Sent Events (SSE)


What is Apiflow?

Apiflow is a completely free, AI-powered API development platform designed as a modern alternative to Postman, Hoppscotch, and Insomnia.

It supports API testing, mocking, WebSocket, AI agents, team collaboration, offline usage, and local deployment — while fully embracing the OpenAPI 3.0 ecosystem.


Key Features

100% Free

  • All features are free to use
  • No paid plans, no feature limits

AI Agent Built-In

  • Built-in AI Agent for API design, testing and debugging
  • Configure your own Large Language Model
  • Works in offline or intranet environments

Team Collaboration

  • Built-in team and workspace management
  • Unlimited teams and members
  • Fine-grained permission control:
    • Project-level permissions
    • Role-based access control (RBAC)
    • Read / write / admin roles
  • Operation history and change tracking
  • Designed for teams of any size

Offline & Online

  • Local-first by design, online when you need it
  • Full offline capability with local persistence
  • Bidirectional conversion between offline and online data
  • Smooth transition from personal usage to team collaboration
  • Ideal for private networks and restricted environments

Self-Hosted & Local Deployment

  • One-click Docker deployment
  • Data fully controlled by yourself
  • Suitable for enterprises and private networks

OpenAPI Friendly

  • Import & export OpenAPI 3.x
  • Save completed JSON, text, and empty HTTP responses as named examples, including their status codes and content types
  • Include multiple examples for the same status code in offline OpenAPI exports
  • Preserve folder grouping and URL prefixes when importing OpenAPI documents
  • Seamlessly migrate data to:
    • Postman
    • Insomnia
    • Hoppscotch
    • Any OpenAPI-compatible tool

Core Capabilities

  • HTTP API testing (RESTful) with connection pooling and keep-alive reuse
  • WebSocket testing
  • Mock Server (HTTP / WebSocket / SSE)
  • Environment & variable system
  • Pre-request & post-request scripts
  • Project & folder management
  • Import / Export (Postman, OpenAPI, JSON)
  • Internationalization (EN / ZH / JA)

Download

Download the latest version for your platform:

Platform Download
Windows https://github.com/trueleaf/apiflow/releases
macOS https://github.com/trueleaf/apiflow/releases
Linux https://github.com/trueleaf/apiflow/releases

Desktop releases from v0.9.82 use Tauri and Rust. When upgrading from an Electron-based release, back up your local data using Settings → Local Data → Data Backup / Export, then install the new package and restore the backup in the new client. Download the installer directly for this transition; the new client uses a signed Tauri update feed.


Local Deployment

Server Deployment

Docker Deployment

Requirements

  • Docker
  • Docker Compose

First Deployment

git clone https://github.com/trueleaf/apiflow
cd apiflow

cp .env.example .env
# edit .env to configure MongoDB credentials

docker compose pull
docker compose up -d

# Verify deployment
curl http://localhost
curl http://localhost/api/health

Adding Users After Deployment

After successfully deploying Apiflow, follow these steps to add users:

  1. Switch to Internet Mode

    • Click the network mode toggle in the application (usually in the top-right corner)
    • Select "Internet Mode" to enable online features
  2. Login with Default Admin Account

    • Username: admin
    • Default Password: 111111
    • Important: Change the default password after first login for security
  3. Add New Users

    • Navigate to the admin panel/backend management
    • Find the user management section
    • Click "Add User" to create new accounts for your team members

Code Update

If you are running Apiflow with Docker, updating the code does not require rebuilding locally.

Option 1: Using Update Script (Recommended)

# Make scripts executable (first time only)
chmod +x update.sh rollback.sh

# Run update
./update.sh

Option 2: Manual Update

docker compose down
docker compose pull
docker compose up -d

Rollback (recommended: snapshot-based rollback)

# Option 1: rollback to the latest snapshot created by update.sh (recommended)
./rollback.sh --previous

# Option 2: rollback to a specified snapshot file (recommended)
./rollback.sh --file current_versions_20260122_120000.txt

# Option 3: compatibility mode, rollback by tag/sha (not guaranteed to be exact, for emergencies)
./rollback.sh v1.2.3
# ./rollback.sh 7f3a2b1c4d5e

Client Build

After deploying with Docker you can access the system directly via browser. If you want to use the full desktop experience, follow the steps below to build the client.

Prerequisites

  • Node.js: >= 22.12.0
  • Rust: >= 1.85 with the native toolchain for your target platform
  • macOS: Xcode Command Line Tools required (xcode-select --install)
  • Linux: WebKitGTK 4.1, AppIndicator, OpenSSL development packages, patchelf, fakeroot and dpkg
  • Each platform's installer can only be built on its native OS (no cross-platform compilation)

Step 1: Speed up downloads (optional)

If npm downloads are slow, uncomment the registry line in the root .npmrc:

registry=https://registry.npmmirror.com

Step 2: Clone the repository and install dependencies

git clone https://github.com/trueleaf/apiflow.git
cd apiflow
npm install

Step 3: Modify configuration (as needed)

Edit packages/web/src/config/config.ts and adjust the following settings as required:

// Change the backend server URL
// Default points to the official server; replace with your own when self-hosting
httpRequest: {
  url: isDev ? 'http://127.0.0.1:7001' : 'https://your-server.example.com',
  // ...
},

Note: After packaging, the server URL can also be updated at any time in the app via Settings → App Config → API Endpoint, without needing to repackage.

Step 4: Run the build command for your platform

# Windows
npm run web:build:local:win

# macOS
npm run web:build:local:mac

# Linux
npm run web:build:local:linux

# Quick verification only (build the native binary without an installer)
npm run web:build:local:pack

# Microsoft Store MSIX (requires Windows SDK)
npm run web:build:local:win:store

Tip (Windows): Install the Windows SDK to build MSIX packages. The Store package includes the official WebView2 fixed runtime.

Build Commands

Command Description
npm run web:build:local:pack Build the Tauri binary without an installer
npm run web:build:local:win Build Windows NSIS .exe and MSI .msi installers
npm run web:build:local:win:store Build a Microsoft Store .msix package
npm run web:build:local:mac Build macOS bundles on macOS
npm run web:build:local:linux Build Linux packages on Linux

Output Directory

Tauri installers are located in packages/web/src-tauri/target/release/bundle/. Microsoft Store packages are written to packages/web/release/.

For tagged releases, configure the repository secret TAURI_SIGNING_PRIVATE_KEY and variable TAURI_UPDATER_PUBLIC_KEY before running .github/workflows/build-tauri.yml. Set TAURI_SIGNING_PRIVATE_KEY_PASSWORD if the key is encrypted. The tag must match v plus packages/web/package.json's version. The workflow uploads signed installers and MSIX packages as Actions artifacts. After verification, upload the installers and their signatures to a draft GitHub Release, generate latest.json from the signed artifacts, then publish the release. Submit MSIX packages to Partner Center separately.

To rebuild an existing release tag after a workflow fix, run Build Tauri from the main branch and set release_tag to that tag (for example, v0.9.82). All verification and packaging jobs check out the selected tag.


Local Development

Prerequisites

  • Node.js: >= 22.12.0
  • MongoDB: Running locally or accessible remotely
  • Git: For cloning the repository

Getting Started

  1. Clone the repository
git clone https://github.com/trueleaf/apiflow.git
cd apiflow
npm install
  1. Start development servers
npm run dev

This command will start both the frontend and backend servers concurrently:

Available Commands

Command Description
npm run dev Start both frontend and backend in development mode
npm run dev:web Start the browser-only frontend
npm run web:dev Start the Tauri desktop frontend
npm run server:dev Start only the backend
npm run web:build Build the web application
npm run server:build Build the server application
npm run server:test Run server unit tests
npm run bootstrap Install all dependencies

Project Structure

This is a multi-package monorepo:

  • packages/web - Web and Tauri desktop application (Vite + Vue 3 + Rust)
  • packages/server - Backend application (Midway.js + MongoDB)
  • packages/website - Marketing website (Next.js)

Development Tips

  • Ensure MongoDB is running before starting the server
  • The frontend supports hot module replacement (HMR) for fast development
  • Backend auto-restarts when files change
  • You can develop packages independently by running their specific dev commands

License

This project is licensed under the MIT License.
See the LICENSE file for details.

排名相邻
同类项目