Shortcut Assistant is a Chrome extension that adds various additional features to Shortcut.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. If you're looking to install the extension, visit the Chrome Web Store.
-
Clone the Repository
-
Install Dependencies
npm install
or
yarn install
-
Set up Environment Variables
cp .env.example .env
-
Install Doppler CLI
brew install doppler/tap/doppler-cli
-
Authenticate and set project/config
doppler login doppler setup --project shortcut-assistant --config dev
-
Open Google Chrome and navigate to
chrome://extensions/
. -
Enable 'Developer mode' in the top right corner.
-
Run
npm run dev
to build the extension. -
Click on 'Load unpacked' and select the
build
folder within your project directory. -
The extension should now be visible in the extensions list and active in the Chrome browser.
- Run
npm run dev
. - Make changes to the source files.
- Reload the extension from
chrome://extensions/
by clicking the 'Reload' button under the extension. - Changes to service worker files and the manifest tend to require a full reload of the extension.
- Build the Project
npm run build
- Generate a ZIP file of the
build
folder.npm run dist
will do this for you.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Standard: MAJOR.MINOR.PATCH
Major: Breaking changes or significant feature changes
Minor: New features
Patch: Bug fixes or internal changes not affecting the user experience
To update the version of the extension, use Yarn's standard version command:
# For a patch version bump (e.g., 1.0.0 -> 1.0.1)
yarn version --patch
# For a minor version bump (e.g., 1.0.0 -> 1.1.0)
yarn version --minor
# For a major version bump (e.g., 1.0.0 -> 2.0.0)
yarn version --major
This will:
- Update the version in
package.json
- Update or create
.env
with the new version - Run the build process
- Output instructions for committing, tagging, and pushing the changes
- Jens Astrup - JensAstrup
This project is licensed under CC BY-NC 4.0 Deed | Attribution-NonCommercial 4.0 International Creative Commons
- ChatGPT