Skip to content

ivlsky/chromeos-filesystem-sftp

 
 

Repository files navigation

Code Climate

SFTP File System

SFTP File System provides you an ability to access to a SFTP server directly from the Files app.

For Developers

Please visit Code Structure document, if you want to know the detail of this software.

How to build

Before building this, you have to install nacl-sdk and libssh2 from naclports.

Installing node.js

Download and install node.js.

Downloads - nodejs.org

You need to confirm that the npm command has been included into your $PATH environment variable.

Installing NaCl SDK

Download NaCl SDK from: Download the Native Client SDK

You should get the archive file named nack_sdk.zip. Extract it to any directory, and add the path to your $PATH environment variable as like the following:

export $PATH=/YOUR/NACLSDK/PATH:$PATH

Then, install the stable bundle by the following:

$ cd $NACL_SDK_ROOT
$ ./naclsdk update

Installing depot_tools

You need to install depot_tools to set up the naclports.

$ cd DIRECTORY_YOU_WANT_TO_INSTALL_DEPOT_TOOLS
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

Add the cloned path to your $PATH environment variable.

export $PATH=/YOUR/DEPOT_TOOLS/PATH:$PATH

Installing naclports

Install naclports with the glient command included in the depot_tools.

$ cd DIRECTORY_YOU_WANT_TO_INSTALL_NACLPORTS
$ mkdir naclports
$ cd naclports
$ gclient config --name=src  https://chromium.googlesource.com/external/naclports.git@pepper_43
$ gclient sync

Making and installing libssh2

Make libssh2 C library in the naclports.

$ cd NACLPORTS_DIRECTORY
$ ./make_all.sh libssh2

Getting this project

Clone this project to your local environment.

$ git clone https://github.com/yoichiro/chromeos-filesystem-sftp.git
$ cd chromeos-filesystem-sftp
$ npm install

Building this project

It's simple!

$ grunt

If you want to build NaCl module only, then:

$ grunt make

Dependent libraries

License

All files are licensed under the BSD license. See the LICENSE file for details. All original source code is Copyright 2015-2016 Yoichiro Tanaka.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 48.3%
  • C++ 45.5%
  • HTML 4.5%
  • Makefile 1.1%
  • CSS 0.6%