Conversation
Notices
-
Mario Vavti (mario@hub.somaton.com)'s status on Sunday, 25-Feb-2024 19:04:03 JST Mario Vavti
I recently stumbled upon #^https://github.com/SrS2225a/custom_uploader which is a simple app to share files with hosting services. The app is available via FDroid #^https://f-droid.org/en/packages/com.nyx.custom_uploader/
It is very simple to configure a custom uploader for Hubzilla:
1. Press the cog button
2. Press the + button to add a new uploader
3. Select POST as method
4. Enter the upload URL https://channelname:password@hub.example.com/api/z/1.0/item/update
5. Set Form Data Name to media
Done.
Sharing a file with this uploader will result in a post to your default privacy group with the file attached or embeded if it's an image.
You could also add a custom text to your upload if you add the body upload parameter or even configure a privacy group to post to if you want.
Enjoy!-
Mario Vavti (mario@hub.somaton.com)'s status on Sunday, 25-Feb-2024 19:57:27 JST Mario Vavti
@_jayrope the alt text is set to the uploaded file name if it's an image. The app itself does not provide a field for alt text. -
*_jayrope (jrp@hub.kliklak.net)'s status on Sunday, 25-Feb-2024 19:57:28 JST *_jayrope
@Mario Vavti I didn't know we had an API :) Does it include alt text on images? -
*_jayrope (jrp@hub.kliklak.net)'s status on Monday, 26-Feb-2024 04:40:25 JST *_jayrope
@𝓒𝓱𝓻𝓲𝓼 I guess we have to check with the f-droid dev about that as well. However that "allow permissions for everything" kinda thing already s***s -
𝓒𝓱𝓻𝓲𝓼 (chris@im.allmendenetz.de)'s status on Monday, 26-Feb-2024 04:40:26 JST 𝓒𝓱𝓻𝓲𝓼
@Mario Vavti Well - it would be also interesting if after the upload the post would not be automatically posted so that e.g. a text could be added... do you think there is a setting which could offer that as well? -
phanisvara (streams) (phani@streams.phanisvara.com)'s status on Monday, 26-Feb-2024 04:40:45 JST phanisvara (streams)
i think that's rather up to the hubzilla / stream devs. that app just sends the image, plus whatever comes with it like body text, and it's up to the receiving app what it does with it, no? shouldn't be too difficult to keep the post as draft, waiting for further editing. -
Mario Vavti (mario@hub.somaton.com)'s status on Monday, 26-Feb-2024 17:40:14 JST Mario Vavti
@Witcraft (Hubzilla) AFAIK Hubzilla PWA works with chrome on stock android (have tested it some time ago). It will however never work on phones which do not have google (play) on their phones since this seems to be a hard requirement. -
Mario Vavti (mario@hub.somaton.com)'s status on Tuesday, 27-Feb-2024 17:35:23 JST Mario Vavti
@𝓒𝓱𝓻𝓲𝓼 right i think that's it... -
𝓒𝓱𝓻𝓲𝓼 (chris@im.allmendenetz.de)'s status on Tuesday, 27-Feb-2024 17:35:24 JST 𝓒𝓱𝓻𝓲𝓼
so it's likely not the playstore but some google play services
https://developers.google.com/android/guides/overview?hl=en
which are needed - to bad
-