Skip to content

Adds a console to the A1111 web UI to allow for quick testing of Python and Javascript snippets

License

Notifications You must be signed in to change notification settings

SenshiSentou/sd-webui-qic-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ko-fi

⚠️ WARNING ⚠️

This extension was made for developers! If someone ever asks you to install this extension and run any code they send you, DON'T. There are no safety checks in place, and malicious code can be ran without restriction.

QIC Console

The Quick Iterative Code Console (QIC Console) was created to allow devs to quickly test snippets of Python code within the A1111 environment without having to constantly restart the app. For example, you might want to quickly check or manipulate some shared state, or run a quick dir() to see what attributes are available on an object at run-time.

Unfortunately there is no auto-complete, only syntax highlighting.

Python

Any Python code entered is executed using exec in the extension's context.

Javascript

Any Javascript code entered is executed using eval and gives full access to all the same functions and variables that you do in the developer console. The only reason I added JS is that sometimes it's just nice to have a little more room to type while testing things.

Installation

Open your A1111 Web UI and go to Extensions > Install from URL. Paste in the link to this repo (https://github.com/SenshiSentou/sd-webui-qic-console.git), click Install and restart the web ui.

Make sure to launch the UI with the --allow-code flag enabled.

About

Adds a console to the A1111 web UI to allow for quick testing of Python and Javascript snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published