Skip to content

Simple static file server with cli and webinterface. This is just a mirror repo

License

Notifications You must be signed in to change notification settings

cloudron-io/surfer

Repository files navigation

Surfer

Surfer is a Simple static file server. It comes with a commandline tool to upload files from your local folders and a webinterface to manage files directly on the server.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id io.cloudron.surfer

Building

Cloudron

The app package can be built using the Cloudron command line tooling.

git clone https://git.cloudron.io/cloudron/surfer.git
cd surfer
cloudron build
cloudron install

File management

The admin interface is available under the /_admin location or you can upload files using the commandline tool.

First, install the surfer cli tool using npm.

npm -g install cloudron-surfer

Configure cli using your app domain and an API token created via the surfer admin user interface:

surfer config --server <url> --token <apiAccessToken>

Put some files:

surfer put [file]

Development

git clone https://git.cloudron.io/cloudron/surfer.git
cd surfer
npm install

During UI development, the assets have to be built after changes. This can be done with

npm run build

While having the ./server.js instance running.