Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glauberf/t-file
testes
https://github.com/glauberf/t-file
Last synced: 8 days ago
JSON representation
testes
- Host: GitHub
- URL: https://github.com/glauberf/t-file
- Owner: GlauberF
- License: mit
- Created: 2017-10-05T19:39:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-28T15:31:02.000Z (about 6 years ago)
- Last Synced: 2024-04-09T13:48:35.173Z (7 months ago)
- Language: CSS
- Size: 6.62 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gf-file
### Features
- Multilanguage (English, Chinese, Spanish, Russian, Portuguese, French, German, Italian, Slovak, Hebrew, Persian, Polish, Ukrainian, Turkish, etc...)
- Multiple templates (List / Icons)
- Multiple file upload
- Multiple file support
- Pick files callback for third parties apps
- Search files
- Directory tree navigation
- Copy, Move, Rename (Interactive UX)
- Delete, Edit, Preview, Download
- File permissions (Unix chmod style)
- Mobile support### TODO
- Drag and drop
- Dropbox and Google Drive compatibility
- Extend backend bridges (PHP, Java, Python, Node, .Net)
- Migrate jQuery to native or angular.element### Backend API
[docs](API.md)---------
### Use in your existing project
**1) Install and use**
```bower install --save https://github.com/GlauberF/t-file.git```
```bower install --save glauber-filemanager```---------
### Extending the configuration file
```htmlangular.module('FileManagerApp').config(['fileManagerConfigProvider', function (config) {
var defaults = config.$get();
config.set({
appName: 'angular-filemanager',
pickCallback: function(item) {
var msg = 'Picked %s "%s" for external use'
.replace('%s', item.type)
.replace('%s', item.fullPath());
window.alert(msg);
},allowedActions: angular.extend(defaults.allowedActions, {
pickFiles: true,
pickFolders: false,
}),
});
}]);```
You can do many things by extending the configuration. Like hide the sidebar or the search button. See [the list of default configurations](/src/js/providers/config.js).
---------
### Author
Glauber Funez