MadeInPierre / MadeInPierre/cuicuit

Offline support: Sync Engine

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Svelte
Stars
49
Forks
0
Avg merge
28m
Merged PRs (30d)
1

Description

The app currently relies on a stable network link, and rarely does optimistic updates. This makes the app feel laggy overall. Moreover, supermarkets often have poor network connectivity.

Using the app while shopping makes offline mutations mandatory. We will probably integrate PowerSync (maybe Zero, still on the fence) to get an embedded SQLite database in the app, with optimistic updates and a semi-automated offline upload queue for migrations.

This will enable both an ultra-fast UI feel everywhere, as well as support offline supermarket shopping.

The downside is to add another container for self-hosters, but developing a custom SQLite sync engine with no dependencies is to steep for this project's resources.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the current network and mutation flow, then compare the proposed PowerSync and Zero approaches, including embedded SQLite, optimistic updates, offline upload migrations, and the added self-hosting container; done requires a chosen approach and an agreed implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.