OS.js

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

Github stars Tracking Chart

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)

Main metrics

Overview
Name With Owneros-js/OS.js
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 5)
PlatformDocker, Linux, Mac, Web browsers, Windows
License:Other
所有者活动
Created At2013-11-17 20:16:25
Pushed At2022-12-12 13:14:32
Last Commit At2022-09-16 02:54:03
Release Count176
Last Release Name3.1.12 (Posted on )
First Release Namealpha-1 (Posted on )
用户参与
Stargazers Count7k
Watchers Count229
Fork Count830
Commits Count65
Has Issues Enabled
Issues Count625
Issue Open Count18
Pull Requests Count146
Pull Requests Open Count1
Pull Requests Close Count52
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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.