Skip to content

Latest commit

 

History

History

browser

Zbox Browser Tutorials

These tutorials have examples to show how to use Zbox in browser.

To use these tutorials, follow these steps:

  1. Create a test repo on zbox.io and copy its URI

  2. In the index.html file, replace [your_repo_uri] with your repo's URI

  3. Install dependencies and start a local web server

    npm install
    node app.js
  4. Open a browser visit http://localhost:3333 and watch console log output.

Tutorial List

  1. Hello World

    How to write and read a simple Hello, World! file using Zbox.

  2. Directory operations

    Basic directory operations, such as create, list, remove and etc.

  3. File operations

    Basic file operations, such as create, read/write, remove and etc.

  4. File system operations

    Basic file system operations, such as metadata, copy, rename and etc.