Filey - a simple peer-to-peer file sharing app, used for transfering and view files, as a lightweight alternative to FTP solutions, which might require a lot of setup that some people did not want to put up the time to work with
This is the source code of my personal developed file transfering tool that I developed and used for quite some time, and now I'm publishing the code online for other people to take a look at, and can compile and use for themselves
This GitHub repo is not a 1:1 copy of the original tool that I'm currently having, there will be some issues here and there but in general the tool has minimal bugs
- Interface:
NextJS(TypeScript) - Engine:
Tauri(webview) +Axum(HTTP server) (Rust) - Database:
SQLite
- Currently for whatever reason, the android build does not include the capability to show image or video embedded inside the app.
Therefore when you preview an image or an mp4 video, it will open the default browser for you to view - Windows on ARM build not supported (this is tauri's issue)
As for now I haven't published a release build for this application, since I don't have money for a license for now.
However you can build it for yourself. The dev version runs fine on macOS and Android, since those are the devices
that I have at my disposal
You need to have Bun and Rust installed
Notice the SQLX_OFFLINE=true environment variable, this is required since I use the macros feature of
the sqlx crate
SQLX_OFFLINE=true bun tauri build --bundles dmg# Somehow the debug build on Android runs all features
# More explanations in the Cargo.toml file
SQLX_OFFLINE=true bun tauri android build --apk --target aarch64 --debugYou'll need to sign the application with your Apple Developer account, I've only tested this application in a simulator and it runs okay
SQLX_OFFLINE=true bun tauri ios buildBuild it on a real Windows machine or a VM
SQLX_OFFLINE=true bun tauri buildPre-requisites for building on ARM64 Windows:
- Install Visual Studio
- When the installer appear, choose
Desktop development with C++, go to the Individual Components section and choose C++ Clang Compiler for Windows, and then install - Add this line to the PATH section of Environment Variables
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\ARM64\bin - Finally
SQLX_OFFLINE=truenpx tauri build
The Windows on ARM build currently does not compile successful, the application compiles until this error is shown:
Unknown Scheme: cannot make HTTPS request because no TLS backend is configured.
This is actually Tauri's issue and I'm waiting for them to push out a fix