This is a hard fork of MikeMcQuaid/Strap. Strap is a stable and reliable project which is well maintained. This project is inpired by Strap and the initial codebase is exactly the same as strap. Strapless aims to leverage serverless technology and provide a bootstrap script for a greater diversity of development machines.
Strapless is a script and interface for bootstraping a minimal development system. It does not assume you're any specific type of development but installs a minimal set of software which a developer will want. It also sets sane defaults and triggers additional, customized, provisioning.
Replacing Strap with a serverless, cross-platform tool.
- Disables Java in Safari (for better security)
- Enables the macOS screensaver password immediately (for better security)
- Enables the macOS application firewall (for better security)
- Adds a
Found this computer?
message to the login screen (for machine recovery) - Enables full-disk encryption and saves the FileVault Recovery Key to the Desktop (for better security)
- Installs the Xcode Command Line Tools (for compilers and Unix tools)
- Agree to the Xcode license (for using compilers without prompts)
- Installs Homebrew (for installing command-line software)
- Installs Homebrew Bundle (for
bundler
-likeBrewfile
support) - Installs Homebrew Services (for managing Homebrew-installed services)
- Installs Homebrew Cask (for installing graphical software)
- Installs the latest macOS software updates (for better security)
- Installs dotfiles from a user's
https://github.com/username/dotfiles
repository. If they exist and are executable: runsscript/setup
to configure the dotfiles andscript/strap-after-setup
after setting up everything else. - Installs software from a user's
Brewfile
in theirhttps://github.com/username/homebrew-brewfile
repository or.Brewfile
in their home directory. - A simple web application to set Git's name, email and GitHub token (needs authorised on any organisations you wish to access)
- Idempotent
- Enabling any network services by default (instead enable them when needed)
- Installing Homebrew formulae by default for everyone in an organisation (install them with
Brewfile
s in project repositories instead of mandating formulae for the whole organisation) - Opting-out of any macOS updates (Apple's security updates and macOS updates are there for a reason)
- Disabling security features (these are a minimal set of best practises)
- Add phone number to security screen message (want to avoid prompting users for information on installation)
If you trust me and have no problem with the defaults, use https://strapless.dev
If you'd rather host your own:
https://strapless.dev is hosted on Vercel. You can deploy this exact repository using the button below:
After you deploy the code, be sure to set the following environment variables in Vercel:
AUTH_SECRET
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
Stable and in active development.
Licensed under the MIT License. The full license text is available in LICENSE.txt.