openflarestack Star this repo
  1. Catalog
  2. Image hosting
  3. CattoPic
Ranked 61 of 234

CattoPic

Yuri-NagaSaki/CattoPic

Image host with tags, WebP/AVIF variants, expiry and a random-image API.

A self-hosted alternative to Imgur.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • KV
    KV namespace
    A key value store for settings and fast lookups.
  • R2
    R2 bucket
    Storage for files and uploads.
  • Im
    Images
    Resizes and serves pictures.
  • Q
    Queues
    Runs background jobs.
  • Cr
    Cron trigger
    Runs scheduled tasks.
Category
Image hosting
Licence
GPL-3.0
Stars
355
Last commit
5 weeks ago
Latest release
v1.0.0

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/cattopic.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/cattopic.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/Yuri-NagaSaki/CattoPic.git
git pull upstream main
npx wrangler deploy

CattoPic questions

What is CattoPic?

Image host with tags, WebP/AVIF variants, expiry and a random-image API. It’s an open-source, self-hosted alternative to Imgur. It runs on Cloudflare Workers in your own account.

What does CattoPic set up in my Cloudflare account?

D1 database, KV namespace, R2 bucket, Images, Queues and Cron trigger. They are created in your account, so the data stays yours.

How do I deploy CattoPic?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is CattoPic free and open source?

Yes. It’s published under the GPL-3.0 licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update CattoPic?

Pull from the original repository and redeploy: add https://github.com/Yuri-NagaSaki/CattoPic.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.