Giter Site home page Giter Site logo

quasi-studio / quasi Goto Github PK

View Code? Open in Web Editor NEW
9.0 0.0 0.0 9.4 MB

The monorepo for Quasi Studio

Home Page: https://quasi-studio.netlify.app/

License: GNU General Public License v3.0

TypeScript 99.15% HTML 0.65% JavaScript 0.18% CSS 0.02%
lcdp low-code low-code-development-platform sof structure-oriented

quasi's Introduction

Quasi Studio

Social Preview

A structure-oriented and unique LCDP (Low-Code Development Platform).

Try it now at quasi-studio.vercel.app. An example project is here.

  • Designed for professional developers
  • Intuitive and easy to use
  • Build with Refina.js

Licensed under GNU GPL v3

Preview

Designer UI example-ui
Quasi Graph example-graph
Output Preview example-output

Features

📦 Block

  • Special Blocks: Used to process data and control the flow of the application.
  • Component Blocks: Used to build the layout of the application.
  • View Blocks: Used to split and reuse the layout of the application.

🔌 Socket

There are several sockets in a block, and they are used to connect to other blocks.

🧵 Line

Connect one socket to another.

Different Types of Sockets and Lines

Only the same type of Socket and Line can be connected to each other.

🌳Layout Line / Layout Socket

Control the layout.

The socket is square, and the line is brown.

🧳Data Line / Data Socket

"Pull" data from one block to another.

The socket is semi-circular, and the line is blue.

⚡Event Line / Event Socket

"Push" an event from one block to another.

The socket is triangular, and the line is green.

So, How to Use Quasi Studio?

  1. Think about the layout and logic of your app
  2. Drag the corresponding Component Block to the graph
  3. Connect these blocks with Layout Line
  4. Handle events. Connect the event from the Component Block to the block that handles the event
  5. Get data. Connect the data from the Component Block to the block that needs the data

Other Functions

👁 Quick preview

↩️ Undo /↪️ Redo

⬇️ Import / ⬆️ Export / 🔄️ Autosave

✏️ Embed Monaco Editor

📸 Generate high-resolution images of your design graph

Design Principles

Fine-grained or coarse-grained?

  • Most of the low-code platforms are coarse-grained, which means they provide a set of predefined components and you can only use them to build your app.
  • Quasi Studio is fine-grained, which means you can build your own components and use them in the graph.
  • However, unlike Scratch, Quasi Studio is designed for professional developers and focuses on development efficiency.

Mix Layout and Logic

  • Traditional low-code platforms separate layout and logic, which means you can only use the visual editor to design the layout and write code to implement the logic.
  • Quasi Studio mixes layout and logic, which means you can use the visual editor to design the layout and implement the logic at the same time.

Development

Directory Structure

This is a monorepo, and the directory structure is as follows:

  1. browser-tailwind: Tailwind Compiler for the browser.
  2. compiler: Compile the graph to the runnable code.
  3. mdui2-dts: Generate a single DTS file of MdUI
  4. monaco-editor: Monaco Editor as a Refina component.
  5. northstar: The major part of Quasi Studio.
  6. runtime: Runtime for the Quasi Studio generated app.
  7. visual-flow: DnD library for building blocks, lines, and sockets.

Dependency Graph

Together with Refina.js.

graph LR
A(refina/core) --> B(refina/fluentui)
M(quasi-dev/monaco-editor) ---> G
A ---> M
A --> C(refina/mdui)
A --> D(refina/router)
B --> E(quasi-dev/visual-flow)
B --> F(quasi-dev/block-data)
E --> G("quasi-dev/northstar (LCDP)")
F --> G
F --Provide data--> H(quasi-dev/compiler)
T(quasi-dev/browser-tailwind) --Invoked by--> H
H --Invoked by--> G
H -.Generate.-> I([User's App])
A --Runtime dep----> I
B --Runtime dep----> I
C ---> R(quasi-dev/runtime) --Runtime dep--> I
D --Runtime dep----> I
class A,B,C,D refina;
classDef refina stroke:#ff0;
style G stroke-width:3px,stroke:#91C1EB;
style I stroke-width:3px,stroke:lightgreen;

Start Development

pnpm dev

quasi's People

Contributors

kermanx avatar zecyel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.