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

generator-gunbot-dr87

v0.1.13

Published

Setup and manage GUNBOT 3.3 on Linux

Downloads

4

Readme

generator-gunbot NPM version Build Status Dependency Status Coverage percentage

Setup and manage GUNBOT 3.3 on Linux.

If you want to setup a brand new Debian or Ubuntu VPS to run GUNBOT, just log into your new VPS as root and run this install script:

cd
curl -qsL https://raw.githubusercontent.com/BeerK0in/generator-gunbot/master/install.sh | bash -- && exec bash

After the setup run:

gcd
ginit

That script will

  • update the system (apt upgrade),
  • install node 7.x,
  • install required tools (yo, pm2, unzip),
  • install the GUNBOT 3.3,
  • creates some handy aliases,
  • install this generator-gunbot

If you want to create a VPS at DigitalOcean, you can use this affiliate link: get $10 credit at DigitalOcean

Aliases

The installer also sets up some aliases to do more with less. :)

  • gcd: Go to the folder GUNBOT is installed
  • gadd: Use the generator to add a new pair (*)
  • gl: Get a list of all running GUNBOTs
  • glog [botname or number]: Shows the log of the selected bot (use gl to get name)
  • gstop [botname or number]: Stops a running bot (use gl to get name)
  • gstart [botname or number]: Starts a stopped bot (use gl to get name)

(*)For now gadd will use the same settings as defined in the first run of the generator. A next version will allow you to set specific strategies for new trade pairs.

Updates

To update follow these steps:

  1. Login to your server.
  2. Run this update script
cd
curl -qsL https://raw.githubusercontent.com/BeerK0in/generator-gunbot/master/update.sh | bash --
  1. Run ginit again to start all bots with delay
gcd
ginit
  1. Press ENTER for every question (it will use your last settings)
  2. [optional] Press ENTER on the conflict of ALLPAIRS (*)
  3. Wait till all bots are started.
  4. [optional] If you have changed some configs manually, please copy them from the backup folder back into the gunbot folder:
cp /opt/gunbot-backup-<NUMBER>/poloniex-BTC_XXX-config.js /opt/gunbot/

(*) The conflict could happen if you hav an older version of the generator, because the default settings have changed a bit. In that case it is very likely you see this question. Just press ENTER:

conflict ALLPAIRS-params.js
? Overwrite ALLPAIRS-params.js? (Ynaxdh)

If you just want to use the generator on any OS with installed GUNBOT 3.3 Core Edition, read on.

Installation

First, install Yeoman, pm2 and generator-gunbot using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g pm2
npm install -g generator-gunbot

Usage

To init GUNBOT:

cd /path/to/gunbot
yo gunbot init

To add a new currency to GUNBOT:

yo gunbot add

Limits

This initial version of the generator-gunbot has some limitations:

  • Only GUNBOT 3.3 support
  • Only Poloniex support
  • Only BTC to XXX support

License

MIT © BeerK0in