Skip to content

scyberLink/ruig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

64 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RUIG – The Ultimate Drag-and-Drop UI Builder & Code Generator

RUIG (Rapid UI Generator) is a powerful client-based Progressive Web App (PWA) that revolutionizes the way developers design and generate frontend components. With an intuitive drag-and-drop interface, real-time rendering, and full support for npm packages, RUIG provides a seamless, framework-agnostic development experienceβ€”all within your browser.

RUIG isn't just for Reactβ€”it's an extensible platform that allows developers to create plugins that convert designs into multiple frameworks like Preact, Next.js, Vue, standard HTML/CSS/JavaScript, Flask, and more.

πŸš€ Say goodbye to repetitive codingβ€”design, customize, and export instantly!


🎯 Why RUIG?

βœ… No Installation Required

RUIG runs entirely in the browser as a PWA, meaning no setup, no dependencies, and zero backendβ€”just pure client-side magic.

βœ… Drag-and-Drop UI Builder

Effortlessly create components and entire layouts with an intuitive, user-friendly interface.

βœ… Supports NPM Packages in the Browser

Want to use Material UI, Bootstrap, Tailwind, React Router, or Redux? Simply install them inside RUIG and start building.

βœ… Live Preview & Instant Code Generation

See real-time updates while designing and export the code instantly in the framework of your choice.

βœ… Plugin System for Maximum Flexibility

Developers can create custom plugins to extend RUIG’s capabilities, adding support for different frameworks and integrations.


πŸ”₯ Key Features

🎨 Visual UI Editor

  • Drag-and-drop buttons, inputs, modals, forms, grids, and more.
  • Supports custom styles, props, and attributes.
  • Add and configure event handlers (onClick, onChange, etc.).

πŸ’‘ Multi-Framework Code Export

RUIG is framework-agnostic. Export your designs as:

  • React (JSX with hooks and components).
  • Preact (lightweight and optimized).
  • Next.js (SSR-friendly with optimized static exports).
  • Vue.js (Vue components and directives).
  • Standard HTML/CSS/JavaScript (vanilla, fully customizable).
  • Flask (convert UI elements into Flask-compatible templates).
  • More coming soon…

πŸ”Œ Plugin Ecosystem for Developers

  • Extend RUIG by creating custom plugins.
  • Build exporters that convert designs into other frameworks.
  • Integrate third-party APIs, UI kits, and design systems.

πŸ› οΈ Code Editing & NPM Support

  • Directly edit generated code inside RUIG.
  • Import & use npm packages dynamically.
  • Auto-suggestions and intelligent component linking.

🌐 Offline-Ready (PWA)

  • Works fully offline once installed.
  • Store projects locally and resume anytime.

πŸš€ Getting Started

1️⃣ Install RUIG (PWA Mode)

RUIG is a progressive web app, meaning you can install it just like a native app.
Simply visit RUIG's official site and "Add to Home Screen" (Chrome, Edge, or Safari).

2️⃣ Start Dragging & Designing

  • Open RUIG and start adding UI components.
  • Customize properties, styles, and event handlers.
  • Integrate with npm packages in real time.

3️⃣ Export & Use Anywhere

  • Select React, Vue, Next.js, or another framework.
  • Download the code or copy it to your project.
  • Done! Your UI is ready for integration.

βš™οΈ Example: Convert Design to React

Step 1: Drag UI Elements

Add buttons, forms, modals, etc., and customize properties.

Step 2: Export as React Code

With one click, RUIG generates:

import React, { useState } from "react";

export default function MyComponent() {
  const [count, setCount] = useState(0);

  return (
    <div className="container">
      <h1>Counter: {count}</h1>
      <button onClick={() => setCount(count + 1)}>Increment</button>
    </div>
  );
}

Copy & paste it into your React project! πŸŽ‰


πŸ› οΈ Extending RUIG with Plugins

RUIG’s plugin system allows developers to add new functionalities, such as:
βœ… New framework exporters (e.g., Angular, Svelte, Solid.js)
βœ… Custom UI libraries (Bootstrap, Tailwind, Material UI, etc.)
βœ… Backend integration (Flask, Express, Django, Firebase)
βœ… AI-powered auto-design tools

Example: Writing a Plugin to Export Vue Components

RUIG.registerPlugin({
  name: "Export to Vue",
  transform: (uiTree) => {
    return convertToVue(uiTree); // Your conversion logic here
  },
});

🎯 Who is RUIG For?

πŸ’‘ Frontend Developers – Quickly build UI without writing boilerplate.
⚑ Full-Stack Engineers – Generate frontend code that works with any backend.
🎨 UI/UX Designers – Experiment with layouts and see real-time previews.
πŸ”§ Product Teams – Rapidly prototype and iterate without heavy dependencies.


πŸ“Œ Upcoming Features

πŸ”Ή AI-Powered Code Suggestions – Intelligent UI recommendations.
πŸ”Ή Multi-Page Support – Design entire web apps, not just components.
πŸ”Ή Direct GitHub Export – Push projects to repositories from RUIG.
πŸ”Ή Theme Customization – Dark mode, UI presets, and templates.


🀝 Contributing

Want to improve RUIG? Contributions are welcome! πŸš€

How to Contribute

  1. Fork the repository on GitHub.
  2. Create a new branch (feature-new-plugin).
  3. Commit your changes and submit a PR.
  4. Discuss & merge! πŸŽ‰

πŸ“œ License

RUIG is open-source and released under the MIT License.


πŸ”— Stay Updated!

πŸ’¬ Join the RUIG Community – Discord | Twitter | GitHub

πŸš€ Try RUIG today and accelerate your frontend development!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •