Skip to content

AstroYenz/shortcut-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortcut Assistant

GitHub Release Codecov

Status Page

Chrome Web Store Version Chrome Web Store Users

Shortcut Assistant is a Chrome extension that adds various additional features to Shortcut.

Getting Started

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.

Prerequisites

  • Node.js
  • npm (comes with Node.js)
  • Google Chrome or Arc Browser

Installing

  1. Clone the Repository

  2. Install Dependencies

    npm install

    or

    yarn install
  3. Set up Environment Variables

     cp .env.example .env
  4. Install Doppler CLI

    brew install doppler/tap/doppler-cli  
  5. Authenticate and set project/config

    doppler login  
    doppler setup --project shortcut-assistant --config dev  

Running the Extension Locally

  1. Open Google Chrome and navigate to chrome://extensions/.

  2. Enable 'Developer mode' in the top right corner.

  3. Run npm run dev to build the extension.

  4. Click on 'Load unpacked' and select the build folder within your project directory.

  5. The extension should now be visible in the extensions list and active in the Chrome browser.

Development Workflow

  • 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.

Packaging the Extension for Distribution

  1. Build the Project
    npm run build
  2. Generate a ZIP file of the build folder. npm run dist will do this for you.

Versioning

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

Updating the Version

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:

  1. Update the version in package.json
  2. Update or create .env with the new version
  3. Run the build process
  4. Output instructions for committing, tagging, and pushing the changes

Authors

License

This project is licensed under CC BY-NC 4.0 Deed | Attribution-NonCommercial 4.0 International Creative Commons

Acknowledgments

  • ChatGPT

About

A Chrome extension that adds features for power users of Shortcut

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •