1
1
<p align =" center " >
2
- <img src =" https://user-images.githubusercontent. com/0000000/0000000-kore- logo.png " alt =" KoreUI Logo " height =" 120 " />
2
+ <img src =" https://github. com/TheJupiterDev/KoreUI/blob/main/assets/ logo.png " alt =" KoreUI Logo " height =" 120 " />
3
3
</p >
4
4
5
5
<h1 align =" center " >KoreUI</h1 >
11
11
12
12
---
13
13
14
+ > ⚠️ This project is still in pre alpha stages!
15
+
16
+ ---
17
+
14
18
## 🚀 Features
15
19
16
20
- 📄 Full support for JSON Schema Draft 2020-12
26
30
27
31
Run the following:
28
32
29
- pip install -r requirements.txt
33
+ ``` pip install pyside6 ```
30
34
31
35
Requirements:
32
36
33
- - Python 3.8 +
37
+ - Python 3.10 +
34
38
- PySide6
35
39
36
40
---
@@ -39,57 +43,45 @@ Requirements:
39
43
40
44
To start the application:
41
45
42
- python app.py
46
+ ``` python app.py ```
43
47
44
- Edit the ` schema .json` file to customize your form structure.
48
+ Edit the ` example_schema .json` file to customize your form structure.
45
49
46
50
---
47
51
48
52
## 🧪 Example Schema
49
-
50
- {
51
- "type": "object",
52
- "properties": {
53
- "mode": {
54
- "type": "string",
55
- "enum": ["simple", "advanced"]
53
+ ``` json
54
+ {
55
+ "type" : " object" ,
56
+ "properties" : {
57
+ "mode" : {
58
+ "type" : " string" ,
59
+ "enum" : [" simple" , " advanced" ]
60
+ },
61
+ "settings" : {
62
+ "if" : {
63
+ "properties" : { "mode" : { "const" : " advanced" } }
56
64
},
57
- "settings": {
58
- "if": {
59
- "properties": { "mode": { "const": "advanced" } }
60
- },
61
- "then": {
62
- "properties": { "threshold": { "type": "number" } }
63
- },
64
- "else": {
65
- "properties": { "notes": { "type": "string" } }
66
- },
67
- "type": "object"
68
- }
69
- }
65
+ "then" : {
66
+ "properties" : { "threshold" : { "type" : " number" } }
67
+ },
68
+ "else" : {
69
+ "properties" : { "notes" : { "type" : " string" } }
70
+ },
71
+ "type" : " object"
70
72
}
71
-
72
- ---
73
-
74
- ## 📸 Screenshot
75
-
76
- * (Optional: include a screenshot of a rendered form here)*
73
+ }
74
+ }
75
+ ```
77
76
78
77
---
79
78
80
79
## 🧱 Architecture
81
80
82
- - ` koreui.py ` – Core schema resolver, validator, and widget logic
81
+ - ` src/koreui.py ` – Core schema resolver, validator, and widget logic
82
+ - ` src/loader.py ` – A helper script to load a Schema from a JSON
83
83
- ` app.py ` – App entry point
84
- - ` schema.json ` – Example JSON Schema used to render a dynamic form
85
-
86
- ---
87
-
88
- ## 🧩 Logo
89
-
90
- Replace the logo link at the top with your own hosted image or use one from your ` assets/ ` folder. Example:
91
-
92
- <img src="assets/logo.png" alt="KoreUI Logo" height="120" />
84
+ - ` example_schema.json ` – Example JSON Schema used to render a dynamic form
93
85
94
86
---
95
87
@@ -101,4 +93,5 @@ MIT License — free for personal and commercial use.
101
93
102
94
## 🙌 Credits
103
95
104
- Built with ❤️ using PySide6, JSON Schema, and caffeine.
96
+ Built using PySide6, JSON Schema, and caffeine.
97
+ And maybe a little AI.
0 commit comments