I'm requesting that share-target be added to manifest.json so that the PWA can be shared with on Android.
I used Nginx Proxy Manager to set a custom location and override the manifest with this new one. It's working on both Android phones that I tested on. Not sure about iphones.
Now when I take a screenshot on my phones, I can hit the share button, choose LCS, and the screenshot gets uploaded automatically. It defaults to never delete, but that's not a problem for me. It's a lot faster than opening the app, finding the file, and submitting.
{
"name": "Local Content Share",
"short_name": "ContentShare",
"description": "Share content within your local network",
"start_url": "/",
"display": "standalone",
"background_color": "#FAFAFA",
"theme_color": "#7C3AED",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"share_target": {
"action": "/submit",
"method": "POST",
"enctype": "multipart/form-data",
"params": {
"title": "name",
"text": "content",
"url": "content",
"files": [
{
"name": "file-upload",
"accept": ["image/*", "video/*", "audio/*", "application/*", "text/*"]
}
]
}
}
}
Thank you for this app! It's one of the most used services in my homelab.
I'm requesting that share-target be added to manifest.json so that the PWA can be shared with on Android.
I used Nginx Proxy Manager to set a custom location and override the manifest with this new one. It's working on both Android phones that I tested on. Not sure about iphones.
Now when I take a screenshot on my phones, I can hit the share button, choose LCS, and the screenshot gets uploaded automatically. It defaults to never delete, but that's not a problem for me. It's a lot faster than opening the app, finding the file, and submitting.
Thank you for this app! It's one of the most used services in my homelab.