GameSentenceMiner 2.16.1__py3-none-any.whl → 2.16.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/gsm.py +0 -1
- GameSentenceMiner/web/static/js/shared.js +67 -0
- GameSentenceMiner/web/templates/anki_stats.html +4 -0
- GameSentenceMiner/web/templates/components/navigation.html +4 -1
- GameSentenceMiner/web/templates/database.html +3 -0
- GameSentenceMiner/web/templates/index.html +12 -12
- GameSentenceMiner/web/templates/search.html +3 -0
- GameSentenceMiner/web/templates/stats.html +3 -0
- GameSentenceMiner/web/texthooking_page.py +7 -1
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/RECORD +15 -15
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.16.1.dist-info → gamesentenceminer-2.16.2.dist-info}/top_level.txt +0 -0
@@ -5,6 +5,9 @@
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>GSM Search</title>
|
7
7
|
|
8
|
+
<!-- Include html2canvas for screenshot functionality -->
|
9
|
+
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
|
10
|
+
|
8
11
|
<!-- Include shared theme styles -->
|
9
12
|
{% include 'components/theme-styles.html' %}
|
10
13
|
|
@@ -7,6 +7,9 @@
|
|
7
7
|
<!-- Include Chart.js from a CDN -->
|
8
8
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
9
9
|
|
10
|
+
<!-- Include html2canvas for screenshot functionality -->
|
11
|
+
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
|
12
|
+
|
10
13
|
<!-- Include shared theme styles -->
|
11
14
|
{% include 'components/theme-styles.html' %}
|
12
15
|
|
@@ -319,6 +319,10 @@ def anki_stats():
|
|
319
319
|
"""Renders the Anki statistics page."""
|
320
320
|
return render_template('anki_stats.html')
|
321
321
|
|
322
|
+
@app.route('/get_websocket_port', methods=['GET'])
|
323
|
+
def get_websocket_port():
|
324
|
+
return jsonify({"port": websocket_server_thread.get_ws_port_func()}), 200
|
325
|
+
|
322
326
|
|
323
327
|
def get_selected_lines():
|
324
328
|
return [item.line for item in event_manager if item.checked]
|
@@ -351,7 +355,9 @@ def start_web_server():
|
|
351
355
|
if get_config().general.open_multimine_on_startup:
|
352
356
|
open_texthooker()
|
353
357
|
|
354
|
-
#
|
358
|
+
# FOR TEXTHOOKER DEVELOPMENT, UNCOMMENT THE FOLLOWING LINE WITH Flask-CORS INSTALLED:
|
359
|
+
# from flask_cors import CORS
|
360
|
+
# CORS(app, resources={r"/*": {"origins": "http://localhost:5174"}})
|
355
361
|
app.run(host='0.0.0.0', port=port, debug=False)
|
356
362
|
|
357
363
|
|
@@ -2,7 +2,7 @@ GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
2
2
|
GameSentenceMiner/anki.py,sha256=rm9JuRP-1Eba2wcVQ2PZUMB5P9UMEZ99Fh371K0Qfhk,26319
|
3
3
|
GameSentenceMiner/config_gui.py,sha256=i79PrY2pP8_VKvIL7uoDv5cgHvCCQBIe0mS_YnX2AVg,140792
|
4
4
|
GameSentenceMiner/gametext.py,sha256=fgBgLchezpauWELE9Y5G3kVCLfAneD0X4lJFoI3FYbs,10351
|
5
|
-
GameSentenceMiner/gsm.py,sha256=
|
5
|
+
GameSentenceMiner/gsm.py,sha256=CcXGZI8K7cYB9FJfCRaOujlWDk08sQGQXhTiMewMhFg,31889
|
6
6
|
GameSentenceMiner/obs.py,sha256=EyAYhaLvMjoeC-3j7fuvkqZN5logFFanPfb8Wn1C6m0,27296
|
7
7
|
GameSentenceMiner/vad.py,sha256=N-urlVOT6ayk4BFuIeZhxK1VxLD4Flxu-IStuy8FAVc,20190
|
8
8
|
GameSentenceMiner/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -60,7 +60,7 @@ GameSentenceMiner/web/database_api.py,sha256=kcyTWPuw_qtrK5qBzCFTIP0tqIvPmL-NEti
|
|
60
60
|
GameSentenceMiner/web/events.py,sha256=6Vyz5c9MdpMIa7Zqljqhap2XFQnAVYJ0CdQV64TSZsA,5119
|
61
61
|
GameSentenceMiner/web/service.py,sha256=YZchmScTn7AX_GkwV1ULEK6qjdOnJcpc3qfMwDf7cUE,5363
|
62
62
|
GameSentenceMiner/web/stats.py,sha256=daSSxWlumAyqVVtX10qHESF-tZYwCcFMp8qZA5AE0nI,22066
|
63
|
-
GameSentenceMiner/web/texthooking_page.py,sha256=
|
63
|
+
GameSentenceMiner/web/texthooking_page.py,sha256=BaYteQHNRvXgxjRUdHVf5Bt8pdPULEThmU4c0yn9fOU,13228
|
64
64
|
GameSentenceMiner/web/websockets.py,sha256=IwwQo6VtgPqeOuc-datgfJyLpX3LwB2MISDqA6EkiSA,4131
|
65
65
|
GameSentenceMiner/web/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
66
66
|
GameSentenceMiner/web/static/apple-touch-icon.png,sha256=OcMI8af_68DA_tweOsQ5LytTyMwm7-hPW07IfrOVgEs,46132
|
@@ -79,20 +79,20 @@ GameSentenceMiner/web/static/js/anki_stats.js,sha256=wZfr9vXGF--OTXOszjB3XX1pI2R
|
|
79
79
|
GameSentenceMiner/web/static/js/database.js,sha256=-SjMmhXzU8a3QNGrwGtJCu55ZXXfkBxlYSkySEBdclU,22097
|
80
80
|
GameSentenceMiner/web/static/js/kanji-grid.js,sha256=rUa8_TGFm4Z8CtURoAlZjCN032PLe0YmHvN52S4_sE0,7181
|
81
81
|
GameSentenceMiner/web/static/js/search.js,sha256=nXvHZelCQQlTWJwaF_j3RnU5v_JFVIDQSEtnauDy8lg,9484
|
82
|
-
GameSentenceMiner/web/static/js/shared.js,sha256=
|
82
|
+
GameSentenceMiner/web/static/js/shared.js,sha256=HdQWRToX9U09h0x35K00RrHFw6mBkCPRf7JoLwN0l0c,18410
|
83
83
|
GameSentenceMiner/web/static/js/stats.js,sha256=_B5QQWv1Wxx8fPyX4VDmTxs31Ds1EmX0XERt2uJj_9M,60882
|
84
|
-
GameSentenceMiner/web/templates/anki_stats.html,sha256=
|
85
|
-
GameSentenceMiner/web/templates/database.html,sha256=
|
86
|
-
GameSentenceMiner/web/templates/index.html,sha256=
|
87
|
-
GameSentenceMiner/web/templates/search.html,sha256=
|
88
|
-
GameSentenceMiner/web/templates/stats.html,sha256=
|
84
|
+
GameSentenceMiner/web/templates/anki_stats.html,sha256=FdIMl-kY0-3as9Wn0i-wKIIkl1xXn4nWMbWPypN_1T0,10955
|
85
|
+
GameSentenceMiner/web/templates/database.html,sha256=Gd54rgZmfcV7ufoJ69COeMncs5Q5u-rSJcsIvROVCEo,13732
|
86
|
+
GameSentenceMiner/web/templates/index.html,sha256=7ChQ1j602MOiYU95wXAKP_Ezsh_JgdlGz2uXIzS2j0g,227894
|
87
|
+
GameSentenceMiner/web/templates/search.html,sha256=OGfzhNc4QP_kmJdCnEnLm5pzgW6XKERoin0oQZxvg5s,3851
|
88
|
+
GameSentenceMiner/web/templates/stats.html,sha256=ia-o2rN3nDo3mFCVFtJKBFZI1LfkQrMIb26IJ6llmws,16976
|
89
89
|
GameSentenceMiner/web/templates/utility.html,sha256=KtqnZUMAYs5XsEdC9Tlsd40NKAVic0mu6sh-ReMDJpU,16940
|
90
|
-
GameSentenceMiner/web/templates/components/navigation.html,sha256=
|
90
|
+
GameSentenceMiner/web/templates/components/navigation.html,sha256=6y9PvM3nh8LY6JWrZb6zVOm0vqkBLDc6d3gB9X5lT_w,1055
|
91
91
|
GameSentenceMiner/web/templates/components/theme-styles.html,sha256=hiq3zdJljpRjQO1iUA7gfFKwXebltG-IWW-gnKS4GHA,3439
|
92
92
|
GameSentenceMiner/wip/__init___.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
93
|
-
gamesentenceminer-2.16.
|
94
|
-
gamesentenceminer-2.16.
|
95
|
-
gamesentenceminer-2.16.
|
96
|
-
gamesentenceminer-2.16.
|
97
|
-
gamesentenceminer-2.16.
|
98
|
-
gamesentenceminer-2.16.
|
93
|
+
gamesentenceminer-2.16.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
94
|
+
gamesentenceminer-2.16.2.dist-info/METADATA,sha256=ErUIV8oqKx28arom2ST3br8r9TsV2As-5_mRQkJygRQ,7348
|
95
|
+
gamesentenceminer-2.16.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
96
|
+
gamesentenceminer-2.16.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
97
|
+
gamesentenceminer-2.16.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
98
|
+
gamesentenceminer-2.16.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|