OS.js

OS.js -- JavaScript Web桌面平台。「OS.js - JavaScript Web Desktop Platform」

Github星跟蹤圖

OS.js

OS.js 是一个开源的 web 桌面平台,它包含了窗口管理器、应用程序 API、GUI 工具包、文件系统抽象等功能。

介紹

这是 OS.js 的基础资源库,你可以用它作为模板来制作你自己的发行版、安装和开发环境。

自己试试吧

访问官方演示以获得预览版本。请注意,有些功能是被禁用的,有时可能会过时或不可用。

安装

OS.js 默认运行在 http://localhost:8000。

演示

你可以在不检查任何源代码的情况下使用 Docker 运行一个演示。

docker run -p 8000:8000 osjs/osjs:last

自定义

克隆官方 OS.js 仓库的主分支。

git clone -b master --single-branch https://github.com/os-js/OS.js.git。cd OS.js

Docker

如果你安装了 Docker 和 Docker Compose,你可以在本地运行 OS.js,而无需在主机系统上安装任何东西。

只需运行下面的命令,一个完整的环境就会为你设置好。

docker-compose up

本地

要直接在主机系统上安装,你需要 Node 10(或更高版本)。

# 安装依赖项
npm install

# 建议你更新依赖关系
npm update

# 可选择安装额外的软件包
# 关于软件包列表,请参见 https://manual.os-js.org/resource/official/
npm install @osjs/example-application

# 发现已安装的软件包
npm run package:discover

# 构建客户端
npm run build

# 开始服务
npm run serve

贡献

文档

参见官方手册中的文章、教程和指南。

链接


(The first version translated by vz on 2020.09.26)

主要指標

概覽
名稱與所有者os-js/OS.js
主編程語言JavaScript
編程語言JavaScript (語言數: 5)
平台Docker, Linux, Mac, Web browsers, Windows
許可證Other
所有者活动
創建於2013-11-17 20:16:25
推送於2022-12-12 13:14:32
最后一次提交2022-09-16 02:54:03
發布數176
最新版本名稱3.1.12 (發布於 )
第一版名稱alpha-1 (發布於 )
用户参与
星數7k
關注者數229
派生數830
提交數65
已啟用問題?
問題數625
打開的問題數18
拉請求數146
打開的拉請求數1
關閉的拉請求數52
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

OS.js

OS.js is an open-source web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.

Support
Donate
Donate
Donate
Community

Introduction

This is the OS.js base repository that you can use as a template to make your own distributions, installations and development environments.

Try it yourself

Visit the official demo for a preview version. Please note that some features are disabled and might be outdated or unavailable at times.

ScreenShot

Installation

OS.js runs on http://localhost:8000 by default.

Demo

You can run a demo using Docker without checkout out any source-code:

docker run -p 8000:8000 osjs/osjs:latest

Custom

Clone the master branch of the official OS.js repository:

git clone -b master --single-branch https://github.com/os-js/OS.js.git
cd OS.js

Docker

You can run OS.js locally without installing anything on your host system if you have Docker and Docker Compose installed.

Simply run the following command and a complete environment will be set up for you:

docker-compose up

Locally

To install directly on the host system you'll need Node 8 (or later).

# Install dependencies
npm install

# It's recommended that you update dependencies
npm update

# Optionally install extra packages:
# For a list of packages, see https://manual.os-js.org/v3/resource/official/
npm install @osjs/example-application

# Discover installed packages
npm run package:discover

# Build client
npm run build

# Start serving
npm run serve

Contribution

Documentation

See the Official Manuals for articles, tutorials and guides.