Home

Awesome

<h1 align="center">OpenSumi Web Lite Sample</h1> <div align="center">

CLA assistant License Discussions

</div>

This project is implemented based on GitHub REST API to show how to run the OpenSumi project in a pure browser environment.

perview

English | 简体中文

Preview

Online Preview Page: opensumi.github.io/ide-startup-lite

Quick Start

$ git clone https://github.com/opensumi/ide-startup-lite.git
$ cd ide-startup-lite
$ yarn
$ yarn start

Open http://127.0.0.1:8081.

It will open https://github.com/opensumi/core as the default workspace, if you want to open other git repo, you can query it with the hash, like:

http://127.0.0.1:8081#https://github.com/opensumi/core

Also, you can open it with special tag or branch, like:

http://127.0.0.1:8081#https://github.com/opensumi/core/tree/v2.15.0

Web Extension

Before you use it, you should know 'What's the Web Extensions', see the VS Code docs here Web Extensions.

you can use almost Web Extensions on the OpenSumi.

We declare some buit-in extensions on web-lite/extension/index.ts#L6, with these extensions, you can get some code hinting capabilities inside the editor.

Also, you can add your own Web Extensions on your static resource server, maybe you need to modify some of the extension fetching logic here web-lite/extension/utils.ts#L56.

Document

See Quick Start(Pure Front End).

License

Copyright (c) 2019-present Alibaba Group Holding Limited, Ant Group Co. Ltd.

Licensed under the MIT license.