{"id":20779296,"url":"https://github.com/bolt/bolt-extension-file-browser","last_synced_at":"2025-06-25T00:33:51.730Z","repository":{"id":146895451,"uuid":"62387491","full_name":"bolt/bolt-extension-file-browser","owner":"bolt","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-15T08:10:15.000Z","size":439,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T08:38:04.582Z","etag":null,"topics":["bolt-extension"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-01T11:10:49.000Z","updated_at":"2017-05-02T06:44:27.000Z","dependencies_parsed_at":"2024-03-09T23:15:07.542Z","dependency_job_id":null,"html_url":"https://github.com/bolt/bolt-extension-file-browser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-file-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-file-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-file-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fbolt-extension-file-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolt","download_url":"https://codeload.github.com/bolt/bolt-extension-file-browser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243119650,"owners_count":20239342,"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":["bolt-extension"],"created_at":"2024-11-17T13:27:08.122Z","updated_at":"2025-03-11T22:19:11.430Z","avatar_url":"https://github.com/bolt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"File \u0026 Directory Browser\n========================\n\nThis is a simple extension that will mount and manage pre-configured routes that\nserve file system directories.\n\n**NOTE:** \nThis is extension was designed to s manage serving files that are not currently\nlocated in the site's web root.\n\n**NOTE:** \nThe web server user must be able to read the source directory.\n\nConfiguration\n-------------\n\nEdit the `routes:` key in `app/config/extensions/file-browser.bolt.yml` and add\nnamed entries that define:\n  * `mount`  — The base mount URL\n  * `source` — The full file system path to the directory to serve\n\n```yaml\nroutes:\n    manuals:\n        mount: manuals\n        source: /public/manuals\n    pictures:\n        mount: downloads/pictures\n        source: /data/export/media/pictures\n    videos:\n        mount: downloads/videos\n        source: /data/export/media/videos\n```\n\n### Web Server\n\nYou may need to adjust web server rules to allow/disallow certain file types.\n\nSome *examples* below. \n\n#### Nginx\n\n```\n    location ~* /downloads/.*\\.(?:doc|gif|ico|jpe?g|jpeg|jpg|mp4|ogg|ogv|png|ppt|svg|svgz|wav|xls)$ {\n        expires             max;\n        add_header          Pragma public;\n        add_header          Cache-Control \"public, mustrevalidate, proxy-revalidate\";\n        try_files           $uri $uri/ /index.php?$query_string;\n    }\n```\n\n#### Apache\n\n`\u003cPR welcome\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fbolt-extension-file-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolt%2Fbolt-extension-file-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fbolt-extension-file-browser/lists"}