Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow running multiple instances in one browser context, prefer user defined HTML

Aperta
#829 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, wasm, zig

Direzione di ricerca

Start by reading the JavaScript entrypoint linked in the issue, src/backends/web.d.ts, and trace how the web build currently loads its HTML and creates a DVUI instance. Identify the initialization and attachment work consumers would need to invoke from their own page. Done means exposing a lower level JavaScript API that supports multiple independent instances in one browser context without requiring Fizzy's index.html.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The current fizzy app's web build includes its own HTML file and is embedded as an iframe.
But iframes can be heavy.

DVUI has a neat (disclaimer, I added it), javascript entrypoint that you can use to create multiple new DVUI() instances, which can function independently in one javascript context. This is less heavy than say, if you want to have a demo site with multiple independent demos, not needing to spawn 3 iframes that each spawn a JIT process for a 12MB wasm blob.

Can fizzy also have a lower level javascript library that spawns the DVUI instance and attaches everything necessary, without consumers needing to use your index.html file? And the consumer can bring their own?

Lingua principale
Zig
Stelle
1.5k
Fork
40
Merge medio
5h 32m
PR unite (30g)
537

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fizzyedit/fizzy

Tutte le issue di fizzyedit/fizzy

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.