• Stars
    star
    879
  • Rank 51,943 (Top 2 %)
  • Language
    TypeScript
  • License
    Other
  • Created almost 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀 A lightweight Web IDE UI framework.
watchman-logo

Molecule

A lightweight Web IDE UI Framework

CI CII Best Practices Codecov NPM downloads NPM version Chat

中文 | English | 한국어

The Molecule is a lightweight Web IDE UI framework which is built with React.js and inspired by the VSCode. We have designed the Extension APIs similar to the VSCode, to help developers extend the Workbench in an easier way. It's convenient to integrate the Molecule with React.js applications. It has been applied to many products in DTStack

Online Preview

Features

  • Built-in the Visual Studio Code Workbench UI
  • Compatible with the Visual Studio Code ColorTheme
  • Customize the Workbench via React Component easily
  • Built-in Monaco-Editor Command Palette, Keybinding features
  • Support the i18n, built-in Simplified Chinese, Korean and English
  • Built-in Settings, support to edit and extend via the Extension
  • Built-in basic Explorer, Search components, and support extending via the Extension
  • Typescript Ready

Installation

npm install @dtinsight/molecule
# Or
yarn add @dtinsight/molecule

Basic Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { create, Workbench } from '@dtinsight/molecule';
import '@dtinsight/molecule/esm/style/mo.css';

const moInstance = create({
    extensions: [],
});

const App = () => moInstance.render(<Workbench />);

ReactDOM.render(<App />, document.getElementById('root'));

The extension is the Extension applications entry, more details about Extension, please read the Quick Start.

Document

Development

git clone [email protected]:DTStack/molecule.git

Clone the source code into your local

Development Mode

yarn # Install dependencies

yarn dev # Start dev mode

The Molecule using the Storybook to manage and develop the React components, the default visiting address is http://localhost:6006/.

Test

yarn test -u

Build & Preview

yarn build # Compile to ESM
yarn web # Web Preview Mode

We compile the source code into the ES6 modules and output to the esm folder. Besides the Storybook development mode, there also builtin a Web Preview mode using the ESM modules.

Contributing

Refer to the CONTRIBUTING.

Communication

  • We use DingTalk to communicate,You can search the group number 30537511 or scan the QR code below to join the communication group

License

Copyright © DTStack. All rights reserved.

Licensed under the MIT license.

More Repositories

1

chunjun

A data integration framework
Java
3,970
star
2

flinkStreamSQL

基于开源的flink,对其实时sql进行扩展;主要实现了流与维表的join,支持原生flink SQL所有的语法
Java
2,017
star
3

Taier

Taier is a big data development platform for submission, scheduling, operation and maintenance, and indicator information display
Java
1,329
star
4

dt-sql-parser

SQL Parsers for BigData, built with antlr4.
TypeScript
293
star
5

jlogstash

java 版本的logstash
HTML
267
star
6

monaco-sql-languages

SQL languages for monaco-editor
TypeScript
217
star
7

chengying

一款支持标准化schema定义、自动化部署产品包的软件,旨在对产品包下每个服务进行部署、升级、卸载、配置等操作,解放人工运维成本。
Go
197
star
8

dt-react-component

React UI component library based on antd package
TypeScript
84
star
9

jfilebeat

类filebeat的轻量级日志采集工具
Java
68
star
10

DatasourceX

Java
65
star
11

catcher

java性能采集工具
Java
51
star
12

flinkx

48
star
13

code-review-practices

Code Review Practices
48
star
14

yice-performance

易测性能检测平台
TypeScript
46
star
15

doraemon

A management tool to help you organize your daily development
TypeScript
32
star
16

chengying-agent

EasyAgent is an infrastructure component, applied to manage the life-cycle of services on the remote host.
Go
32
star
17

dt-utils

前端常用工具函数
TypeScript
30
star
18

dt-python-parser

Python Parsers for BigData, built with antlr4.
JavaScript
25
star
19

ko

Project toolkit for React Applications
JavaScript
24
star
20

dt-react-monaco-editor

Monaco editor for React.
TypeScript
22
star
21

jlogstash-input-plugin

java 版本 logstash input 插件
Java
21
star
22

jlogstash-performance-testing

jlogstash 与 logstash 性能对比
20
star
23

molecule-examples

The collection of Molecule examples
TypeScript
20
star
24

UED

袋鼠云数栈 UED 团队 - http://ued.dtstack.cn/
TypeScript
20
star
25

ant-design-dtinsight-theme

This is a document of DTInsight-theme based on Ant Design.
Less
20
star
26

dt-form-renderer

Render Interaction Form Via JSON
TypeScript
18
star
27

ant-design-testing

TypeScript
16
star
28

babel-plugin-treasure

Base on babel-plugin-import , committed to achieving the AST optimization requirements of a unified library
HTML
11
star
29

chengying-server

Go
10
star
30

Code-Style-Guide

10
star
31

chunjun-web

ChunJun Offical Website https://dtstack.github.io/chunjun-web/
JavaScript
8
star
32

jlogstash-output-plugin

java 版本 logstash output 插件
Java
7
star
33

jlogstash-filter-plugin

java 版本 logstash filter 插件
Java
7
star
34

easyvc-power-meter

an open source component code for demonstrating @easyv/cli.
JavaScript
6
star
35

chengying-schema

Shell
6
star
36

chengying-front

TypeScript
5
star
37

chengying-web

JavaScript
4
star
38

typescript-migration-helper

Help ES6 + React + Redux project migrates to the Typescript project.
Perl
2
star
39

easyv-cli

EasyV官方组件开发工具
2
star
40

dtstack-log-java-sdk

玳数日志java版本sdk
Java
2
star
41

create-molecule

Create Molecule Application with create-react-app.
TypeScript
2
star
42

dt-react-codemirror-editor

Codemirror editor for React.
TypeScript
2
star
43

maven-repository

1
star
44

elasticsearch-sql-old

Java
1
star
45

dt-monaco-editor-nls-webpack-plugin

Simplified Chinese Support For Monaco Editor
JavaScript
1
star