newdle icon indicating copy to clipboard operation
newdle copied to clipboard

Use case for non-CERN users + Google Cal

Open cha0sg0d opened this issue 3 years ago • 4 comments

Hi all,

I'm a big fan of CERN (thank you Sir Tim BL!). I've been searching everywhere for open source software that provides 1-click meeting scheduling and integrates with existing calendars like Outlook and Gcal.

I was wondering if someone could point me in the right direction to repurpose this codebase for a non-CERN audience and gogole calendar. Thanks!

cha0sg0d avatar Jul 09 '21 16:07 cha0sg0d

Hi, integration with Google Calendar is probably not trivial, but if someone contributed this it'd be amazing of course.

Probably you would need to use Google OIDC/OAuth for the login, store the token, and then use the Google Calendar APIs for free-busy information.

ThiefMaster avatar Jul 09 '21 16:07 ThiefMaster

Yeah def not trivial. I have experience with the OAuth and API calls, but less so with the actual scheduling algorithm. If the correct free busy info is gathered, will Newdle calculate the times? Or does it just ping Microsoft's algorithm.

cha0sg0d avatar Jul 09 '21 16:07 cha0sg0d

I would expect Google to have an API that returns free-busy information in a decent format. You can check the existing free-busy sources here to see how newdle needs the data.

There are no scheduling algorithms involved. People specify their preferred time slots and the (human) newdle creator then picks the best slot based on the users' answers.

ThiefMaster avatar Jul 09 '21 16:07 ThiefMaster

Oh nice. Ok, I'll play around with it and PR when I can. If I send over the login flows, could you help integrate them into the UI?

cha0sg0d avatar Jul 09 '21 16:07 cha0sg0d