{"id":1118,"url":"https://github.com/marmelroy/FileBrowser","last_synced_at":"2025-07-30T20:32:36.543Z","repository":{"id":4072334,"uuid":"51248829","full_name":"marmelroy/FileBrowser","owner":"marmelroy","description":"Finder-style iOS file browser written in Swift","archived":false,"fork":false,"pushed_at":"2021-11-25T12:48:26.000Z","size":2875,"stargazers_count":1521,"open_issues_count":31,"forks_count":219,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-10-29T17:56:17.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/marmelroy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-07T13:40:57.000Z","updated_at":"2024-10-28T09:16:14.000Z","dependencies_parsed_at":"2022-08-08T16:15:10.954Z","dependency_job_id":null,"html_url":"https://github.com/marmelroy/FileBrowser","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelroy%2FFileBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelroy%2FFileBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelroy%2FFileBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelroy%2FFileBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marmelroy","download_url":"https://codeload.github.com/marmelroy/FileBrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187539,"owners_count":17882322,"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":[],"created_at":"2024-01-05T20:15:39.298Z","updated_at":"2024-12-04T20:31:01.881Z","avatar_url":"https://github.com/marmelroy.png","language":"Swift","readme":"![FileBrowser - iOS Finder-style file browser in Swift](https://cloud.githubusercontent.com/assets/889949/13035402/75e4eb00-d34f-11e5-8b92-c921ecca9300.png)\n\n[![Build Status](https://travis-ci.org/marmelroy/FileBrowser.svg?branch=master)](https://travis-ci.org/marmelroy/FileBrowser) [![Version](http://img.shields.io/cocoapods/v/FileBrowser.svg)](http://cocoapods.org/?q=FileBrowser)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n# FileBrowser\niOS Finder-style file browser in Swift 4.0 with search, file previews and 3D touch. Simple and quick to use.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"http://i.giphy.com/3o6gaY6yLQkhjiok5W.gif\" width=\"242\" height=\"425\"/\u003e\u003c/p\u003e\n\n## Features\n\n\n:sparkles:                |  Features\n--------------------------|----------------------------\n:iphone: | Browse and select files and folders with a familiar UI on iOS.\n:mag: | Pull down to search.\n:eyeglasses: | Preview most file types. Including plist and json.\n:pencil: | Edit/delete files.\n:point_up_2: | 3D touch support for faster previews with Peek \u0026 Pop.\n:white_flower: | Fully customizable.\n\n## Usage\n\nImport FileBrowser at the top of the Swift file.\n\n```swift\nimport FileBrowser\n```\n\nTo show the file browser, all you need to do is:\n```swift\nlet fileBrowser = FileBrowser()\npresent(fileBrowser, animated: true, completion: nil)\n```\n\nBy default, the file browser will open in your app's documents directory. When users select a file, a preview will be displayed - offering an action sheet of options based on the file type.\n\n## Advanced Usage\n\nYou can open FileBrowser in a different root folder by initialising with an NSURL file path of your choice.\n```swift\nlet fileBrowser = FileBrowser(initialPath: customPath)\n```\n\nYou can also allow editing/deleting files.\n```swift\nlet fileBrowser = FileBrowser(initialPath: customPath, allowEditing: true)\n```\n\nUse the didSelectFile closure to change FileBrowser's behaviour when a file is selected.\n```swift\nfileBrowser.didSelectFile = { (file: FBFile) -\u003e Void in\n    print(file.displayName)\n}\n```\n\nTo exclude a certain file type or a specific file path:\n```swift\nfileBrowser.excludesFileExtensions = [\"zip\"]\nfileBrowser.excludesFilepaths = [secretFile]\n```\n\n### Setting up with [CocoaPods](http://cocoapods.org/?q=FileBrowser)\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\npod 'FileBrowser', '~\u003e 1.0'\n```\n\n### Setting up with Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate FileBrowser into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"marmelroy/FileBrowser\"\n```\n","funding_links":[],"categories":["Files","Libs","Swift","etc"],"sub_categories":["Getting Started","Files","Other free courses","Linter","Data Management"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelroy%2FFileBrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarmelroy%2FFileBrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelroy%2FFileBrowser/lists"}