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 🙏

© 2026 – Pkg Stats / Ryan Hefner

picotron-remote-terminal

v2.0.0

Published

Run commands remotely inside Picotron

Readme

Picotron Remote Terminal

Remotely control Picotron from the host

Installation

Install the server in Picotron:

# from inside picotron

load -u #prt
save /appdata/system/util/prt.p64

This will install the PRT cartridge, which will listen for commands from prt-server.

(Optional) Install the host script:

# from inside picotron

# use the location of wherever you saved the prt cart
cp /appdata/system/util/prt.p64/exports/appdata/system/util/host.lua /appdata/system/util

This will install the host command, which can be used run commands from the host inside of Picotron.

(Optional) Install as a PUSH module

# from inside picotron

# use the location of wherever you saved the prt cart
cp /appdata/system/util/prt.p64/exports/appdata/system/terminal/prt.lua /appdata/system/terminal

If you are using PUSH, you can integrate PRT directly into the terminal. The push module adds a shell command (prt) that can be used instead of the cart. When using PRT as a PUSH module, command output will be displayed in the terminal window.

Supported commands are start, stop, restart, status.

Usage

Controlling Picotron From Host

To control Picotron from host, open the PRT cart inside of Picotron. You can then issue a command by sending a command to the port 7426 (PICO)

Examples:

  • echo -n "<command>" | nc -N localhost 7426
  • echo -n "<command>" > /dev/tcp/localhost/7426 (bash)
  • nc localhost 7426 (to get an interactive terminal)

You can create a simple script to act as a wrapper:

#!/usr/bin/env bash
echo "$@" > /dev/tcp/localhost/7426

Then, you can send commands using prt <command>

Tips:

  • The load command can be used to load a cartridge.
  • You can load a folder or a cartridge.
  • The run command can be used to run the currently loaded cartridge.
  • You can start a cart with its exact path.
  • You can build or extract a cart with cp.
  • You can change directories with cd, though it may be better to use absolute paths.

Controlling the Host From Picotron

To control the host from Picotron, start prt-server on the host.

Install prt-server from npm:

npm install -g picotron-remote-terminal

Or build from source:

git clone https://github.com/Rayquaza01/picotron-remote-terminal/
cd picotron-remote-terminal
npm install
npm run build
npm install -g .

You can then issue commands by running host <COMMAND> from Picotron.

Tips:

  • Only non-interactive commands work.
  • Only characters that can be displayed in Picotron work (so emojis, nerd fonts, ANSI codes, etc. won't display correctly).
  • The commands are run with the same PWD as the Picotron terminal where you ran them.
  • Relative paths work for accessing the Picotron drive, but absolute paths are used according to the host system.
  • You can't run commands when inside of a virtual path (such as /ram, /system, or inside of a .p64).
  • You can use pipelines.