Skip to content

pratik2201/uc-runtime

Repository files navigation

🚀 uc-runtime

:Shree Ganeshay Namah:

a UI And Resources Manager generated by uc-dev
Core runtime engine for UC-based Electron applications

uc-runtime do

  • IPC Handler (seperate main and renderer)
  • Manage Resource File Generated by uc-dev
  • It works together with:

uc-dev → CLI builder link
uc-controls → UI controls library (if used) link

📦 Installation

npm install uc-runtime

🧠 What is uc-runtime?

uc-runtime is responsible for:

  • Installs UserControl and Template Class
  • all designer generated by uc-dev is extended by this Usercontrol and Template classes
  • these classes has their own usage
  • one for to designer dock and second one is repeate ui
  • Runtime execution layer
  • Main process helpers
  • Renderer process core utilities
  • Template rendering
  • IPC handling
  • UC lifecycle management

It separates:

  • Main process logic
  • Renderer logic
  • Shared runtime utilities

uc-dev generates and builds designer files that work on top of uc-runtime.

🔁 How to use inside any *.uc.html file

syntex

<tagName x-from="path to `.uc.html` file" ><!-- elements if usercontrol support/need child elements --></tagName>

example use of WinFrame Usercontrol from project uc-controls

<wrapper>
   <WinFrame x-name="winFrame1" x-from="uc-controls/WinFrame.uc.html" >
       <h1>Hello From Uc Project</h1>
   </WinFrame>
</wrapper>

as the above you can create your own ui controls and call those like this

🔁 Works With

  • Package Purpose
  • uc-dev CLI builder
  • uc-runtime Core runtime engine
  • uc-controls UI component library

🎯 Philosophy

  • uc-runtime is built for:
  • Modular architecture
  • Designer-first workflow
  • Clear separation of concerns
  • Electron-based desktop applications
  • Scalable multi-form systems

📜 License

ISC

Links


github : https://github.com/pratik2201/uc-runtime.git

📺 Video Tutorial

A complete step-by-step video guide

🔔 Subscribe to get notified when it’s live:
youtube : soon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors