All Projects → jagenjo → litefilesystem.js

jagenjo / litefilesystem.js

Licence: MIT license
Library with client (js) and serverside (php) to have a filesystem with previews, quotas, metadata, and multiple users with privileges.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to litefilesystem.js

Enchilada
Enchilada is a filesystem abstraction layer written in C#
Stars: ✭ 29 (-77.86%)
Mutual labels:  filesystem
rorshach
A watchman for your directories. Rorshach allows you to listen to file system changes and run commands when these events occur.
Stars: ✭ 26 (-80.15%)
Mutual labels:  filesystem
PHP-File-Cache
Light, simple and standalone PHP in-file caching class
Stars: ✭ 34 (-74.05%)
Mutual labels:  filesystem
fs-fuse
Export any Node.js `fs`-like object as a FUSE filesystem
Stars: ✭ 32 (-75.57%)
Mutual labels:  filesystem
s3-concat
Concatenate Amazon S3 files remotely using flexible patterns
Stars: ✭ 32 (-75.57%)
Mutual labels:  filesystem
ddlfs
Filesystem which represents Oracle Database objects as their DDL stored in .sql files
Stars: ✭ 31 (-76.34%)
Mutual labels:  filesystem
cubefs
CubeFS is a cloud native distributed storage platform.
Stars: ✭ 3,062 (+2237.4%)
Mutual labels:  filesystem
rxnode
Rxnode - a small and fast wrapper around the nodejs API using RxJS.
Stars: ✭ 24 (-81.68%)
Mutual labels:  filesystem
Meteor-logger-file
🔖 Meteor Logging: Store application log messages into file (FS)
Stars: ✭ 24 (-81.68%)
Mutual labels:  filesystem
rust-vfs
A virtual filesystem for Rust
Stars: ✭ 150 (+14.5%)
Mutual labels:  filesystem
Aqeous
(Inactive, Checkout AvanaOS, Rewrite of this) This is a New Operating System (Kernel right now). Made completely from scratch, We aim to make a complete OS for Learning purpose
Stars: ✭ 23 (-82.44%)
Mutual labels:  filesystem
Dazinator.Extensions.FileProviders
No description or website provided.
Stars: ✭ 34 (-74.05%)
Mutual labels:  filesystem
react-file-manager
A file manager built in ReactJs
Stars: ✭ 40 (-69.47%)
Mutual labels:  filesystem
juicefs-csi-driver
JuiceFS CSI Driver
Stars: ✭ 117 (-10.69%)
Mutual labels:  filesystem
esp littlefs
LittleFS port for ESP-IDF
Stars: ✭ 143 (+9.16%)
Mutual labels:  filesystem
PHP-FileUpload
Simple and convenient file uploads — secure by default
Stars: ✭ 53 (-59.54%)
Mutual labels:  filesystem
weaver
A distributed object file system inspired by the paper Beaver which was published by Facebook Inc. at 2010.
Stars: ✭ 18 (-86.26%)
Mutual labels:  filesystem
FileSystemTest
FileSystem Api Test For Windows
Stars: ✭ 17 (-87.02%)
Mutual labels:  filesystem
kbdysch
A collection of user-space Linux kernel specific guided fuzzers based on LKL
Stars: ✭ 62 (-52.67%)
Mutual labels:  filesystem
fswatch
File/Directory Watcher for Modern C++
Stars: ✭ 56 (-57.25%)
Mutual labels:  filesystem

litefileserver.js

LiteFileServer.js is front-end and back-end library that allows javascript apps to store resources (images, text-files, binaries) in the server. It comes with its own users and units system that allow every user to partition its own space and share it among other users.

Some of the features:

  • REST HTTP API for storing, listing, moving, updating or deleting files.
  • Basic users (register, login, delete, administration )
  • Independent file tree per user
  • Units, users can have several units to store files and share with other users
  • Files can have thumbnail image and metadata

The server side is coded in PHP and comes with useful scripts for administration.

Installing

Check the install guide to see a step by step process of how to install it in your server.

Usage

Once installed you can include the litefileserver.js script in your project you must first login:

var lfs = LFS.setup("myhost", onReady );
var session = null;

//check to see if the server is available
function onReady()
{
   LFS.login( username, password, onLogin );
}

function onLogin( my_session, err )
{
   if(!my_session)
      throw("error login in:", err);
   session = my_session;
}

Once logged you can fetch for files and folders using the session:

session.getUnitsAndFolders( function(units) {
  //units contain info about every unit and which folders it has
});

session.getFiles( unit_id, folder, function( files ) {
  //info about the files in that folder
});

Check the LFS.Session class for more info about all the actions you can perform (create folders, units, give privileges, upload files, etc).

Also check the demo in the src folder to see an usage of the system.

Feedback

You can write any feedback to [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].