Conversation
Notices
-
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!
-
@_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.
-
@Mario Vavti I didn't know we had an API :) Does it include alt text on images?
-
@𝓒𝓱𝓻𝓲𝓼 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
-
@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?
-
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.
-
@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.
-
@𝓒𝓱𝓻𝓲𝓼 right i think that's it...
-
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