{"id":24344364,"url":"https://github.com/minho42/acal","last_synced_at":"2025-04-09T17:15:21.633Z","repository":{"id":264401024,"uuid":"893121065","full_name":"minho42/acal","owner":"minho42","description":"Check Apple calendar events from terminal on MacOS","archived":false,"fork":false,"pushed_at":"2025-01-15T17:17:01.000Z","size":13,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T19:39:00.760Z","etag":null,"topics":["cli","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minho42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-23T15:36:22.000Z","updated_at":"2025-01-15T17:21:34.000Z","dependencies_parsed_at":"2024-11-24T02:19:36.711Z","dependency_job_id":"40feae28-733f-463b-9e7e-3e8d2455546f","html_url":"https://github.com/minho42/acal","commit_stats":null,"previous_names":["minho42/calendarcli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minho42%2Facal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minho42%2Facal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minho42%2Facal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minho42%2Facal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minho42","download_url":"https://codeload.github.com/minho42/acal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234492565,"owners_count":18841941,"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":["cli","swift"],"created_at":"2025-01-18T09:34:23.168Z","updated_at":"2025-01-18T09:34:24.073Z","avatar_url":"https://github.com/minho42.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Check Apple calendar events from terminal on MacOS using Swift\n\n## Create a new Xcode project\n\nXcode -\u003e Create New Project...\nmacOs -\u003e **Command Line Tool**\n\nProduct Name: CalendarCLI\n\nSelect project in the navigator -\u003e Targets: CalendarCLI -\u003e Sining \u0026 Capabilities -\u003e Signing\n\nBundle Identifier: [com.yoursite.CalendarCLI]\n\n## Make Info.plist\n\nFile -\u003e New -\u003e File from Template... [⌘ N]\nSearch: \"Property List\"\nSave As: Info.plist\n\nSelect `Info` from navigator -\u003e Open As \u003e Source Code\n\nCopy and paste from `CalendarCLI/Info.plist` to `Info.plist`\n\n## Code (main.swift)\n\nCopy and paste from `CalendarCLI/main.swift` to `main.swift`\n\n## Build\n\nProduct -\u003e Build [⌘ B]\n\nThe executable goes to something like:\n\n\u003e ~/Library/Developer/Xcode/DerivedData/**CalendarCLI-epaeyjhibywlyqbuuhetpwnjddow**/Build/Products/Debug/CalendarCLI\n\n## Run\n\nRun the app\n$(find ~/Library/Developer/Xcode/DerivedData -name \"CalendarCLI\" -type f -path \"_/Build/Products/Debug/_\" -print -quit)\n\n## Run with alias\n\nMake an alias in `~/.zshrc` (for Z shell)\n\n```shell\nalias acal='$(find ~/Library/Developer/Xcode/DerivedData -name \"CalendarCLI\" -type f -path \"_/Build/Products/Debug/_\" -print -quit)'\n```\n\n## Output\n\n```shell\n❯ acal\n2024-11-24 (Sun)\n· return books\n\n2024-11-25 (Mon)\n· 💰rent\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminho42%2Facal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminho42%2Facal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminho42%2Facal/lists"}