Code Monkey home page Code Monkey logo

webfilebrowser's Introduction

webfilebrowser

  • Allows browsing of files, folders through simple Web interface, works on Flask.

  • Double click to view files, or see contents of a directory.

  • For multiselect copy, move or delete, first check items from the left handside, and click on radio buttons of copy, or move. This puts you into target selection mode, browse to the directory you want to go to, and click 'done'. In case of delete, simply click done.

  • App allows viewing of text files, png, jpg image files, pdf, and mp4 video.

Architecture and Usage

The app is quite small, 300 LOC in all. Most of the work is done on the client side via Javascript, only file manipulation tasks are done on the server. Communication between client and server is via Ajax.

To use locally, for testing, simply

python app.py

This starts a server accessible on 127.0.0.1 aka localhost.

To expose the server to others in the network, change the app.py file to say, e.g. for 192.168.1.1,

app.run(host="192.168.1.1",port=8080)

Now running app.py will start a server accessible on port 8080 via the IP adress shown.

TODO

  • Dot files are filtered out, toggling that permission to view can be useful. Priority: low.

  • Multiselect and zip, then download feature. Priority: medium.

  • "Favorites" folders to quickly jump between directories, the fav list can be read from a config file by flask, or stored on localStorage, specific to each user. Priority: low.

  • Support for peacemeal reading of video, currently video viewing does not allow to skipping to any location, that feature would require using the range request feature of web transfers. Priority: low.

  • HTML view of local files does not show img references to local images in the same directory because those refs also need their /get_file calls. Priority: low.

webfilebrowser's People

Contributors

burakbayramli 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.