Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/megrxu/imagio

存储为 S3/FS 的简单图床管理器。
https://github.com/megrxu/imagio

Last synced: about 1 month ago
JSON representation

存储为 S3/FS 的简单图床管理器。

Awesome Lists containing this project

README

        

# Imagio

Imagio is a web app that allows you to store and manage private/public images, with the help of [OpenDAL](https://opendal.apache.org), [Cloudflare Pages](https://developers.cloudflare.com/pages/) and [SvelteKit](https://kit.svelte.dev/).

Introduction [here](https://xugr.me/dev/imagio/) (中文).

## Build

To build and deploy imagio, follow the steps below:

0. Set up the [imagio-server instance](https://github.com/megrxu/imagio-server).
1. Fork and set up Cloudflare Pages with SvelteKit.
2. Set up environment variables in your Cloudflare dashboard:
1. `ACCOUNT_ID`: The account id specified when running the server.
2. `TOKEN`: Not used currently.
3. `SERVER_URL`: Your imagio-server instance URL.
3. `S3_PUBLIC_ACCESS_ENDPOINT`: Your S3 public access endpoint.
3. Publish your pages.

## Endpoints

Imagio provides the following endpoints:

- `/upload`: to upload images.
- `/images`: to list and modify uploaded images.