images-free.openapps.xyz

Source

This app’s code and revision history are public. Download a copy or explore the files below.

Public
The app’s code and revision history are public.
Owned app · rev b674d6e71b51
Run it yourself
Take the whole tree and run it on your own machine. The download needs no account. Cloning needs a sign-in.
Download .zip
bounded clone 604467e480f8468389092a3b
A copy you download is not bounded. The guarantees this app runs under - declared egress, proven invariants, writes that fail closed - live in the runtime serving this page, not in the files. What you get is auditable source you can read and run, with no runtime guarantees attached.
← All files
vite.config.ts
import { defineConfig, type Plugin } from "vite";
import react from "@vitejs/plugin-react";

// onnxruntime-web points at its WebAssembly file, which Vite would copy into the build (27 MB). The
// background worker downloads a pinned copy on first use instead (src/lib/model.ts), so leave it out.
function dropOrtWasm(): Plugin {
  return {
    name: "drop-ort-wasm",
    generateBundle(_, bundle) {
      for (const name of Object.keys(bundle)) if (/ort-wasm-simd-threaded.*\.wasm$/.test(name)) delete bundle[name];
    },
  };
}

export default defineConfig({
  plugins: [react()],
  // The jsquash encoders find their WebAssembly next to their own files; pre-bundling would lose it.
  optimizeDeps: { exclude: ["@jsquash/jpeg", "@jsquash/webp", "@jsquash/oxipng"] },
  worker: { format: "es", plugins: () => [dropOrtWasm()] },
  server: { port: 4324, strictPort: true },
  preview: { port: 4324, strictPort: true },
  build: { target: "es2020", chunkSizeWarningLimit: 1500 },
});

Change history

Quality pass: background removal, blur background, paste images
b674d6e71b · 6 hours ago
Bounded source sync
c6622bcbd1 · 1 day ago
Bounded source sync
92ecc89502 · 1 day ago
Bounded source sync
ae2f8b8be0 · 1 day ago