cloudron-io / surfer

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

Home Page:https://git.cloudron.io/cloudron/surfer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://git.cloudron.io/cloudron/surfer

License:MIT License


Languages

Language:JavaScript 52.3%Language:Vue 41.9%Language:HTML 3.8%Language:CSS 1.3%Language:Shell 0.3%Language:Dockerfile 0.2%Language:EJS 0.1%