Libera
Login
Register
Libera
Login
Register
System Apps
Directory
Help
Language
Random Channel
Report Bug
Search
Command line post
Sat, 18 Mar 2023 22:22:36 +0100
View Profile
Hubzilla Support Forum
adminsforum@hubzilla.org
Admin
wrote the following
post
Sat, 18 Mar 2023 22:22:36 +0100
Command line post
Is it possible to post from command line?
3
0mega ☣ [hz]
hubzillar
Grouchy
Link to Source
show all
12 comments
Sun, 19 Mar 2023 08:59:21 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
Yes, have a look at
util/hz
.
3
Admin
Tanja
Max Kostikov
Link to Source
Sun, 19 Mar 2023 12:20:32 +0100
View Profile
Admin
admin@libera.site
@
Mario Vavti
Lovely. I'm going to try.
Link to Source
Sun, 19 Mar 2023 13:44:07 +0100
View Profile
Admin
admin@libera.site
Working! Just user=channel...
Link to Source
Sun, 19 Mar 2023 13:52:16 +0100
View Profile
Admin
admin@libera.site
Is it possible to make post also with file? I don't see possibility in hz.
Link to Source
Sun, 19 Mar 2023 14:01:32 +0100
View Profile
0mega ☣ [hz]
0mega@social.c-r-t.tk
@
Admin
Do you mean attachments to posts?
Link to Source
Sun, 19 Mar 2023 14:05:32 +0100
View Profile
Admin
admin@libera.site
@
0mega 🕱 [hz]
Y
Link to Source
Sun, 19 Mar 2023 14:27:43 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
@
Admin
you can get the attach bbcode from the files app and add it to the body
Link to Source
Sun, 19 Mar 2023 14:32:41 +0100
View Profile
Admin
admin@libera.site
@
Mario Vavti
Y, but it works only for files, which are already on disc, not new files, right?
Link to Source
Sun, 19 Mar 2023 14:36:31 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
@
Admin
so you are looking for a way to upload files via cli?
Link to Source
Sun, 19 Mar 2023 14:39:14 +0100
View Profile
Admin
admin@libera.site
@
Mario Vavti
Y. Common post with attachment from command line. Sorry I was not clear from the beginning.
Link to Source
Sun, 19 Mar 2023 14:44:40 +0100
View Profile
Mario Vavti
mario@hub.somaton.com
@
Admin
it is not possible to upload a file with this tool. You could youse a webdav command line tool for this though...
Link to Source
Thu, 23 Mar 2023 14:27:36 +0100
View Profile
Harald Eilertsen
harald@hub.volse.no
@
Admin
This is probably not (yet) what you're looking for, but I've been fiddling with
a hubzilla client API layer
in rust, as well as a command line tool using said layer. It's extremely crude and works more as a debug tool for the client API than anything at the moment, but it
is
able to post messages including attachments, as well as uploading (and fetching) photos.
You'll find it here:
https://code.volse.net/hubzilla/rust-zotapi.git/
If you want to give it a try, let me know. It's very short on docs yet, but that would be a good excuse to fix the situation :) Also if you have a specific need or use case, I'd be happy to try to implement that.
Link to Source
Conversation Features
Loading...
Conversation Features
Loading...
Login
Email or nickname
Password
Remember me
Login
Register
Password Reset
Remote Authentication