mollersuite / monofile

File sharing over the Discord CDN
https://fyle.uk
The Unlicense
18 stars 3 forks source link

Implement a PWA for mobile users #39

Open nbitzz opened 1 year ago

nbitzz commented 1 year ago

Would be nicer than having to go to the instance every time to upload a file

Originally posted by @auuub in https://github.com/mollersuite/monofile/issues/32#issuecomment-1765617476

nbitzz commented 1 year ago

Can probably use web.dev as a reference:

Includes a web app manifest that includes:

  • short_name or name
  • icons - must include a 192px and a 512px icon
  • start_url
  • display - must be one of fullscreen, standalone, or minimal-ui
  • prefer_related_applications must not be present, or be false

IIRC a service worker was required in most browsers, but that's not present here; is this still true?

nbitzz commented 1 year ago

I'll probably experiment & work on this after I finish palettes && api-v1; api-v1 is pretty close to completion anyway so it's not like it matters

nbitzz commented 1 year ago

IIRC a service worker was required in most browsers, but that's not present here; is this still true?

Yeah, still true; I'll start this later

Jack5079 commented 1 year ago

Also don't forget share_target