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

shopify-ftp

v0.1.11

Published

FTP Proxy for Shopify

Downloads

7

Readme

Shopify FTP Proxy

This runs a local FTP server (on localhost) that will communicate with Shopify over HTTP API and allows you to upload/download/edit your theme files and assets using your favorite FTP client.

Note: this tool is built with Node.js and is installed via npm so make sure to have Node installed. I have tested this on Mac and Windows. Please submit an issue if you come across any bugs.

Installation:

npm install -g shopify-ftp

Note: You may need to run as root/super-user on Mac/Linux using sudo npm install -g shopify-ftp or, alternatively, install without -g and then specify the full path to shopify.js in place of shopify each time you launch the program. The full path might look something like /Users/You/node_modules/shopify-ftp/shopify.js depending on where npm puts your module.

Usage:

shopify ftp

By default, it will listen on 127.0.0.1 at port 2121. The port and host can, optionally, be specified as follows:

shopify ftp --port 2121 --host 127.0.0.1

Beginner note: The above commands should be entered at the command line (Terminal.app on Mac or Command Prompt on Windows)

Get Shopify API Key(s)

You will need a Shopify API key-pair.

Connecting over FTP

Open your favorite FTP client, for instance FileZilla and create a new connection with the following details:

  • Host: 127.0.0.1
  • Port: 2121
  • Username: {api-key}@{store-name}
  • Password: {api-password}

Then save/connect and you should be able to browse your assets and templates including upload, delete, rename, download and move. When you first connect, you should see a list of folders which corresponds to your different themes. Choose your theme and go into that directory. There you will see a few directories (assets, config, layout, snippets, templates). You can add/rename/delete files from these directories, but you will not be able to create/delete sub-directories due to limitations in place by Shopify. You must use the folder structure that exists.

Note: Your username contains both your API key and your store name (separated by @).

I'd like to get this working with ExpanDrive to mount as a local directory on OS X. However, currently this isn't possible because Shopify API doesn't support upload/download ranges (partial files).

Follow me on Twitter for updates!

Have fun.