Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HuakunShen/ezup
Easy File Upload to Cloud Storage
https://github.com/HuakunShen/ezup
Last synced: 2 months ago
JSON representation
Easy File Upload to Cloud Storage
- Host: GitHub
- URL: https://github.com/HuakunShen/ezup
- Owner: HuakunShen
- License: mit
- Created: 2023-01-08T03:20:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T00:35:21.000Z (9 months ago)
- Last Synced: 2024-11-16T13:20:05.146Z (2 months ago)
- Language: Svelte
- Size: 2.5 MB
- Stars: 22
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tauri - EzUp - File and Image uploader. Designed for blog writing and note taking. (Applications / File management)
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.