From 5c992429f4211293590ab87acc7357c70a3bdf54 Mon Sep 17 00:00:00 2001 From: Rufei Zhou Date: Mon, 7 Apr 2025 19:17:57 -0700 Subject: [PATCH] add gcal links --- .gitea/workflows/refresh.yaml | 4 ++-- README.md | 20 +++++++++++++++++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/refresh.yaml b/.gitea/workflows/refresh.yaml index 35c7fc3..ca7764e 100755 --- a/.gitea/workflows/refresh.yaml +++ b/.gitea/workflows/refresh.yaml @@ -47,10 +47,10 @@ jobs: run: poetry install --no-interaction --no-root - name: Get current time id: time - run: echo "::set-output name=time::$(TZ='America/Los_Angeles' date +'%Y-%m-%d %H:%M %p')" + run: echo "::set-output name=time::$(TZ='America/Los_Angeles' date +'%Y-%m-%d %I:%M %p')" - name: Get time tag id: time_tag - run: echo "::set-output name=tag::$(TZ='America/Los_Angeles' date +'%Y-%m-%d_%H%M_%p')" + run: echo "::set-output name=tag::$(TZ='America/Los_Angeles' date +'%Y-%m-%d_%I%M_%p')" #---------------------------------------------- # install and run the project #---------------------------------------------- diff --git a/README.md b/README.md index 2ffafd6..4a86146 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,33 @@ # Events Plus - Right now, this is a script that turns the Sakura-Con schedule from Eventny into iCalendar files (for import into your calendar program of choice). Events are broken out into separate files, by track. It may eventually grow to support other events and/or sport a separate UI. It is also vibe-coded. Events are scraped via a pipeline that runs twice hourly, and if there are any changes, [a new release is published](https://g.dracoli.ch/rufei/events-plus/releases). +## Google Calendar Links +* [Sakura-Con Presents](https://calendar.google.com/calendar/embed?src=f2802717d1727828bf1bfe9f6cc35844a36ffff6daad7c3fa293ab35bf51c495%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Fan Panel](https://calendar.google.com/calendar/embed?src=8062c73edfb8db11c385b255531d97ba7a30672a5e6ded4e24cd589b25282d65%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Gaming](https://calendar.google.com/calendar/embed?src=46c95e247f9e449f2968b44edfe659560a232efbf57576efc9f15ba8668ee0ff%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Main Stage](https://calendar.google.com/calendar/embed?src=ae20459e6d4c41b46496663b04ec87279fb1a0ed858351ea796d82c217e20579%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Cultural Panel](https://calendar.google.com/calendar/embed?src=633adb5a3a96b984092c8e641dda4011b80a8a314d03fc0c6e941895caabf2d2%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Guest of Honor](https://calendar.google.com/calendar/embed?src=da7b9a6845eb7868457147046aa388101ef2601cffbaf4d29f1a1c8d00a8bea9%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Charity Auction](https://calendar.google.com/calendar/embed?src=a51250c24fd2c4fd2d4bbefc94c055eb1f392ccf89d93799d4a92ff2c319f436%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Industry Panel](https://calendar.google.com/calendar/embed?src=fe3a9a7e1e839dd41ac934bb0b79287d4ff705f577f726d06b0f4249bae1ac40%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Autographs](https://calendar.google.com/calendar/embed?src=1959b9a550cbdf73d7997c070009ea836c1af93d8330353bbfdbbc2f82aff27a%40group.calendar.google.com&ctz=America%2FLos_Angeles) +* [Summit Stage](https://calendar.google.com/calendar/embed?src=106d7620bbe3a8e14ee593758e7db9c71a311615e3a17ada938f50974b0b9ccf%40group.calendar.google.com&ctz=America%2FLos_Angeles) + ## How to Run ```sh poetry install eval $(poetry env activate) python toical.py ``` + +## TODO +* sync events to gcal by icaluid on every release via gcal api +* create multi-select webui +* save selected event uids in cookie +* compare event ids from last sync to current and highlight changes to previously selected events +* add other events like lbx