Skip to content

Feature request: Native packaging #22

@hackathi

Description

@hackathi

This one is a dream, but I feel I should start an Issue to track progress, dependencies, and general stuff around this.

Desktop

Grocy has grocy-desktop, that ships a full webserver with it to run the php backend. grocy-desktop also cannot connect to a hosted grocy, and is still just an embedded browser that lacks access to native functions. Also it's windows only, so no chance to get it packaged in the major linux distributions.

However, running php inside electron is a bit involved. For Linux, that's not too much of a problem, just have php ≥ 7.3 as a dependency and be done with it. For macOS, well, it will stop shipping php. Windows never shipped php.

So, in the short term, to build a Desktop SPA with electron and vue, we need to package it in a way that php ships with it if it's not already installed. That should also be good with windows store.

However, as a prerequisite, I want this to be done in a way that also allows to connect to a remote grocy. On my DIY appliance, there is absolutely no need to run a full browser.

Mobile

In the long run, I also want to package for Android and iOS. With nativescript and vue this should become relatively easy and allows to use native barcode scanning APIs, with are much faster, better and more stable than quagga2. Also: notification support (for chores), offline buffering of actions (I see myself cursing in the store when the in-store wifi is down, and I still want to check stuff off of my shopping list), ...

We should probably also speak to the maintainers of the currently in use apps. I don't see why we need to reinvent the wheel five times, and a code sharing approach will make feature parity a real thing.

This also means that we really need to investigate how to not limit this project to sqlite and re-think all change detection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions