Feature request regarding COR/local use of Transcrypt files in combination with pywebview
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, python
- Ambito
- compilers, desktop-dev
Direzione di ricerca
The issue names Transcrypt-generated JavaScript files, local HTML opened directly in a browser, and pywebview, but no source files, entry points, or tests. Start by locating how Transcrypt emits JavaScript modules and determine whether a non-modular output mode can support local pywebview use without manually removing export statements.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
if I am correct you cannot use Transcrypt generated JS files embedded in a local html file by directly opening this file in a local browser as javascript modules are only allowed to be embedded through http/https?
I would like to use Transcrypt locally in combination with pywebview to create user interfaces to python programs just with HTML and javascript. Pywebview opens a browsing window and allows communication with a python script to the java script in this browsing window.
As I like this approach and I see no need to start a server on the local machine with pywebview, is it possible to tell transcrypt just to put out non modularized java script code? Would that be a new feature? Or would I have to replace all the "export"-statements in the Javascript file manually and would it still work then?
Kind regards
Bastian
- Lingua principale
- Python
- Stelle
- 2.9k
- Fork
- 218
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TranscryptOrg/Transcrypt
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TranscryptOrg/Transcrypt#913 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
TranscryptOrg/Transcrypt#911 · 2 commenti ·
-
IS: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
TranscryptOrg/Transcrypt#908 ·
-
SUB: documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
TranscryptOrg/Transcrypt#656 · 7 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
TranscryptOrg/Transcrypt#914 ·
Tutte le issue di TranscryptOrg/Transcrypt
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
zostera/django-bootstrap4#894 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
use-agent-os/agent-os#3276 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#117848 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
zilliztech/memsearch#759 ·