~sirodoht/mataroa-community

2 2

Possiblity to upload image through an endpoint ?

Details
Message ID
<o7uwxdbkfoyrelu5qgudcaetsg54kjeiywdecsqnwk5e6zkqjf@2kw32aoe7zt4>
DKIM signature
missing
Download raw message
Hi !
I've recently created a blog on your platform and it's been great!
I've been tinkering with settings and seeing stuff come to life is awesome (though I've not posted my first non-draft post yet).

I started writing a few posts, as draft on my machine, using my own note-taking software. 
In the mataroa documentation, endpoints are specified that let a user manage its posts via http request.
My issue arise when working with images; I either have to upload them by hand, copy-paste their URLs and add them to my post.
This process might become a pain in the futur, if I need to handle multiple images in a single post.

Is there any plan to allow users to upload images using a dedicated endpoint ?
If that's not the case but you are open to the idea, I could provide a patch.
If that's not the case at all, can one use any other image host services or will some be blocked by the CORS agent ?

Thanks ! :)
Thomas.
Details
Message ID
<jlwotrxtelcrsexrejybd74pig453tcfi7mzsq3rkroyoagn2g@7wqpp4avbdan>
In-Reply-To
<o7uwxdbkfoyrelu5qgudcaetsg54kjeiywdecsqnwk5e6zkqjf@2kw32aoe7zt4> (view parent)
DKIM signature
missing
Download raw message
Hi ! Sending this message again since the DKIM signature failed the first time. :)

---

Hi !
I've recently created a blog on your platform and it's been great!
I've been tinkering with settings and seeing stuff come to life is awesome (though I've not posted my first non-draft post yet).

I started writing a few posts, as draft on my machine, using my own note-taking software. 
In the mataroa documentation, endpoints are specified that let a user manage its posts via http request.
My issue arise when working with images; I either have to upload them by hand, copy-paste their URLs and add them to my post.
This process might become a pain in the futur, if I need to handle multiple images in a single post.

Is there any plan to allow users to upload images using a dedicated endpoint ?
If that's not the case but you are open to the idea, I could provide a patch.
If that's not the case at all, can one use any other image host services or will some be blocked by the CORS agent ?

Thanks ! :)
Thomas.
Details
Message ID
<de7def65-0701-4636-be83-028f1828a98d@app.fastmail.com>
In-Reply-To
<jlwotrxtelcrsexrejybd74pig453tcfi7mzsq3rkroyoagn2g@7wqpp4avbdan> (view parent)
DKIM signature
missing
Download raw message
Hi Thomas!

Glad you enjoy using mataroa!

On Mon, 27 Nov 2023, at 10:54, Thomas Teixeira wrote:
> Is there any plan to allow users to upload images using a dedicated
> endpoint ?

There is no such plan.

> If that's not the case but you are open to the idea, I could provide
> a patch.

I'm not sure about this feature. Providing a programmatic way to upload
images enables a lot of abuse and spam, which I don't want. I might
consider this for premium accounts only, though.

> If that's not the case at all, can one use any other image host
> services or will some be blocked by the CORS agent ?

Of course, you can link to any image online, with or without https.

Theodore
Reply to thread Export thread (mbox)