Is Pixlet only available on MacOS and Linux?

Still working to keep this guide updates so please let me know if you have suggestions for improving accuracy and understanding. Please see the top of the thread for organized links on how to proceed after installing everything.

  1. Download wsl using the install instructions found here 9

(I then went ahead and also installed the Ubuntu app from the windows store as well, not sure if this is need but I did it. Make sure to properly set up a user account and also map Ubuntu to a drive so you can easily find it later\\wsl$\<distro-name> )

  1. Install VSCode

  2. Navigate to the Tidbyt Github page and copy the link to the pixlet binary file

At the time of posting the most recent version is: pixlet_0.8.5_linux_amd64.tar.gz

  1. Open the Ubuntu terminal run the command sudo curl -O -L (copied Github link address)

  2. After that is finished run the command sudo tar -xf pixlet_0.8.5_linux_amd64.tar.gz

  3. Now in windows navigate to wsl/home/(username) and you’ll now see a file call “Pixlet”

  4. Copy and paste that pixlet file into the location \\wsl$\Ubuntu\usr\bin ).

  5. Run the command sudo chmod +x /usr/bin/pixlet

  6. From here go to github and copy and paste the raw example .star files into your home folder (same folder as step #6)

  7. Now you should be able to run the hello world render and serve test and everything should work!

At the time of posting there is an issues with 0.8.5 being unable to find library libwebpdemux.so.2. To fix this you will need to run and additional step sudo apt-get install -y libwebp-dev

  1. In VS Code download the python and remote developer extension, and also one called Bazel.
    image
    image
    image

Bazel will allow you to open and save .star files. So after everything is installed just open a new tab in VScode and save as a .star!

Alternativly you can launch VS code using Linux with the steps @jeremy outlines as well!

@Scottorama also has steps lined out to run everything in a Virtual Machine as well if thats more your style.

HAPPY HACKING!!

EDIT: After using WSL for a few weeks ive found windows like to mess with permissions and make certain folder off limits when im the only admin account on the PC. Here is a fantastic thread on how to elevate your permissions on any folder you may need and get around this annyoing error.

2 Likes