Skip to content

RedScript is a powerful Python-based scripting environment with real-time GUI capabilities. Built with PyQt6, it allows dynamic window creation, interactive labels, and buttons with command callbacks. Ideal for rapid prototyping, educational tools, and custom automation workflows.

License

Notifications You must be signed in to change notification settings

Luka12-dev/RedScript

Repository files navigation

RedScript Real-Time GUI

Overview

RedScript Real-Time GUI is a lightweight, command-driven GUI engine built with Python and PyQt6. It allows you to create and manage windows, labels, buttons, and other widgets dynamically using simple textual commands. GUI updates are processed asynchronously, ensuring smooth and responsive interaction without blocking your main application logic.

ScreenShots

ScreenShot ScreenShot-Making-GUI


Icon

Icon

Features

  • Create and manage multiple windows in real-time.
  • Add labels, buttons, and other widgets dynamically.
  • Buttons support callback commands safely.
  • Non-blocking, queue-based GUI system.
  • Customizable styles using QSS for a modern dark theme.
  • Easy to extend with new commands and widgets.

Quick Start

Here’s a simple example to create a window with a label and a button:

GUI_WINDOW_CREATE "Test Window" 600 400 GUI_LABEL_ADD "Test Window" "Welcome to RedScript Real-Time GUI!" GUI_BUTTON_ADD "Test Window" "Click Me" "BUTTON_CLICKED" GUI_SHOW "Test Window"

markdown

Just call these commands through your CommandRegistry instance, and the GUI will appear instantly.

Installation

  1. Ensure Python 3.10+ is installed.
  2. Download repo or clone.
  3. Install PyQt6:
pip install PyQt6

Styling
Use the apply_qss method to apply a clean dark theme with smooth gradients, modern fonts, and consistent widget styling.

Extending
You can easily add new GUI commands, custom callbacks, or additional widgets by registering commands in your CommandRegistry.

License
MIT License

About

RedScript is a powerful Python-based scripting environment with real-time GUI capabilities. Built with PyQt6, it allows dynamic window creation, interactive labels, and buttons with command callbacks. Ideal for rapid prototyping, educational tools, and custom automation workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published