Web: view results in a browser; ECCE-QM in the browser (WebAssembly)
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 8/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- c, cpp, javascript, wasm
Direção de pesquisa
This is a two-part roadmap issue, not a starter task: read the Web section and the linked #133 and #248 for context first. Part 1 concerns a read-only web view fed by the data server over WebDAV, with a viewer such as 3Dmol.js or NGL. Part 2 concerns compiling ECCE-QM with libcint and libxc to WebAssembly. Done would mean a design agreed in the thread, split into smaller issues, rather than a patch against this one.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Two web uses, in this order, once the current client work (#133) and ECCE-QM's next steps (#248) are done.
1. Showing results in a web browser
Purpose: bring up a calculation's output during a lecture or a discussion from any computer with a browser, without starting the desktop client.
- A read-only web view of a user's projects and calculations: name, code, method and basis, state, total energy, and the input and output files.
- Structure, orbitals and vibrational modes drawn with a JavaScript viewer such as 3Dmol.js or NGL, from the files ECCE already stores (Molden and cube files, the geometry trace).
- Data comes from the data server, which already serves projects and calculations over HTTP (WebDAV). Login uses the data server's accounts. Read-only, so the desktop client stays the only writer.
- Works for the central server first. For a laptop in local mode, a "share/export as a web page" of one calculation (a static HTML file) may be enough for a lecture.
2. ECCE-QM in the browser
Purpose: let students run small calculations with nothing installed.
- Compile ECCE-QM with libcint and libxc to WebAssembly. All three are C/C++ with no system dependencies; check threads (WASM threads need cross-origin isolation) and memory (browser limits) against the size limits from #248.
- A page to pick or draw a small molecule, choose a method and basis from ECCE-QM's lists, run in the browser, and show energies, orbitals and, when #248 has them, optimised geometry and spectra. It reuses the viewer from part 1.
- Export of the input and results in a form the desktop ECCE can open.
- Static hosting, with no server-side computation.
Not planned
Setting up and submitting calculations for arbitrary codes from the web. It would need a web version of the Calculation Editor and the job launch logic, which is a different program.
To decide later
- Following jobs live in the browser, through Mosquitto's WebSocket listener, with the same per-user topics as the desktop client.
- Linguagem predominante
- C
- Estrelas
- 10
- Forks
- 8
- Merge médio
- 21min
- PRs com merge (30d)
- 1
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de FriendsofECCE/ECCE
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
FriendsofECCE/ECCE#336 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
FriendsofECCE/ECCE#339 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 28/100
FriendsofECCE/ECCE#338 · 2 comentários ·
-
Basis Set Tool: periodic table cut off on the right; elements 110-118 still have placeholder namesAberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 40/100
FriendsofECCE/ECCE#337 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
FriendsofECCE/ECCE#335 ·
Todas as issues de FriendsofECCE/ECCE
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ChrisTitusTech/dwm-titus#397 ·
Mantenedores costumam responder em até 1 dia
-
good first issue help wanted language:fr translation
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
mrvi0/cli-cheatsheet#160 ·
-
Test modules use volatile int for cross-thread flags instead of atomicsTalvez já em andamento @rahimuddin140 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
valkey-io/valkey#4899 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshakeTalvez já em andamento @rthery assumiu hoje. Abertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Symlink in release archive attempts traversalTalvez já em andamento @Tiancheng-Xu assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
redis/hiredis#1388 · 1 comentário ·
Mantenedores costumam responder em até 1 dia