Coder Social home page Coder Social logo

mre / zerocal Goto Github PK

View Code? Open in Web Editor NEW
164.0 6.0 18.0 312 KB

๐Ÿšซ๐Ÿ“† Serverless calendar built with shuttle.rs

Home Page: https://zerocal.shuttleapp.rs

License: Apache License 2.0

Rust 58.17% HTML 39.48% Makefile 2.36%
calendar deployment microsaas serverless hacktoberfest

zerocal's Introduction

zerocal ๐Ÿšซ๐Ÿ“†

Welcome to zerocal, the serverless calendar.
It allows you to create calendar invites from the convenience of your terminal!
๐Ÿ”— Here's my blog post about the project.

Usage

curl https://zerocal.shuttleapp.rs?start=2022-11-04+20:00&duration=3h&title=Birthday&des
cription=paaarty > party.ics
open party.ics

Web UI

You can also use the web UI at https://zerocal.shuttleapp.rs

web ui

Self-hosting

You can also self-host zerocal. To do so, compile the binary with cargo build --release --features local and run it with ./target/release/zerocal. The server will listen on port 8000 by default.

Contributing

Please check the issue tracker for contribution ideas. Any pull request is welcome. โค๏ธ

To run a local development version install cargo-watch and then run

make local

You can also run a dev version on shuttle.rs with

make dev

Derivatives

Was your project inspired by zerocal? Add it here!

  • kiwical - Kiwi Calendar built with Typescript on Deno Deploy.

Credits

This app was built with the help of ๐Ÿš€ shuttle.rs, the web application platform for Rust.

zerocal's People

Contributors

maheshsundaram avatar mre avatar nabushika avatar sigaloid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zerocal's Issues

Add short-link support

E.g. zerocal.shuttleapp.rs/2022-11-04T20:00/3h/Birthday/Party.
I'm willing to discuss alternative URL formats before we decide on one.

Add a HTML version of the event response

When a recipient clicks the link, it would be nice if they got a HTML page first. The page could contain links to download as ical, add to Google Calendar etc.

Web GUI cannot set a custom timezone

Seems that the browser's local timezone is used (without inspecting code)

I would like a way to set to use my timezone by default, or manually select one from a dropdown list ala google:
image

Even just manually setting the offset from UTC would be ok too as an MVP.

Cannot use unicode in fields ๐Ÿ˜ญ

Emoji work fine if downloaded from the gui, but no output on the CLI if used. MRE:

# fails
curl -LG https://zerocal.shuttleapp.rs/ -d title=Valid -d desc=๐Ÿบ+to+catch+up!
# works
curl -LG https://zerocal.shuttleapp.rs/ -d title=Valid -d desc=beers+to+catch+up!

Add support for QR code generation

Use case: as a meeting organizer, i want to quickly create an event on my phone, then share that meeting with my friends though a QR code on my phone

QR code would either be the link to the event or the link to the calendar file

URL/Location cannot include `#`

URLs are truncated for anything including a #
MRE:

curl -LG https://zerocal.shuttleapp.rs/ -d title=matrix -d location="https://matrix.to/#/#a-channel:matrix.org"
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ICALENDAR-RS
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTAMP:20221010T153700Z
DESCRIPTION:Powered by zerocal.shuttleapp.rs
DTEND:20221010T163700Z
DTSTART:20221010T153700Z
LOCATION:https://matrix.to/
SUMMARY:matrix
UID:0d85aec2-c585-44e5-a80e-c9464e9c5572
END:VEVENT
END:VCALENDAR

Perhaps a # to %23 conversion could fix this? Was needed on twitter for these links as an example to be valid and work a while ago (now patched).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.