An open API service indexing awesome lists of open source software.

https://github.com/theajack/webos

Webos terminal Based on HTML5 FileSystem and Alins
https://github.com/theajack/webos

alins filesystem terminal webos

Last synced: about 1 year ago
JSON representation

Webos terminal Based on HTML5 FileSystem and Alins

Awesome Lists containing this project

README

          





stars


forks


version


downloads


jsdelivr

vistor



author


license

Size
TopLang
issue
Dependent

### 🚀 [webos-term](https://github.com/theajack/webos): 基于 HTML5 FileSystem 的 Web 终端窗口

**[English](https://github.com/theajack/webos/blob/master/README.md) | [在线使用](https://theajack.github.io/webos) | [更新日志](https://github.com/theajack/webos/blob/master/scripts/version.md) | [反馈错误/缺漏](https://github.com/theajack/webos/issues/new) | [Gitee](https://gitee.com/theajack/webos) | [留言板](https://theajack.github.io/message-board/?app=webos)**

## 0 快速开始

[在线地址](https://theajack.github.io/webos)

[chrome插件下载](https://theajack.github.io/webos/extension.crx)

![](https://shiyix.cn/webos.jpg)

### 0.1 npm

使用 webos 构建你的终端窗口

```
npm i webos-term
```

```js
import { createTerm } from 'webos-term';

createTerm({
container: 'body'
});
```

** webos-disk 文件系统操作js库 **

```
npm i webos-disk
```

具体使用请参考 [webos-disk.d.ts](https://cdn.jsdelivr.net/npm/webos-disk/dist/webos-disk.d.ts)

### 0.2 cdn

```html

Webos.createTerm({
container: 'body'
});

```

## 1. webos-module

在浏览器上运行 es6,支持引入 npm包

```
npm i webos-module
```

```js
import { Application } from 'webos-module';

new Application({
code: `
import loadsh from 'loadsh';
console.log(loadsh.VERSION);
`
});
```

umd config

```js
import { Application } from 'webos-module';

new Application({
code: `
import vue from 'Vue';
console.log(vue);
`,
iifeNameMap: {vue: 'Vue'}
});
```

[other useage](https://cdn.jsdelivr.net/npm/webos-module/dist/webos-module.d.ts)