This project is implemented based on GitHub REST API to show how to run the OpenSumi project in a pure browser environment.
English | 简体中文
Online Preview Page: opensumi.github.io/ide-startup-lite
$ 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
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.
See Quick Start(Pure Front End).
Copyright (c) 2019-present Alibaba Group Holding Limited, Ant Group Co. Ltd.
Licensed under the MIT license.