Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

lebao3105/Swifile-FileManager

 
 

Repository files navigation

Swifile

Swifile is a simple SwiftUI application for managing files and folders on your device.

This application is meant for jailbroken devices. A personal (just me, @lebao3105) work is underway for more platforms. See it here: https://github.com/lebao3105/OnStorage.

Swifile provides a user-friendly interface to browse, search, and manage files and folders on your device. It allows you to toggle file size visibility, sort files by various criteria, and perform actions such as opening, deleting, and sharing files.

Features

  • Browse files and folders in a directory

  • Toggle file size visibility

  • Sort files by name, Alphabetical, size, or modification date

  • Search files by name

  • Delete files and folders

  • Planned future updates:

    • File sharing
    • File modifications
    • Sharing files
    • Recycling bin
    • Open files in external applications
    • Class Dump (Generate Objective-C headers from Mach-O files)

Installation

Your phone: iOS 15+ with TrollStore for (t)ipa builds or just jailbreak the phone.

Built binaries

Just obtain a release from either Releases page or lebao3105's repo.

Build from source

Requires these to build from source:

Clone this repository.

Set the SYSROOT environment variable to your preferred SDK, ARCHS to either arm64, arm64e or both for the target build architecture

Set USE_FPC environment variable to 1 to use the root helper (which does file operations) written in Pascal

IPA builds are not working (no root permission for the helper right now). Set PACKAGE_FORMAT to ipa to make .ipa.

Send the file to your phone (on macOS use AirDrop), install with TrollStore.

Or you can setup Theos and run:

  • make package to make a deb
  • make do to make a deb and install it onto your phone
  • make to build the project

Note: The root helper by default will have both arm64 and arm64e Mach-O in it. Modify the ARCHS variable as said above to change this. This is only known for the C++ helper.

All binaries are placed in packages/ unless you changed it somehow.

Look at Theos documentation for useful environment variables and options (you will need them).

Profit!

Use with FridaCodeManager

FridaCodeManager by SparkleChan + SeanIsNotAConstant is a way to build, make, run Swift and ObjectiveC{,++}.

This app is originally made in SparkCode!

Currently as this is not confirmed to work with SparkCode yet, as the new C++ helper came along with support for them in SparkCode, also new features, also nobody try it yet (as far as we know).

You can try packing the source code to an archive with the right structure that fits Frida, import it.

Screenshots

IMG_8261

More screenshots required.

Author & Helpers

Originally made by speedyfriend67

TIPA build script made with the help of Geranium

Thanks to AppinstalleriOS and lebao3105 for many great contributions!

Thanks to TigiSoftware for their Filza - also ideas for this app!

Thanks everyone behind FridaCodeManager for their convenient code editor + builder!

License

This project is licensed under the MIT License.

About

A file manager written in SwiftUI

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Swift 71.5%
  • Pascal 12.3%
  • C++ 10.4%
  • Makefile 3.9%
  • Shell 1.9%