Skip to content

Commit

Permalink
KaTeX added to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
szczyglis-dev committed Nov 3, 2024
1 parent dbbc91d commit 1000365
Show file tree
Hide file tree
Showing 72 changed files with 73,233 additions and 311 deletions.
72 changes: 37 additions & 35 deletions bin/resources.py
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
import os


def generate_icons_file(source_dir, output_file):
svg_files = [f for f in os.listdir(source_dir) if f.endswith('.svg')]
svg_files.sort()
def generate_resource_file(source_dirs, output_file, file_extension, resource_prefix):
files = []
for source_dir in source_dirs:
for f in os.listdir(source_dir):
if f.endswith(file_extension) or file_extension == '*':
files.append((f, os.path.join(source_dir, f)))
files.sort()

qrc_content = '<RCC>\n'
for svg_file in svg_files:
file_path = os.path.join(source_dir, svg_file)
qrc_content += ' <qresource prefix="/icons">\n'
qrc_content += f' <file alias="{svg_file}">{file_path}</file>\n'
qrc_content += ' </qresource>\n'
qrc_content += f' <qresource prefix="{resource_prefix}">\n'
for file_name, file_path in files:
qrc_content += f' <file alias="{file_name}">{file_path}</file>\n'
qrc_content += ' </qresource>\n'
qrc_content += '</RCC>'

with open(output_file, 'w') as file:
file.write(qrc_content)
print(f"Generated: {output_file}")

def generate_js_file(source_dir, output_file):
js_files = [f for f in os.listdir(source_dir) if f.endswith('.js')]
js_files.sort()

qrc_content = '<RCC>\n'
for js_file in js_files:
file_path = os.path.join(source_dir, js_file)
qrc_content += ' <qresource prefix="/js">\n'
qrc_content += f' <file alias="{js_file}">{file_path}</file>\n'
qrc_content += ' </qresource>\n'
qrc_content += '</RCC>'

with open(output_file, 'w') as file:
file.write(qrc_content)
print(f"Generated: {output_file}")




if __name__ == '__main__':
source_dir = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'icons')
output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'icons.qrc')
generate_icons_file(source_dir, output_file)

source_dir = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'js', 'highlight')
output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'js.qrc')
generate_js_file(source_dir, output_file)
# icons
icons_source_dir = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'icons')
icons_output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'icons.qrc')
generate_resource_file([icons_source_dir], icons_output_file, '.svg', '/icons')

# javascript
js_source_dirs = [
os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'js', 'highlight'),
os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'js', 'katex'),
]
js_output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'js.qrc')
generate_resource_file(js_source_dirs, js_output_file, '.js', '/js')

# CSS
css_source_dirs = [
os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'js', 'katex'),
]
css_output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'css.qrc')
generate_resource_file(css_source_dirs, css_output_file, '.css', '/css')

# fonts
fonts_source_dirs = [
os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'data', 'js', 'katex', 'fonts'),
]
fonts_output_file = os.path.join(os.path.dirname(__file__), '..', 'src', 'pygpt_net', 'fonts.qrc')
generate_resource_file(fonts_source_dirs, fonts_output_file, '*', '/fonts')
6 changes: 5 additions & 1 deletion resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ python3 bin/resources.py "$@"
cd "$(dirname "$0")"/src/pygpt_net
pyside6-rcc icons.qrc -o icons_rc.py
pyside6-rcc js.qrc -o js_rc.py
pyside6-rcc css.qrc -o css_rc.py
pyside6-rcc fonts.qrc -o fonts_rc.py
echo "Resources compiled to: src/pygpt_net/icons_rc.py"
echo "Resources compiled to: src/pygpt_net/js_rc.py"
echo "Resources compiled to: src/pygpt_net/js_rc.py"
echo "Resources compiled to: src/pygpt_net/css_rc.py"
echo "Resources compiled to: src/pygpt_net/fonts_rc.py"
5 changes: 5 additions & 0 deletions src/pygpt_net/css.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/css">
<file alias="katex.min.css">/home/marcin/Dev/py-gpt/bin/../src/pygpt_net/data/js/katex/katex.min.css</file>
</qresource>
</RCC>
251 changes: 251 additions & 0 deletions src/pygpt_net/css_rc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
# Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.4.2
# WARNING! All changes made in this file will be lost!

from PySide6 import QtCore

qt_resource_data = b"\
\x00\x00\x0d?\
\x00\
\x00[\xecx\xda\xbd\x5cmo\xe3\xb8\x11\xfe\xde_\xe1\
\x06X i#-E\x91\xa2d\x03\xc1\xb5\x87\x1eP\
\x14w\x1fn\xf7C\xbf\x15\xb2,\xc7\xba\xe8\xc5+\xd1\
\x9bd\x8d\xfe\xf7\x92z\xb1D\xbdxDy\xb7\xc6]\
\x12Q\x9cg8\xc3\x99\x87\x94\x96\xe3\x9f\xf6Y\xca\x8d\
\xbd\x1f\x84\xe7\xfa\xaf$\x8a\xdf\xd7\xff\xf2?\x87\xff\xfe\
\xcf\xdf~\xfd\xb4)[\x0b\xfe\x1e\x87\xeb4\xcb\x13?\
\xaeZ^\xc3\xe8\xf9\xc0\xd7\x04\xa1M\x91\x07\xebS\x1e\
\xdf\x7f\x11\xbf?~\xfc(o\x17\x1f/\x00\xc6\xef\xe1\
\xf3)\xf6s\xf35\xdb\xef\xf1\xc3j/A\xf8\xfd]\
yy\xf7\xf08SR\x15\x9c'\xc7yG\x8c\xe7\xa7\
\x90\xbf\x1f\xc3\xbb\x87\xff\xfet\xcd\xe6\x9f\xfd8z\xce\
\xfd\xe3!\x0a\x00\xdb\xd9u\xdb;@\xc6\xdf\xb3x\xa7\
\xe9\x80Q\xf1\xb9^\x18\x08\xff`W\x90\xf9\xaeX\x16\
\x0e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xe4\xa9w\
\xeaU_yf\xf7\xd3\xe7\xb8\x01\xa8\x14\x08\xb3\xbc\x8e\
]\xe5\x1d\x9e\x1d\xfb\xed#\xf6\xaa\x035\x91\xad\x9e\xc4\
\x92\xaaz.\xe8w\x09\xbf\xa4FzJ\x06\xa9\x7f\x7f\
\xb7\x0a\xb2\x93\x9c\xb9\xfb\xb2\xe7?\xbe\xa4\xbfe\x0f\xab\
\xbb\x87\xbbM\xddnDi\x90\x87\x89\xec\xdd\xf6h\xa3\
$\x89\x8d\x19\xd8\xa2\xdbU\xe4\xe6~g\xad\xcb\x8d\xe7\
\xf8\x14\x9e\x87\x89#bY.\xf2u\x04j\xd6j\x0a\
\xe1\xd8\xdf\xca\x80\x90Tp]\xb8\x97|bS\x11\xdc\
\x8b\x81\xac\xfeZ\xc6\xf2\xc3fj\x9d\xbe\xe8\xa8\x92{\
TI\x19\x84\x03\xc4\xa1\xea\x89e\xdd\xa8A{\xabE\
\x15&\xf2\x09`\x856S\xb9\xd9\xc8>\xd5\xdfC\xa3\
B\x0c\xa4F\xbe\x06e\x1c\xe8\xa9\xf3\x8d+=\xd0\xa9\
\xf9\xb8\x82\xf0dr\xff\xf9<I\x84=\x003\x16A\
\x98M\xc2\xd4\x94_\xc9\xca/\xda\xe9\x8b\xef\xa5|\xe3\
\x90:\x8d*\xa2\x904\xd1\x9f\xe8r{\xdb\x04q\xf9\
0\xd6I\x8d\xd5%\x96\xff\xf4?P\xc9hf\
"

qt_resource_name = b"\
\x00\x03\
\x00\x00j\xa3\
\x00c\
\x00s\x00s\
\x00\x0d\
\x01\x14\xdd\xc3\
\x00k\
\x00a\x00t\x00e\x00x\x00.\x00m\x00i\x00n\x00.\x00c\x00s\x00s\
"

qt_resource_struct = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x0c\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x92\xf3f\x11\x99\
"

def qInitResources():
QtCore.qRegisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)

def qCleanupResources():
QtCore.qUnregisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)

qInitResources()
1 change: 1 addition & 0 deletions src/pygpt_net/data/js/katex/auto-render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions src/pygpt_net/data/js/katex/katex.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/pygpt_net/data/js/katex/katex.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 1000365

Please sign in to comment.