{"id":18081473,"url":"https://github.com/mrhappyma/gcal-discord-sync","last_synced_at":"2025-04-05T22:23:14.924Z","repository":{"id":206116408,"uuid":"715881205","full_name":"mrhappyma/gcal-discord-sync","owner":"mrhappyma","description":"google calendar --\u003e discord","archived":false,"fork":false,"pushed_at":"2024-10-06T22:47:19.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T03:49:35.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrhappyma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-08T02:38:50.000Z","updated_at":"2024-10-06T22:47:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2acc5dab-1d3a-4b93-b77a-d854297f9869","html_url":"https://github.com/mrhappyma/gcal-discord-sync","commit_stats":null,"previous_names":["mrhappyma/gcal-discord-sync"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhappyma%2Fgcal-discord-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhappyma%2Fgcal-discord-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhappyma%2Fgcal-discord-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhappyma%2Fgcal-discord-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrhappyma","download_url":"https://codeload.github.com/mrhappyma/gcal-discord-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247407728,"owners_count":20934092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T13:14:54.669Z","updated_at":"2025-04-05T22:23:14.891Z","avatar_url":"https://github.com/mrhappyma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcal-discord-sync\n\nsyncs upcoming google calendar events in the next 30 days to discord (cron every 3 hours)\n\na little clunky but does the job\n\n## Setup\n\n[Create a Google Cloud project](https://console.cloud.google.com/), and [enable the calendar API](https://console.cloud.google.com/flows/enableapi?apiid=calendar-json.googleapis.com). [Configure the consent screen](https://console.cloud.google.com/apis/credentials/consent), you don't need any scopes and you should add yourself as a test user. Most of the other fields don't matter. [Create an OAuth client ID](https://console.cloud.google.com/apis/credentials) for a desktop application (or web if you're deploying somewhere. set the redirect url env variable then.). Click OK through most of the prompts, and store your client ID and secret somewhere.\n\n[Create your Discord bot](https://discord.com/developers/applications), and add it to your server.\n\nSet your environment variables:\n\n```\nCLIENT_ID = # google client id\nPROJECT_ID = # google project id\nCLIENT_SECRET = # google client secret\nCALENDAR_ID = # source google calendar id\nBOT_TOKEN = # discord bot token\nGUILD_ID = # target discord guild id\nDATABASE_URL = # oh yeah you need a postgres database too\nREDIRECT_URL = #optional, helpful if you're deploying it somewhere. no trailing slash.\n```\n\n`bun install` `bunx prisma db push` and `bun .` and you're good to go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrhappyma%2Fgcal-discord-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrhappyma%2Fgcal-discord-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrhappyma%2Fgcal-discord-sync/lists"}