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

scotty-cli

v0.1.1-b

Published

The Scotty CLI is used to manage Git repositories remotely from the command line

Downloads

15

Readme

                     
                     
 _   _  ____/__/_    
/_)_(__(_) (__(__(_/_
                .-/  
               (_/   

Build Status Dependency Status Test Coverage Code Climate

The Scotty CLI is used to manage Git repositories remotely from the command line

FYIs

  • Synology Diskstation: This utility was originaly made to support a workflow that uses the Git Server Add-on for Synology's diskstation. Now there's no reason it shouldn't work for a vanilla remotely hosted Git Server; I'm just sayin'.

Installation

The NPM package requires that you have ssh installed as it depends on it heavily. It also depends on environment variables for your Git Server.

  1. Install the NPM package
$ npm install -g scotty-cli
  1. Add environment variables
  • DS_HOST Host name or IP that your server can be accessed from the client machine
  • DS_HOST_PORT Host port that your server can be access from
  • DS_PRIMARY_USER The user that has read/write access to the git repos directory
  • DS_GIT_REPO_PATH The path to the parent directory of your git repos on the Git Server
  • Example
DS_HOST=10.0.0.1
DS_HOST_SSH_PORT=1022
DS_PRIMARY_USER=git
DS_GIT_REPO_PATH=/volume1/git

Methods

list

list will simply list the repo folders on your server

$ scotty list

add

add will clone your local repo to the server as a bare repo that you can continue to work from

$ scotty add [repo_path] [new_repo_path]

destroy

destroy will delete the remote repo. It takes one argument which is the complete directory name on the server. The best way to get the name on the server is with the scotty list command

$ scotty destroy [repo_path]