~sircmpwn/sr.ht-discuss

2 2

Simple forms in srht.site

Details
Message ID
<CAGhVe-WRKB_SWFQpgU+zVNLijJXKsJ9BWS=08UOGyy3rExiw2A@mail.gmail.com>
Sender timestamp
1738673733
DKIM signature
pass
Download raw message
I have been using sr.ht as a hobbyist for some time now. Recently I
used srht.site to host a personal webpage for my professional life as
a university professor. I did try to use hugo as a tool to generate
the site, but found it too cumbersome for me, so I changed to astro:
https://astro.build/

I've never hosted a webpage before, so I am new to the whole process.
Learning what I seem to be needing as I go. Right now, I would like to
use the webpage to gather some simple information, say having students
fill out a questionnaire and having the webpage send the answers as a
csv file.

Is this possible with srht.site? From what I have read, it is possible
to render the static webpage itself, being it plain html or using
astro (as stated here
https://docs.astro.build/en/recipes/build-forms/). For instance, I did
the following page:

https://gavox.srht.site/r3

My question is whether it is possible to record the information
received in this form in srht.site? It would be nice to have it as a
csv file.

My confusion comes out of the fact that astro claims that this components need

"A project with SSR (output: 'server') enabled"

And I do not know whether this is something that sr.ht supports.

Thanks. Regards,

Gabriel Villalobos Camargo
Details
Message ID
<D7JUZ5DJN9JX.2HHQTL0LAHK8@mailbox.org>
In-Reply-To
<CAGhVe-WRKB_SWFQpgU+zVNLijJXKsJ9BWS=08UOGyy3rExiw2A@mail.gmail.com> (view parent)
Sender timestamp
1738695885
DKIM signature
pass
Download raw message
On Tue Feb 4, 2025 at 6:55 PM CET, Gabriel wrote:
> My question is whether it is possible to record the information
> received in this form in srht.site? It would be nice to have it as a
> csv file.

short answer is no.

srht site serves only static contents. It doesn't collect, process or store
runtime data.

For that form to work you'll need your own server with proper software.
But if collecting questionnaire is what you need, I bet there are
pletheora of online collaberation tools that you can use out-of-the-box.

I can't recommend any though, since I don't use them personally.

-- 
wth
220F 6A50 7BEF 8C33 3B4A 4404 99DE B3B4 1583 4AEF
Details
Message ID
<A2FFD245-E333-4707-A84F-5D6F7C54B05F@disroot.org>
In-Reply-To
<D7JUZ5DJN9JX.2HHQTL0LAHK8@mailbox.org> (view parent)
Sender timestamp
1738709567
DKIM signature
pass
Download raw message
>> My question is whether it is possible to record the information
>> received in this form in srht.site? It would be nice to have it as a
>> csv file.
>
>short answer is no.
>For that form to work you'll need your own server with proper software.
>But if collecting questionnaire is what you need, I bet there are
>pletheora of online collaberation tools that you can use out-of-the-box.
>
>I can't recommend any though, since I don't use them personally.
Might I suggest https://riku.miso.town/
Reply to thread Export thread (mbox)