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

p2p-deploy

v1.0.6

Published

p2p deploy is a service that hosted on remote machine helps you to run remote commands (CI/CD) from your local computer.

Downloads

4

Readme

d8888b. .d888b. d8888b.        d8888b. d88888b d8888b. db       .d88b.  db    db
88  `8D VP  `8D 88  `8D        88  `8D 88'     88  `8D 88      .8P  Y8. `8b  d8'
88oodD'    odD' 88oodD'        88   88 88ooooo 88oodD' 88      88    88  `8bd8'
88~~~    .88'   88~~~   C8888D 88   88 88~~~~~ 88~~~   88      88    88    88
88      j88.    88             88  .8D 88.     88      88booo. `8b  d8'    88
88      888888D 88             Y8888D' Y88888P 88      Y88888P  `Y88P'     YP

Node service running on the remote machine helps you to run ci/cd command from your local machine.

(Beta phase, Tested working)

Install (recomanded)

npm i -g p2p-deploy

dependency

  1. pm2: For continuous running the service, you can use nohup or create a service file too.

How to Use

Step 1: Install the application on the remote machine

Step 2: Generate an access key. Run 'sudo p2p-deploy keygen' , note the key, its required in step 5

Step 3: Run 'p2p-deploy start' it will start the service on port 7861, you need to open that port

Step 3.1: (Optional) run 'curl http://severip:port' that will give a connection error if something went wrong else will say 'Hello from p2p deploy service!'

Step 4: Install it in your local machine, recommended installing as global dependency

Step 5: Run 'p2p-deploy setup' on local machine (on the repro path) that will ask you an access key and generate 'p2pd.config.js' file. Modify its content as you need.(like change server IP, and port, commands, base directory)

Step 6: Run 'p2p-deploy deploy' to deploy the updates.

Step 7: Run 'p2p-deploy help' to know more commands.

Prerequisite

  1. Clone the repro in the base path file on the server first time
  2. Keep logged in in git (so that it didn't ask for a password when running git pull)
  3. Install pm2 on your system

Note

Don't make your access key public as that is used to generate secure encrypted message that is decoded by server to run Add the '*.key' file in your gitignore