Coder Social home page Coder Social logo

immanewel / kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnlindquist/kit

0.0 0.0 0.0 6.07 MB

Script Kit. Automate Anything.

Home Page: https://scriptkit.com

License: MIT License

Shell 1.64% JavaScript 6.80% TypeScript 91.39% Batchfile 0.16%

kit's Introduction

Script Kit App

https://scriptkit.com/

Join the Discussion

https://github.com/johnlindquist/kit/discussions

Script Kit Dev Setup

Note: This ain't pretty ๐Ÿ˜…

Requirements: yarn 1

Why both npm and yarn?

The App was created with https://github.com/electron-react-boilerplate/electron-react-boilerplate a long time ago. They require yarn and webpack.

I have been unable to prioritize the time to switch over to another build system or keeping up with the boilerplate, especially with so many moving pieces.

Thus, we use yarn to build the App and npm to build the SDK ๐Ÿคฆโ€โ™‚๏ธ

Using node 18.17.1 from ~/.knode

Installing Kit.app already installed node 18.17.1 to ~/.knode. You'll want to use this node version for all build/run steps:

PATH=~/.knode/bin:$PATH

This will use 18.17.1's node/npm when working with Kit. (Alternatively, you can use nvm/n/whatever, but I don't)

  • Use volta to manage node versions.
    1. Install volta
    2. Volta will automatically switch node version to 18.17.1 when working with kit.

Clone Kit SDK

Clone: git clone https://github.com/johnlindquist/kit.git

Install: npm install

Clone Kit App

Clone: git clone https://github.com/johnlindquist/kitapp.git

Install: yarn

(Skip if you already have a kenv from production) Clone the base kenv

Clone: git clone https://github.com/johnlindquist/kenv.git ~/.kenv

Building Kit SDK

npm run build-kit

The build command builds the SDK to ~/.kit

yarn link (First run only)

  1. cd to ~/.kit
  2. yarn link
  3. cd to ~/wherever you cloned kitapp
  4. yarn link @johnlindquist/kit

This will force the App to use the SDK so you can work on both simultaneously

Building the App

yarn webpack-dev
yarn install-electron-deps
yarn start

Assuming everything went well, the app should start up.

kit's People

Contributors

ambushfall avatar apurvasaraiya avatar bjesuiter avatar dadamssg avatar doctone avatar dodgez avatar joelhooks avatar johnlindquist avatar jsjoeio avatar jwyce avatar maxijonson avatar minatohikari avatar mstine avatar nadeemkhedr avatar nairanvac avatar paustint avatar pringshia avatar techvlad avatar vojtaholik avatar wuwe1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.