Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HuakunShen/ezup

Easy File Upload to Cloud Storage
https://github.com/HuakunShen/ezup

Last synced: about 2 months ago
JSON representation

Easy File Upload to Cloud Storage

Awesome Lists containing this project

README

        

# EzUp

- [EzUp](#ezup)
- [Installation](#installation)
- [Usage](#usage)
- [Services](#services)
- [Imgur](#imgur)
- [AWS S3](#aws-s3)
- [Updater](#updater)
- [Development](#development)
- [Building](#building)
- [MacOS](#macos)

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](https://api.imgur.com/oauth2/addclient). 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

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

- [vercel/hazel](https://github.com/vercel/hazel) (updater server)
- [Vercel Console](https://vercel.com/huakunshen/tauri-ezup-updater)
- [Deployed Updater Server](https://tauri-ezup-updater.vercel.app/)

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](https://github.com/tauri-apps/tauri-plugin-store). Files are stored in [appDataDir](https://tauri.app/v1/api/js/path/#appdatadir). See [This issue](https://github.com/tauri-apps/plugins-workspace/issues/298).

```bash
npm i
npm run tauri dev
```

## Building

Set environment variables first

```bash
tauri signer generate -w ~/.tauri/ezup.key
export TAURI_PRIVATE_KEY=""
export TAURI_PRIVATE_KEY=$(cat ~/.tauri/ezup.key) # if the private key is stored on disk
export TAURI_KEY_PASSWORD=""
```

### 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.

```bash
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.