{"id":15637176,"url":"https://github.com/icanzilb/donildisturbplugin","last_synced_at":"2025-04-14T19:11:24.717Z","repository":{"id":37265675,"uuid":"503910070","full_name":"icanzilb/DoNilDisturbPlugin","owner":"icanzilb","description":"A plugin for your Xcode project that stops you from working outside work hours","archived":false,"fork":false,"pushed_at":"2022-09-10T14:17:39.000Z","size":90,"stargazers_count":109,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T16:39:47.681Z","etag":null,"topics":["plugin","swift","xcode14"],"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/icanzilb.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}},"created_at":"2022-06-15T20:18:15.000Z","updated_at":"2024-05-10T10:46:06.000Z","dependencies_parsed_at":"2022-07-20T11:47:33.867Z","dependency_job_id":null,"html_url":"https://github.com/icanzilb/DoNilDisturbPlugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanzilb%2FDoNilDisturbPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanzilb%2FDoNilDisturbPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanzilb%2FDoNilDisturbPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanzilb%2FDoNilDisturbPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icanzilb","download_url":"https://codeload.github.com/icanzilb/DoNilDisturbPlugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943456,"owners_count":21186958,"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":["plugin","swift","xcode14"],"created_at":"2024-10-03T11:10:36.847Z","updated_at":"2025-04-14T19:11:24.695Z","avatar_url":"https://github.com/icanzilb.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DoNilDisturb Swift Plugin\n\nUse Xcode 14+ to make use of this amazing and novel Swift plugin in your package.\n\nThe plugin stops you from working on your 9-5 project outside of 9-5 hours:\n\n![Project failing to compile with a message that do not disturb is on](etc/dnd.png)\n\nAdd this to your dependencies in your Package.swift:\n\n```swift\n.package(url: \"https://github.com/icanzilb/DoNilDisturbPlugin.git\", from: \"0.0.2\"),\n```\n\n**And then**, add the plugin in your target definition(still in Package.swift:\n\n```swift\n.target(\n  name: \"MyTarget\",\n  plugins: [\n    .plugin(name: \"DoNilDisturbPlugin\", package: \"DoNilDisturbPlugin\")\n  ]\n)\n```\n\nThat's all. Your target will fail to build outside of working hours.\n\nEnjoy your time off work.\n\n## Public Holidays support\n\nGrab an **.ics** file containing the public holidays for your locality. For example, grab this one for Spanish holidays: https://www.officeholidays.com/ics-clean/spain\n\nSave the calendar file under your project's root directory in a sub-directory called `.config/DoNilDisturb`\n\nThe plugin will now respect your holidays:\n\n![Error message in Xcode failing to build because it's a public holiday](etc/holidays.png)\n\n## License\n\nMIT, of course.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficanzilb%2Fdonildisturbplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficanzilb%2Fdonildisturbplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficanzilb%2Fdonildisturbplugin/lists"}