{"id":19640797,"url":"https://github.com/onlyonehas/mac_dev_setup","last_synced_at":"2026-05-13T01:02:05.813Z","repository":{"id":171807639,"uuid":"493599993","full_name":"onlyonehas/mac_dev_setup","owner":"onlyonehas","description":"personal mac setup ","archived":false,"fork":false,"pushed_at":"2025-04-15T12:38:18.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T13:42:49.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/onlyonehas.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,"zenodo":null}},"created_at":"2022-05-18T09:41:18.000Z","updated_at":"2025-04-15T12:38:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c8b1a7d-cba7-46bc-8295-26b11abf7013","html_url":"https://github.com/onlyonehas/mac_dev_setup","commit_stats":null,"previous_names":["onlyonehas/mac_dev_setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onlyonehas/mac_dev_setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyonehas%2Fmac_dev_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyonehas%2Fmac_dev_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyonehas%2Fmac_dev_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyonehas%2Fmac_dev_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onlyonehas","download_url":"https://codeload.github.com/onlyonehas/mac_dev_setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlyonehas%2Fmac_dev_setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: 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":[],"created_at":"2024-11-11T14:06:53.253Z","updated_at":"2026-05-13T01:02:05.790Z","avatar_url":"https://github.com/onlyonehas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Mac Dev Setup 💻\n\n---\n\n## Description\n\nOn many occassions, I had to change laptops, which meant I had to install ALL the things in the world, \nlike **everything** again from scratch.\n\n_So_... wrote this script to automates that process by setting up all the common development tools and configurations for you. \n\nFrom installing essential software to configuring your environment, it handles the tedious tasks so you don’t have to. \n\nJust run the script, and you're good to go!\n\n\n# How to run the script\n\n```\nGITHUB_SETUP_URL=\"https://raw.githubusercontent.com/onlyonehas/mac_dev_setup/main/setup.sh\"\n\n# Download the setup.sh script from GitHub\ncurl -O $GITHUB_SETUP_URL\n\n# Make the setup.sh script executable\nchmod 755 setup.sh\n\n# Run the setup.sh script\nzsh ./setup.sh\n\n```\n\n## Still TO DO:\n- [ ] Update dynamically from cloud \n- [ ] Automate dot files\n- [ ] Secure secrets ie .aws, certs\n- [ ] Hidden script to move/apply secrets\n- [ ] Settings for vscode\n- [ ] Alfred shortcuts \n\nGoogle Chrome:\nEnsure to sign in and turn on sync in Chrome\nto keep your browser customisation - bookmarks, extensions etc\n\nVs Code Sync:\nYou can turn on Settings Sync using the Turn On Settings Sync... entry in the Manage gear menu at the bottom of the Activity Bar.\n\n\u003e https://code.visualstudio.com/docs/editor/settings-sync\n\n\n## Github machine setup\n```\n# Generate SSH Key if not already present\necho \"Checking for existing SSH key...\"\n\nif [ ! -f \"$HOME/.ssh/id_rsa\" ]; then\n  echo \"No SSH key found. Generating new SSH key...\"\n  ssh-keygen -t rsa -b 4096 -C \"your_email@example.com\" -f \"$HOME/.ssh/id_rsa\" -N \"\"\nelse\n  echo \"SSH key already exists.\"\nfi\n\n# Copy the SSH public key to clipboard (macOS only, adjust for other OS if needed)\necho \"Copying SSH public key to clipboard...\"\ncat ~/.ssh/id_rsa.pub | pbcopy\necho \"SSH public key copied to clipboard. Add it to your GitHub account.\"\n\n# Generate GPG Key\necho \"Checking for existing GPG key...\"\n\nGPG_KEY=$(gpg --list-secret-keys --keyid-format LONG | grep sec | head -n 1 | awk -F/ '{print $2}' | tr -d ' ')\n\nif [ -z \"$GPG_KEY\" ]; then\n  echo \"No GPG key found. Generating new GPG key...\"\n  gpg --full-generate-key\nelse\n  echo \"GPG key already exists.\"\nfi\n\n# List the GPG key ID\nGPG_KEY=$(gpg --list-secret-keys --keyid-format LONG | grep sec | head -n 1 | awk -F/ '{print $2}' | tr -d ' ')\n\necho \"Listing GPG key ID...\"\necho \"Your GPG key ID is: $GPG_KEY\"\n\n# Export GPG Key to clipboard\necho \"Exporting GPG key to clipboard...\"\ngpg --armor --export $GPG_KEY | pbcopy\necho \"GPG key exported to clipboard. Add it to your GitHub account.\"\n\necho \"GitHub machine setup complete! Add your SSH and GPG keys to your GitHub account.\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyonehas%2Fmac_dev_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlyonehas%2Fmac_dev_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyonehas%2Fmac_dev_setup/lists"}