{"id":23537518,"url":"https://github.com/py-package/masonite-filemanager","last_synced_at":"2026-02-26T04:04:42.418Z","repository":{"id":43700021,"uuid":"462343208","full_name":"py-package/masonite-filemanager","owner":"py-package","description":"A simple yet powerful file management solution for your masonite application.","archived":false,"fork":false,"pushed_at":"2022-10-25T05:26:04.000Z","size":205,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T14:14:35.983Z","etag":null,"topics":["filemanager","filemanager-masonite","masonite-framework","package","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/py-package.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-22T14:50:06.000Z","updated_at":"2024-05-23T06:34:56.000Z","dependencies_parsed_at":"2022-09-26T17:20:16.880Z","dependency_job_id":null,"html_url":"https://github.com/py-package/masonite-filemanager","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-package%2Fmasonite-filemanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-package%2Fmasonite-filemanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-package%2Fmasonite-filemanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-package%2Fmasonite-filemanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py-package","download_url":"https://codeload.github.com/py-package/masonite-filemanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447979,"owners_count":21432165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filemanager","filemanager-masonite","masonite-framework","package","python"],"created_at":"2024-12-26T03:16:13.323Z","updated_at":"2026-02-26T04:04:42.384Z","avatar_url":"https://github.com/py-package.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# filemanager\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://banners.beyondco.de/Masonite%20Filemanager.png?theme=light\u0026packageManager=pip+install\u0026packageName=masonite-filemanager\u0026pattern=charlieBrown\u0026style=style_2\u0026description=File+management+solution+for+Masonite\u0026md=1\u0026showWatermark=1\u0026fontSize=100px\u0026images=adjustments\u0026widths=50\u0026heights=50\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \n  \u003cimg alt=\"GitHub Workflow Status\" src=\"https://github.com/py-package/masonite-filemanager/actions/workflows/test.yml/badge.svg\"\u003e\n  \u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/masonite-filemanager\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3.7+-blue.svg\" alt=\"Python Version\"\u003e\n  \u003cimg alt=\"GitHub release (latest by date including pre-releases)\" src=\"https://img.shields.io/github/v/release/py-package/masonite-filemanager\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/py-package/masonite-filemanager\"\u003e\n  \u003ca href=\"https://github.com/py-package/masonite-filemanager/stargazers\"\u003e\u003cimg alt=\"star\" src=\"https://img.shields.io/github/stars/py-package/masonite-filemanager\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/psf/black\"\u003e\u003cimg alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\nA simple yet powerful file management solution for your masonite application.\n\n## Features\n\n- [x] Manager Server Files (Currently only supports local files)\n- [x] Upload Files\n- [x] Preview Files\n- [x] Rename Files/Folders\n- [x] Delete Files/Folders\n- [x] Download Files\n- [x] Move Files\n- [x] Search Files\n- [x] Protect Routes\n- [ ] Image Editing\n- [ ] Third Party Driver Support (S3, DigitalOcean Space, etc)\n- [x] File Picker (Form)\n\n## Installation\n\n```bash\npip install masonite-filemanager\n```\n\n## Configuration\n\nAdd FileManagerProvider to your project in `config/providers.py`:\n\n```python\n# config/providers.py\n# ...\nfrom filemanager.providers import FileManagerProvider\n\n# ...\nPROVIDERS = [\n    # ...\n    # Third Party Providers\n    FileManagerProvider,\n    # ...\n]\n```\n\nThen you can publish the package resources (if needed) by doing:\n\n```bash\npython craft package:publish filemanager\n```\n\nFinally add following to `STATICFILES` section in `config/filesystem.py`:\n\n```python\n# config/filesystem.py\n\nSTATICFILES = {\n    # ...\n    # FileManager resources\n    'resources/vendor/filemanager': 'filemanager-assets/',\n    \"storage/framework/filesystem/filemanager\": \"filemanager-uploads/\",\n}\n```\n\n## Usage\n\nOnce finishing configurations, you can access the file manager by using the following route:\n\n`http://localhost:8000/filemanager`\n\nIf you want to use file picker then all you have to do is include then follow the following guidelines:\n\n1. Add style in the header of your base template:\n   ```html\n   \u003clink href=\"/filemanager-assets/picker.css\" rel=\"stylesheet\" /\u003e\n   ```\n2. Add script before the `\u003c/body\u003e` tag of your base template:\n   ```html\n   \u003cscript src=\"/filemanager-assets/picker.js\"\u003e\u003c/script\u003e\n   ```\n3. Finally, in your form you can use selector in your form in the following way:\n   ```html\n   \u003cdiv class=\"file-picker\"\u003e\n     \u003cinput type=\"hidden\" name=\"j-sukai\" /\u003e\n   \u003c/div\u003e\n   ```\n   or, if you want file-preview:\n   ```html\n   \u003cdiv class=\"file-picker has-preview\"\u003e\n     \u003cinput type=\"hidden\" name=\"j-sukai\" /\u003e\n   \u003c/div\u003e\n   ```\n\nThe design of the file-picker is very basic so you might want to customize with your own design by modifying the stylesheet which resides in `storage/vendor/filemanager` directory.\n\n## License\n\nmasonite-filemanager is open-sourced software licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-package%2Fmasonite-filemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy-package%2Fmasonite-filemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-package%2Fmasonite-filemanager/lists"}