Skip to content

HuakunShen/EzUp

Repository files navigation

EzUp

Eazy Uploader is for easy image/file uploader.

Here is some demo screenshots.

More Images

Installation

Download from the latest release based on your platform.

For Mac you should download the *.app.gz file for now. Uncompress it and run xattr -cr EzUp.app to unlock. This is because the author didn't pay apple tax.

Usage

  1. Go to Service tab, choose a service and fill in the parameters

Services

Imgur

Register an application from here. Get the application client id and fill into EzUp service.

AWS S3

Create a public S3 bucket, and create a pair of access key and secret key with S3 access and enter into EzUp.

Updater

tauri signer generate -w ~/.tauri/ezup.key # generate a pair of keys

Update Server for this app: https://tauri-ezup-updater.vercel.app/

How to deploy an update server for Tauri App in one click: https://github.com/HuakunShen/tauri-update-server

Development

The data are stored on disk with tauri-plugin-store. Files are stored in appDataDir. See This issue.

npm i
npm run tauri dev

Building

Set environment variables first

tauri signer generate -w ~/.tauri/ezup.key
export TAURI_PRIVATE_KEY="<private_key>"
export TAURI_PRIVATE_KEY=$(cat ~/.tauri/ezup.key) # if the private key is stored on disk
export TAURI_KEY_PASSWORD="<password if any>"

MacOS

For universal build on darwin, the following command is required.

Choose one of the following depending on the Mac CPU. If you use apple silicon, then add x86 target, and vice versa.

rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin

Use npm run build:mac:universal to build a darwin universal app.