system

PhreshOSMIT活跃维护

用 Web 技术构建应用的自托管开源系统,提供类似桌面环境的运行平台,让 Web 应用像本地应用一样集中管理和使用。

An open-source, self-hosted system for apps built with web technologies.

v0.8.6发布于 2026-10-15 07:42 UTC308star38fork同步于 2026-11-10 06:04 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
npm install --global @phreshos/cli
bun install --frozen-lockfile
bun run dev
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v0.8.6
  1. v0.8.6最新正式版2026-10-15 · 2026-10-15 07:42 UTC
  2. v0.8.52026-10-14 · 2026-10-14 07:32 UTC
    查看更新说明
  3. v0.8.42026-10-13 · 2026-10-13 17:20 UTC
    查看更新说明
  4. v0.8.32026-10-13 · 2026-10-13 12:29 UTC
    查看更新说明
  5. v0.8.22026-10-13 · 2026-10-13 11:43 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    The PhreshOS Desktop: Terminal showing phresh fetch, Files, and the Map with windows beyond the view

    PhreshOS runs on the machine you install it on, keeps your Programs running there, and gives you a Desktop in the browser to use them from. Programs are built with the web tools you already know. The System gives each of them a place to run, one sign-in, communication with other Programs, storage, and permissions, so a Program only holds its own logic.

    [!NOTE] PhreshOS is still experimental and not yet ready for production use.

    Everything on the Desktop, from the file manager to Settings and the wallpaper, is a Program built on the System, not part of it.

    This repository is the System: the service that runs on your machine, and the Desktop it serves.

    What Programs get

    • A place to run. A Program's Server keeps running on the machine, whether or not a browser is open.
    • One sign-in. The owner signs in to the System. Programs never handle accounts, sessions, or connections.
    • Communication. Programs ask, publish, and listen, between their own parts and between Programs, without setting up a transport.
    • Permissions. The System decides what each Program may reach.
    • Any browser. Open the Desktop from any browser that can reach the machine, and the same Programs are there, as you left them.
    • Agents alongside you. An AI agent uses the same Programs through the phresh command line and the SDKs, at the same time as you use them on the Desktop.

    Try it

    The live demo gives you a disposable Desktop for an hour, with nothing to install.

    To install PhreshOS on macOS, Linux, or Windows, you need Node.js 24.15 or newer:

    npm install --global @phreshos/cli
    phresh system install
    

    The command installs the System as a service of your user, starts it, and prints the Desktop's address, usually http://localhost:4300. The first visit creates the owner account. See Installation to update, stop, or remove it, or to change where it keeps its data.

    Then create your first Program:

    phresh create my-program
    cd my-program
    phresh dev
    

    What the System does

    The System owns the running state of PhreshOS:

    • Programs, their Processes, and the Server and Client Endpoints they run;
    • communication between Endpoints, Services, and Programs;
    • authentication of the owner and of every connection;
    • permissions, storage, uploads, and logs;
    • the Desktop: Windows, layers, the plane of views, and the Appearance.

    The browser shows this state; it does not hold it. A Desktop, a Node script, and the phresh command all reach the same System, through contracts defined in @phreshos/core. See The System for the full model.

    Development

    You need Bun 1.3 and Node.js 24.15 or newer.

    bun install --frozen-lockfile
    bun run dev
    

    dev runs the System from source, with its data in storage/ in this repository and the Desktop on the first free port from 5300. An installed System uses ~/.phreshos and ports from 4300, so both can run side by side. PHRESHOS_HOME and PHRESHOS_PORT choose another home or port.

    CommandDoes
    bun run checkType-checks the source
    bun run buildBuilds the server and the Desktop into dist/
    bun run testRuns the tests in tests/
    bun run verifyRuns check, build, and test, including a test that packs the release, installs it in a temporary folder, and boots it
    bun run packBuilds the release archive and its checksum

    The source has three parts: source/server is the System, source/client is the Desktop, and source/shared holds what both use.

    Related repositories

    RepositoryRole
    coreThe contracts shared by every part of PhreshOS
    clientThe SDK for a Program's Client Endpoint, in its Window
    serverThe SDK for a Program's Server Endpoint
    nodeThe SDK for Node.js code that reaches a running System
    reactReact bindings for the SDKs
    react-uiThe component library the Desktop and Programs draw with
    cliThe phresh command: installs the System, builds Programs, and reaches the running System
    websitephreshos.com and its documentation

    Contributing

    See CONTRIBUTING.md. To report a vulnerability privately, see SECURITY.md.

    License

    MIT. Copyright © 2026 Zohayr SLILEH.