npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

golem

v0.1.7

Published

automatically provisioned virtual machines for docker and headless automation

Downloads

20

Readme

Golem

Run apps in automatically provisioned virtual machines or docker containers.

Requirements

Note: golem init will check these requirements for you (and on OSX it will try to install them using brew and brew cask).

Install

npm i -g golem

now you can create a global golem for your user:

golem init --global

or create one for the current folder (./.golem):

golem init

Updates

You can keep golem up-to-date by running:

# download updates, reload and re-provision will happen if necessary
golem update

Usage

Once a golem is ready, you can start running commands on the golem virtual machine

# Summon your Golem! (spin up the vm)
golem summon

golem do pwd
# prints the synced guest folder (created on the VM)

# golem will run the command (after "do" word) in the vm
# first time you run "golem do" on a directory, a synced folder is created to
# mirror cwd on guest vm, then commands are executed in that guest folder
golem do ls
# will list the files in current host folder, shared into the VM

or you can just open an ssh session starting a the synced folder with:

golem do

To recreate your golem from scratch, you can always:

# remove the VM
golem destroy
# re-create (and re-provision)
golem summon

Docker

you can run docker commands with:

golem docker run ubuntu echo "hi, from docker"
# note: "golem docker" is just a shortcut to "golem do sudo docker"

if you like docker-compose a shortcut is provided to:

golem docker-compose

Port Forwarding

In some cases you want to forward ports in the VM to your host machine (eg. from you docker containers)

# expose port 80 in the VM as 8080 in your host machine, 443 as 8443
golem expose 80:8080,443:8443
# list exposed ports
golem expose list
# remove all exposed ports
golem expose clear