Orihako

Orihako on your site

Add PDF tools to your own site with one script. The files are processed in your visitor's browser and never uploaded — not to you, not to us.

Add the script

One module from pdf.orihako.com. It opens a hidden frame that holds the PDF engine.

<script type="module">
  import { connect } from "https://pdf.orihako.com/embed.js";

  const orihako = await connect();
</script>

Run a tool

Hand it a file from your page and the settings you want. You get files back.

const { files } = await orihako.run("compress", [file], {
  compress_level: "strong",
  compress_target_mb: "3",
});

// files[0] is a File: download it, show it, or send it on yourself.
const url = URL.createObjectURL(files[0]);

Ask what it can do

Every tool it offers, with the settings each one takes, in the language you ask for.

const tools = await orihako.tools();
// [{ id: "compress", title: "Compress PDF", accepts: "pdf",
//    inputs: { min: 1, max: 1 }, values: { properties: { ... } } }, ...]

Tools you can call

Each takes files and gives files back. The small text is the id you pass to run().

The rules

Chains, batches and folder automation live on this site and in the local agent.

Questions

Write to orihako.support@gmail.com. The script and the page it frames speak a numbered protocol (1 today); a change gets a new number rather than a silent edit.

All tools