[{"data":1,"prerenderedAt":284},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-introduction":87,"-getting-started-introduction-surround":281},[4,35,51,80],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F4.configuration","i-lucide-settings",{"title":26,"path":27,"stem":28,"icon":29},"Server Requirements","\u002Fgetting-started\u002Fserver-requirements","1.getting-started\u002F5.server-requirements","i-lucide-server",{"title":31,"path":32,"stem":33,"icon":34},"Troubleshooting","\u002Fgetting-started\u002Ftroubleshooting","1.getting-started\u002F6.troubleshooting","i-lucide-wrench",{"title":36,"icon":37,"path":38,"stem":39,"children":40,"page":6},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[41,46],{"title":42,"path":43,"stem":44,"icon":45},"URL Pattern","\u002Fguide\u002Furl-pattern","2.guide\u002F1.url-pattern","i-lucide-link",{"title":47,"path":48,"stem":49,"icon":50},"Transformation Parameters","\u002Fguide\u002Ftransformation-parameters","2.guide\u002F2.transformation-parameters","i-lucide-sliders",{"title":52,"icon":53,"path":54,"stem":55,"children":56},"Deployment","i-lucide-rocket","\u002Fdeployment","3.deployment",[57,60,65,70,75],{"title":58,"path":54,"stem":59,"icon":53},"Overview","3.deployment\u002Findex",{"title":61,"path":62,"stem":63,"icon":64},"Render","\u002Fdeployment\u002Frender","3.deployment\u002F1.render","i-simple-icons-render",{"title":66,"path":67,"stem":68,"icon":69},"Railway","\u002Fdeployment\u002Frailway","3.deployment\u002F2.railway","i-simple-icons-railway",{"title":71,"path":72,"stem":73,"icon":74},"Fly.io","\u002Fdeployment\u002Ffly-io","3.deployment\u002F3.fly-io","i-simple-icons-flydotio",{"title":76,"path":77,"stem":78,"icon":79},"Cloudflare Sandbox","\u002Fdeployment\u002Fcloudflare-sandbox","3.deployment\u002F4.cloudflare-sandbox","i-simple-icons-cloudflare",{"title":81,"path":82,"stem":83,"children":84,"icon":86},"Roadmap","\u002Froadmap","5.roadmap\u002Findex",[85],{"title":81,"path":82,"stem":83,"icon":86},"i-lucide-map",{"id":88,"title":11,"body":89,"description":272,"extension":273,"links":274,"meta":275,"navigation":276,"path":12,"seo":277,"stem":13,"__hash__":280},"docs\u002F1.getting-started\u002F2.introduction.md",{"type":90,"value":91,"toc":265},"minimark",[92,121,126,129,133,184,188,191,207,212,221,226,235,239,257,261],[93,94,95,96,100,101,108,109,114,115,120],"p",{},"Welcome to ",[97,98,99],"strong",{},"Repix",", a self-hosted image transformation service built with ",[102,103,107],"a",{"href":104,"rel":105},"https:\u002F\u002Fwww.typescriptlang.org\u002F",[106],"nofollow","TypeScript",", ",[102,110,113],{"href":111,"rel":112},"https:\u002F\u002Fhono.dev\u002F",[106],"Hono",", and ",[102,116,119],{"href":117,"rel":118},"https:\u002F\u002Fsharp.pixelplumbing.com\u002F",[106],"Sharp",".",[122,123,125],"h2",{"id":124},"what-is-repix","What is Repix?",[93,127,128],{},"Repix fetches images from remote URLs, applies transformations using Sharp, and returns the result. Point it at any image URL, add transformation parameters, and get back resized images in formats like JPEG, WebP, or AVIF.",[122,130,132],{"id":131},"features","Features",[134,135,136,143,149,155,161,167,178],"ul",{},[137,138,139,142],"li",{},[97,140,141],{},"URL-based API"," — Transform images via URL parameters; no SDK required",[137,144,145,148],{},[97,146,147],{},"Image Transformations"," — Resize, crop, format conversion, quality adjustment",[137,150,151,154],{},[97,152,153],{},"Fit Modes"," — cover, contain, scale-down, crop, pad",[137,156,157,160],{},[97,158,159],{},"Format Support"," — JPEG, PNG, WebP, AVIF",[137,162,163,166],{},[97,164,165],{},"Preset System"," — Define reusable transformation presets",[137,168,169,172,173,177],{},[97,170,171],{},"Environment Configuration"," — Configure via ",[174,175,176],"code",{},".env"," and environment variables",[137,179,180,183],{},[97,181,182],{},"Docker"," — Containerized deployment",[122,185,187],{"id":186},"how-it-works","How It Works",[93,189,190],{},"Repix fetches images from remote URLs, applies transformations using Sharp, and returns the optimized result. The URL pattern is:",[192,193,198],"pre",{"className":194,"code":195,"language":196,"meta":197,"style":197},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","https:\u002F\u002Fyour-domain.com\u002F{preset|rules}\u002F{source-url-without-prefix}\n","http","",[174,199,200],{"__ignoreMap":197},[201,202,205],"span",{"class":203,"line":204},"line",1,[201,206,195],{},[93,208,209],{},[97,210,211],{},"Using a preset:",[192,213,215],{"className":194,"code":214,"language":196,"meta":197,"style":197},"https:\u002F\u002Fyour-domain.com\u002Fthumbnail\u002Fexample.com\u002Fpath\u002Fto\u002Fimage.jpg\n",[174,216,217],{"__ignoreMap":197},[201,218,219],{"class":203,"line":204},[201,220,214],{},[93,222,223],{},[97,224,225],{},"Using inline rules:",[192,227,229],{"className":194,"code":228,"language":196,"meta":197,"style":197},"https:\u002F\u002Fyour-domain.com\u002Fw=400,h=300,fit=cover,f=webp,q=85\u002Fexample.com\u002Fpath\u002Fto\u002Fimage.jpg\n",[174,230,231],{"__ignoreMap":197},[201,232,233],{"class":203,"line":204},[201,234,228],{},[122,236,238],{"id":237},"requirements","Requirements",[134,240,241,247],{},[137,242,243,246],{},[97,244,245],{},"Node.js"," 22.0.0 or higher (required by Sharp and modern ES features)",[137,248,249,252,253,256],{},[97,250,251],{},"npm"," or ",[97,254,255],{},"yarn"," for package management",[258,259,260],"tip",{},"Repix uses Sharp for image processing, which requires native bindings. The Docker image includes all necessary dependencies for easy deployment.",[262,263,264],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":197,"searchDepth":266,"depth":266,"links":267},2,[268,269,270,271],{"id":124,"depth":266,"text":125},{"id":131,"depth":266,"text":132},{"id":186,"depth":266,"text":187},{"id":237,"depth":266,"text":238},"Welcome to Repix - self-hosted image transformation service.","md",null,{},{"icon":14,"title":11},{"title":278,"description":279},"Introduction - Repix","Repix - self-hosted image transformation service built with TypeScript, Hono, and Sharp.","dRv4soXJKXbX6E9sLY-vw-2PuFSW_xaISeI6AHBhAIQ",[274,282],{"title":16,"path":17,"stem":18,"description":283,"icon":19,"children":-1},"Get started with Repix.",1781442145912]