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
VERSION
- The version of the extension.SENTRY_RELEASE
- This should be the same as theVERSION
variable.CHANGELOG_VERSION
- The version the in-app changelog was last updated for.SENTRY_AUTH_TOKEN
- The Sentry auth token for the project.GOOGLE_ANALYTICS_API_SECRET
- A Google Analytics API secret.GOOGLE_MEASUREMENT_ID
- The Google Measurement ID for the project.PROXY_URL
- The URL of the proxy server for OpenAI's API
Note that some of these variables are missing from the .env
file in this repository as they are
included in the GitHub repository secrets.
-
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
- Jens Astrup - JensAstrup
This project is licensed under CC BY-NC 4.0 Deed | Attribution-NonCommercial 4.0 International Creative Commons
- ChatGPT