{"id":19542560,"url":"https://github.com/mac-cleanup/plugin-template","last_synced_at":"2026-05-12T12:03:56.910Z","repository":{"id":94585685,"uuid":"397339491","full_name":"mac-cleanup/plugin-template","owner":"mac-cleanup","description":"Plugin Template for MacCleanup","archived":false,"fork":false,"pushed_at":"2021-08-18T07:22:47.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T12:08:56.370Z","etag":null,"topics":["mac-cleanup","macos"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mac-cleanup.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":"2021-08-17T17:28:20.000Z","updated_at":"2023-05-29T00:55:43.000Z","dependencies_parsed_at":"2023-03-21T03:17:49.472Z","dependency_job_id":null,"html_url":"https://github.com/mac-cleanup/plugin-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/mac-cleanup/plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-cleanup%2Fplugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-cleanup%2Fplugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-cleanup%2Fplugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-cleanup%2Fplugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac-cleanup","download_url":"https://codeload.github.com/mac-cleanup/plugin-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-cleanup%2Fplugin-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32938003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mac-cleanup","macos"],"created_at":"2024-11-11T03:15:05.158Z","updated_at":"2026-05-12T12:03:56.904Z","avatar_url":"https://github.com/mac-cleanup.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plugin Template\nA plugin-template for MacCleanup.\n\n\n## Usage\nIn order to create your own plugin you'll just need to use this template to create a new repository.\n\n## Documentation\nUse The `DeleteFiles` method within the `src/plugin.go` file like so:\n\n```go\nfunc (g plugin) Cleanup() {\n\t...\n\tDeleteFiles(\"~/DIR_YOU_WANT_TO_BE_CLEANED\") // DIR_YOU_WANT_TO_BE_CLEANED is the path to the directory you want to be cleaned\n    ...\n    // Add more here\n}\n```\n\n## Compile your plugin\nTo compile your plugin locally simply run:\n\n```bash\ngo build -buildmode=plugin -o dist/plugin.so src/plugin.go\n```\n\nYou now have your `plugin.so` file within the `dist` directory.\nTo use your plugin just copy your `plugin.so` file into `~/.mac-cleanup/plugins/YOUR_PLUGIN/`.\nRun `mac-cleanup clean` to make use of any plugins in this directory.\n\n## Contributing\nContributions are always welcome!\nPlease adhere to this project's `code of conduct`.\n\n## License\nThis project is licensed under the [MIT](https://choosealicense.com/licenses/mit/) license.\n\n## Authors\n- [@fwartner](https://www.github.com/fwartner)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-cleanup%2Fplugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac-cleanup%2Fplugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-cleanup%2Fplugin-template/lists"}