Giter Site home page Giter Site logo

efueger / clouder-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rohithpr/clouder-lite

0.0 1.0 0.0 386 KB

A simple Python-Flask application to turn your machine into a cloud storage system over Wi-Fi

Python 51.79% CSS 5.30% JavaScript 33.53% HTML 9.38%

clouder-lite's Introduction

clouder-lite

Code Climate

A simple Python3-Flask application to turn a computer into a cloud storage system.

Transfer files at speeds greater than that offered by Bluetooth or even USB.

Contents

Support

Works on all devices. It's a website, not an app! Let us know if there is an issue.

Note: Some phone browsers (such as UC browser on Windows Phone) do not support selecting multiple files for upload at once; use browsers that do support it!

Setup

Getting started

  • Create a virtual environment (Py3) and install all the dependencies mentioned in requirements.txt
  • Activate the venv and run python3 server.py
  • You can now access the said server from a phone by knowing the machine's inet address
  • ifconfig or ipconfig will help you find the inet address

Advanced

  • Set up port forwarding and make neccessary changes to your firewall settings
  • If you have a static IP address you can simply bookmark the address to reach the server
  • Consider signing up to a Dynamic DNS such as Duck DNS in case you don't have a static IP address
  • Now you can access all your content from anywhere

API

/nav/[path:initial_path]

Renders {{theme_name}}/index.html template.
Optional: initial_path the file/directory that must be open on start up. Root of the content directory by default.

/api/upload_files

POST data:
files - list of files named.
path - path of the directory where the uploaded files should be saved.
Returns JSON with error as 0 if successful.

/api/add_directory

POST data:
name - name of the directory being created.
parent - path to the directory under which the new directory must be created.
Returns JSON with error as 0 if successful.

/api/get_tree/[path:path]

Returns JSON with information about the contents of the tree.
Optional: path the directory whose contents are required. Root of the content directory is the default.

/api/download_file/path:filename

Download the file specified by filename.

/api/download_directory/path:dirname

Download the directory specified by dirname as a zipfile.

clouder-lite's People

Contributors

rohithpr avatar rprashanth avatar leftees avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.