Live data from Hacker News

Zerocal – A Serverless Calendar App in Rust

endler.dev

1–10 of 64 posts

Re: Zerocal – A Serverless Calendar App in Rust

#2
Author here, had a lot of fun building this as it's just ~100 lines of Rust code + some CSS/HTML. If someone is looking for a fun thing to contribute to during Hacktoberfest, the code is on Github: https://github.com/mre/zerocal Will mainly use it for myself to send out event links to friends.

Re: Zerocal – A Serverless Calendar App in Rust

#3
post #2

Author here, had a lot of fun building this as it's just ~100 lines of Rust code + some CSS/HTML. If someone is looking for a fun thing to contribute to during Hacktoberfest, the code is on Github: https://github.com/mre/zerocal Will mainly use it for myself to send out event links to friends.

Can it be self-hosted without relying on shuttle.rs? If yes, could you please update the readme with instructions?

Re: Zerocal – A Serverless Calendar App in Rust

#4
post #3
post #2

Author here, had a lot of fun building this as it's just ~100 lines of Rust code + some CSS/HTML. If someone is looking for a fun thing to contribute to during Hacktoberfest, the code is on Github: https://github.com/mre/zerocal Will mainly use it for myself to send out event links to friends.

Can it be self-hosted without relying on shuttle.rs? If yes, could you please update the readme with instructions?

It's just Rust, so it can be. Will add a `main.rs` and some instructions, but PRs are welcome if someone beats me to it. ;) https://github.com/mre/zerocal/issues/9

Re: Zerocal – A Serverless Calendar App in Rust

#6
> I wanted a way to create calendar entries from my terminal.

> There is no state on the server, it just generates a calendar event on the fly and returns it.

Didn't see that coming. I suppose it's handy that you can call it anywhere curl is installed (or even use the browser address bar as your command line) instead of having to install and run the Rust program locally.

Re: Zerocal – A Serverless Calendar App in Rust

#7
post #5

I'm wondering if this or a similar tool could be hooked into emacs to make working with calendars in emacs a bit easier. I don't think there is a good way to send calendar invites to people from emacs (but happy to be wrong on this one).

As seen in the article, the invites are simple text files. (I haven't tried, but you might be able to create one with icalendar-export-region?)

I think the more difficult part is sending an email that looks and works right with the invite attached in a way compatible with the receiving systems.

Invitations from Microsoft systems are especially horrible as they look like normal, plain text messages (without an invite) in standards-compliant systems. Depending how the sender expresses themselves, the receiver might have no clue they were invited let alone the time and place.

Re: Zerocal – A Serverless Calendar App in Rust

#8
The process for making webapps in Rust seems extremely clean compared to other languages (or maybe I'm not exposed enough but I remember making things with Golang and even just JS was torture with common hosting solutions). Props to shuttle.rs and the Rust community!

Re: Zerocal – A Serverless Calendar App in Rust

#10
post #2

Author here, had a lot of fun building this as it's just ~100 lines of Rust code + some CSS/HTML. If someone is looking for a fun thing to contribute to during Hacktoberfest, the code is on Github: https://github.com/mre/zerocal Will mainly use it for myself to send out event links to friends.

FYI: the text on your blog post is cropped on my small screen (iPhone SE), and scrolling doesn’t even help, so its essentially unreadable.
Post reply on HN