GithubHelp home page GithubHelp logo

imp-dance / simple-filedirectory Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 342 KB

A simple solution with minimal setup to get a console on your website with file uploading/downloading

Home Page: http://simple-filedirectory.underbakke.net/?k=YOURURLPASSWORD

License: GNU General Public License v3.0

PHP 25.58% JavaScript 57.72% CSS 16.70%

simple-filedirectory's Introduction

simple-filedirectory

Want to quickly set up a private file server with a nice interface on one of your domains? simple-filedirectory is a simple solution with minimal setup to get an interface on your website for file uploading/downloading - no database setup needed.


ImagePreview1 ImagePreview2 ImagePreview3


features

  • Drag & Drop upload
  • Fast and easy command-style userface, with logical keyboard shortcuts
  • Search by up to two keywords (separate by +)
  • Embeded media files
  • Progress-saving in localstorage (enabled by default)
  • Simple .html document creation & uploading directly through website (as well as console interface)
  • Graphical interface for listing all images, videos or audio-files.
  • Three different themes
  • Custom password & key for login
  • Set infinite variables in localstorage for quick note-saving
  • Eastereggs

limitations

You can currently only upload one file at the time, and there is a known bug with creating updated versions of html-files through reupload.

setup

in steps...

  1. Download all files as a zip or fork this repo.
  2. Upload all the files onto your domain
  3. If you are not uploading the files to a root:
  • Then I'm sorry but there will be a bunch of dead links. You could create a subdomain and upload the files as root there to make it easy on yourself.
  1. In the files folder, create an .htaccess file. You can leave it empty if you want.

  2. In keypass.php, change the key and password to a combination you want.

  3. In index.php, on line 68, add your font-awesome embed-code (http://fontawesome.io/get-started/).

    The 'k' and 'YOURURLPASSWORD' will be used to access your site by adding /?k=YOURURLPASSWORD to your url.

The reason for the htaccess file is because you might want to change permissions in that folder, and list.php is programmed to ignore the first file, which always is .htaccess unless you don't have one, then it ignores one of your files. You could also of course go in and manually edit out the first ignore if you want to do that too.

I'm sorry the setup is so wonky but honestly this was just made for myself, and I thought it was worth a share. If anyone wants to make the setup easier by contributing that would be awesome.

contributions

Any contributions to the repository would be welcome and appreciated. Things that need fixing:

  • More stable drag & drop upload
  • More stable design around the embeds in "list/search" (flexbox?)
  • Add ability to upload several files at once

simple-filedirectory's People

Contributors

imp-dance avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.