top | item 33112461

(no title)

omn1 | 3 years ago

That's correct.

discuss

order

EGreg|3 years ago

Sorry but how is it serverless? Is it a static HTML file with JS that does the job? Isn't there a server that the request goes to?

omn1|3 years ago

Good question. It depends on your definition of serverless. Strictly speaking there is no serverless, there's always some infrastructure somewhere.

However the calendar file gets created out of thin air from the GET parameters alone. There is no state or storage involved. Other calendar apps have a backend with a DB; this one doesn't. Now whether that counts as truly serverless is up to you I guess. It's as close as you could get with a calendar I'd say. Not easy to get the point across in a title. ;) Hope that helps.

tuukkah|3 years ago

Then I missed the point and your use case. I re-read your article and this is the only sentence where I believe I could have got it if I read it carefully enough:

> Now I can finally send my friends a link to a calendar event for our next pub crawl.

I suggest you update the tagline to say "link" as there is no "terminal" involved. That is, you don't use cURL and you don't send a normal calendar invitation email, but instead you send a message with a link that gives them the ical file when they click it.