Ever wanted to try out a new Polypad script without spending time writing it? If your answer is Yes then you are going to enjoy this post. We will explore the basics of Scriptist and find out how easy it is to use along with the benefits of using Scriptist, as well as give you some tips on how to get started!
Why Scriptist?
During the initial development of Polypad, I often had to write scripts multiple times depending on my workstation. I wanted to have the ability to download scripts for Polypad with ease. The thought of using version control was great, but that would mean I would have to merge all scripts into a single repository and clone it each time to my workstation. That was not a feasible solution not to mention doing so would mean others would have to create pull requests to add scripts of their own.
What is a Package Manager?
A package manager is a tool that helps you manage software packages. In the JavaScript world, there are two popular package managers: npm and yarn.
Scriptist is a package manager for Polypad, allowing users to easily add, remove, and update scripts for the textpad. It is incredibly easy to use. With just a few commands, you can install and manage dozens of packages.
How do I install Packages on my computer?
There are two ways to install packages on your computer: using a the old copy-and-paste method or via the command line. If you have a the Scriptist cli installed, you can use it to download and install packages from scriptist.org.
If you do not have a package manager, you can install the packages you need manually by downloading the git repository. To do this, you’ll need to download the packages from the github or the scriptist website and extract them to your scripts directory.