Skip to content

megrxu/imagio

Repository files navigation

Imagio

Imagio is a web app that allows you to store and manage private/public images, with the help of OpenDAL, Cloudflare Pages and SvelteKit.

Introduction here (中文).

Build

To build and deploy imagio, follow the steps below:

  1. Set up the imagio-server instance.
  2. Fork and set up Cloudflare Pages with SvelteKit.
  3. 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.
    4. S3_PUBLIC_ACCESS_ENDPOINT: Your S3 public access endpoint.
  4. Publish your pages.

Endpoints

Imagio provides the following endpoints:

  • /upload: to upload images.
  • /images: to list and modify uploaded images.