davidhealey / waistline

Libre calorie counter app for Android. Built with Cordova.
568 stars 67 forks source link

Feature Request: PC Version of Waistline (Linux/Windows) #211

Open Marsupilami557 opened 4 years ago

Marsupilami557 commented 4 years ago

Hi Waistline is almost perfect for my needs, but typing in all the Foods, servings and macros on a smartphone is quite hard. I am mostly working on PCs using Windows 7 and Linux. Maybe somebody can port this App on these platforms?

I would be also helpful if there is an option to sync data between smartphone and PC. I tried running Waistline in a Virtual Machine but couldnt get it running :/

davidhealey commented 4 years ago

Well it's just a website essentially so can probably be ported fairly easily to desktop via Electron, I'm not sure if barcode scanning would work though.

Marsupilami557 commented 4 years ago

I dont use the Barcode Feature, so its not an issue for me. If its possible i would prefer using Waistline as an Offline Website in my Firefox Browser. Otherwise i would be also happy to use it as an Electron App on PC. 👍

davidhealey commented 3 years ago

I noticed that Cordova has an Electron platform now so hopefully that will make it fairly straightforward to create a desktop version. Once the next Android release it ready I'll look into this as I'd like an Electron version so I can run Waistline on my PinePhone.

seniorm0ment commented 3 years ago

I'd be heavily interested in a simple, minimal, self-hosted Libre software that I can run ony server, that provides a web gui. I can then just sync all my devices to that, and also access from the web. There is nothing like this currently. I'm really loving your app as an alternative to Chronometer.

I do not suggest using Electron however, it's extremely resource intensive and bloated. I'd highly suggest a more minimal approach.

davidhealey commented 3 years ago

I do not suggest using Electron however, it's extremely resource intensive and bloated. I'd highly suggest a more minimal approach.

The app is built using Cordova and Electron is the desktop platform it uses. The software is essentially a website that is placed into different wrappers depending on the platform.

Ferk commented 2 years ago

Currently I have set up syncthing to sync/backup data from my phone to multiple devices like PC. If there was a PC client, or a way to run it as a webservice it would be great to be able to sync the waistline data and be able to visualize/edit it on the PC as well!

rossmeissl commented 2 years ago

Hi @davidhealey just wondering if you were still considering an Electron build. Thank you for your amazing work!

davidhealey commented 2 years ago

Hi @davidhealey just wondering if you were still considering an Electron build. Thank you for your amazing work!

Still on my todo list but haven't had much time for development recently.

Mhowser commented 2 years ago

Is it possible to make the website into a PWA instead?

davidhealey commented 2 years ago

Is it possible to make the website into a PWA instead?

What website? And what's a PWA?

Mhowser commented 2 years ago

I was referencing this comment https://github.com/davidhealey/waistline/issues/211#issuecomment-660158792

And PWA stands for progressive web application https://en.wikipedia.org/wiki/Progressive_web_application

davidhealey commented 2 years ago

I was referencing this comment #211 (comment)

And PWA stands for progressive web application https://en.wikipedia.org/wiki/Progressive_web_application

Oh I understand now. Waistline itself, the app, is essentially a website running in a chromium browser. Cordova links it all together with the phone hardware to make it seem like a native app.

parthvyas7 commented 2 years ago

@davidhealey How much work is needed to migrate whole codebase into some native development tech for android like app build via kotlin

davidhealey commented 2 years ago

That's an impossible question to answer

Mhowser commented 2 years ago

You could setup Waydroid on your PC and run the app that way.

https://waydro.id