Get Started
Last updated
Last updated
Jet is a template repository that you can use to create your own repository under your, or your organization's GitHub account.
You have a GitHub account and are logged in.
You have bought access to Jet. If not, buy now.
You have been granted access to Jet and can access https://github.com/karmasakshi/jet. If not, DM the author on X or send an email instead.
Step 1: Open https://github.com/karmasakshi/jet.
Step 2: Click Use this template, then click Create a new repository.
Step 3: Choose the Owner, Repository name and Description (optional). Select Private since Jet's license prohibits sharing it publicly.
Step 4: Click Create repository. You will now have a repository with Jet as the initial commit.
Optional: Since a token isn't set, Release Please Action will run and fail (it runs on pushes to the main
branch). This is normal and expected.
You can create a token and add it to your repository's Actions secrets. Name it RELEASE_PLEASE_TOKEN
as mentioned in the workflow file (.github/workflows/release-please.yml
). Click Add secret.
Alternatively, if you choose to not use this feature, you can ignore creating the token and the Actions secret, and remove the workflow file altogether.
Step 5: Clone the repository and do the following:
Delete .github/FUNDING.yml
to remove Jet's sponsorship links.
Delete CHANGELOG.md
. A new one will be created automatically when Release Please Action runs next.
Create a .env
file for local environment variables. It has already been added to .gitignore
and won't be committed.
Reset version
in package.json
to "0.0.0"
.
Run npm i
to install dependencies and enable Husky. It will also update the version
property in package-lock.json
to "0.0.0"
.
Run npm run commit
to commit these changes.
Start building!
Update the title, keywords and description tags in /src/index.html
.
Update this._prefix
in Storage Service to a unique string, so keys of other apps made with Jet do not conflict on localhost
.
Update scope-enum
in .commitlintrc.json
with major features of your app so changes of a feature are grouped together in CHANGELOG.md
.
Replace Jet icons and logo with your own in /public/
. https://realfavicongenerator.net is a great tool to generate icons from a single icon file.
Compress images if any. https://squoosh.app is a great tool to convert images to modern formats.
Integrate with an analytics service. Update the Content Security Policy rules in /src/index.html
accordingly.