HuakunShen / EzUp

Easy File Upload to Cloud Storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Easy File Upload to Cloud Storage

License:MIT License


Languages

Language:Svelte 49.6%Language:Rust 23.4%Language:TypeScript 23.2%Language:JavaScript 2.3%Language:HTML 0.8%Language:Shell 0.4%Language:CSS 0.3%