{"id":23816166,"url":"https://github.com/andrewn6/janitor","last_synced_at":"2025-09-06T23:32:51.265Z","repository":{"id":62711743,"uuid":"550449518","full_name":"andrewn6/janitor","owner":"andrewn6","description":"A script that cleans up my mac","archived":false,"fork":false,"pushed_at":"2023-01-26T01:42:27.000Z","size":147,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T07:44:26.641Z","etag":null,"topics":["homebrew"],"latest_commit_sha":null,"homepage":"https://janitor.nijmeh.cloud","language":"Astro","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/andrewn6.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}},"created_at":"2022-10-12T19:38:20.000Z","updated_at":"2024-01-12T18:41:19.000Z","dependencies_parsed_at":"2023-01-29T18:00:54.017Z","dependency_job_id":null,"html_url":"https://github.com/andrewn6/janitor","commit_stats":null,"previous_names":["0xacn/janitor","andrewhummus/janitor","andrewn6/janitor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fjanitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fjanitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fjanitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fjanitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewn6","download_url":"https://codeload.github.com/andrewn6/janitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232153257,"owners_count":18480088,"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":["homebrew"],"created_at":"2025-01-02T04:29:08.154Z","updated_at":"2025-01-02T04:29:08.560Z","avatar_url":"https://github.com/andrewn6.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Janitor\n\n## What does this do?\n\nThis is a script that I run here and there which cleans up my macbook, updates packages and does other misc tasks.\n\n## Overview\n\nHere is the highlights of what the script does\n- `brew update`\n  - update homebrew packages\n- `brew upgrade`\n  - upgrade homebrew packages\n- `rustup upgrade`\n  - updates rust to the latest version\n\n and so on...\n\n## Options\n\nYou can run the shell script with the following options:\n\n- `--help (-h)`: shows this help page\n- `--disable`: disable certain commands from running\n- - `b`: disable brew update\n- - `d`: disable DNS cache flush\n- - `g`: disable gem cleanup\n- - `n`: disable pnpm update\n- - `p`: disable pip update\n- - `r`: disable rust upgrade\n\nexample: `./janitor.sh --disable=dnrg`\n\n## How to set up\n\n- Clone the repo:\n  - `git clone https://github.com/anddddrew/janitor`\n  \n- Create an alias in your .zshrc or .bashrc:\n  - `alias='/pathofrepogoeshere/janitor.sh'`\n\n*Note: You may have to run `chmod +x janitor.sh` if you get `permission denied: ./janitor.sh`!*\n\n## Thank you\n\nBig thanks to @PineappleRind for improving the script and making great modifications! \n\nCheck out his work [here](https://pineapplerind.xyz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn6%2Fjanitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewn6%2Fjanitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn6%2Fjanitor/lists"}