HelloZeroNet / HelloZeroNet/ZeroNet

IndexedDB support (or LocalStorage with IndexedDB backend)

Abierto
#1,732 5 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
18.8k
Forks
2.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Some sites, like Riot.im, use IndexedDB as while LocalStorage provides similar functionality, the 5MB limit on LocalStorage is too little for some sites to operate.

A while back Riot.im switched to using IndexedDB and things have generally been good. However, this means that even though Riot.im is a static website and could easily be ported to ZeroNet, a lot of refactoring would have to take place as ZeroFrame doesn't provide any API to interface with IndexedDB. So, perhaps you could add a call for it?

Alternatively, you could keep the current API but use IndexedDB as the backend. This way people could just use the familiar LocalStorage method, but wouldn't have to worry about hitting the 5MB limit.

Unless there's no limit on localhost?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reviewing ZeroFrame's existing LocalStorage API and the browser IndexedDB interface. The issue presents two alternatives—adding an IndexedDB call or using IndexedDB behind the current API—so the desired approach and completion criteria need to be decided before implementation.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.