html5 / js Web Share API PWA
- Linguagem predominante
- Python
- Estrelas
- 46.7k
- Forks
- 1.9k
- Merge médio
- 9d 2h
- PRs com merge (30d)
- 4
Descrição
Idea would be to write in the web client a small progressive web app (PWA) that implements the Share Web API client. This would mean users could install fro the web browser a small share application essentially what Party-Up does with significantly less code. Potentially also allows multiple share to apps to be installed (one per server, i.e. no need to edit config when switching between servers).
I believe this would be Android ONLY. I'm not sure what (if any plans) there are for Apple iOS implementations (I don;t have a device to test with).
This has the potential to replace Party-Up for some uses cases (unclear if this is a pro or a con, Party-Up works great so far with my experiments I'm not suggesting is needs to be replaced), specifically https.
Disadvantage of Web Share API is that it (understandably) requires https, Party-Up can work with plain http as well as https, so I don't think this idea would ever remove the need for Party-Up.
Unclear about basic-auth implications.
## Resources
* https://dev.to/nicomartin/share-target-api-5263
* https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_API
* https://web.dev/web-share/
* https://github.com/GoogleChrome/samples/blob/gh-pages/web-share/README.md#web-share-demo
* https://github.com/GoogleChromeLabs/squoosh
* https://developer.chrome.com/articles/web-share-target/
* https://w3c.github.io/web-share-target/
Guia de contribuição
Direção de pesquisa
A issue descreve a adição de um cliente Web Share API como Progressive Web App ao cliente web existente. Comece examinando a base de código atual do cliente web para entender sua estrutura. Procure o registro existente do service worker, os arquivos de manifesto e o tratamento de share targets. O objetivo é implementar um share target que possa receber conteúdo compartilhado e enviá-lo ao servidor. Os testes exigirão um ambiente HTTPS e um dispositivo Android ou emulador para verificar se a funcionalidade de compartilhamento funciona.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- css, html, javascript
- Domínio
- frontend, mobile, web-dev
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100