01IntroductionA quick walk-through of Docly’s magic – turn ideas into powerful cloud apps, and explore the simple building blocks…Read the overview 02Getting StartedBuild your first Docly application step by step — from an empty workspace to a working document database, with optional…Build your first app 03JavaScript referenceIn Docly you create custom display templates (HTML and/or PDF) and API functions using JavaScript both in frontend and…Browse the reference
Explore the docs
Everything Docly does, one section at a time.
Site structureHow a Docly site is put together and published: the Root and Folder folders, site.json and headers, sign-in, templates, forms, the API…13 pagesSchemasWith the Docly™ schema designers you can create your own types of documents for your data and content.5 pagesPackagesReusable code, templates and components packaged for distribution and reuse across Docly™ sites.4 pagesToolsThe tools you work with a Docly site from: the docly CLI, MCP for AI assistants, and Visual Studio Code.4 pagesAI AssistantLearn about Docly's built-in AI assistant — the inline Document AI Assistant and the full-page Workspace Agent.3 pagesGuidelinesThe knowledge base — pitfalls and recommendations for building on Docly — plus the Docly™ branding guidelines and code of conduct.3 pagesBlogRead anything from news updates, notices and posts about some ideas and ways of coding web and web apps in Docly™.13 pages
New in the knowledge base
Pitfalls, misconceptions and best practices — written down so nobody hits them twice.
- PitfallDate.UTC returns NaN for days outside the month in Docly JavaScriptIn Docly JavaScript, Date.UTC does not roll over: day 0 (the last day of the previous month) and day 35 return NaN…
- BugDate and time values written from code show as empty in the editorWhen code writes a date and time as ISO text - with or without a time zone - saveFile and patchFile store it as UTC…
- Best practiceGive schemaless JSON files a .json extensionA schemaless file written with saveJson or logJson should end in .json - state.json and log.json, not state and log…
- Best practiceModel a record as a document named by its keyA record - a transfer, a case, an order with attachments - is one schema-bound document named by its key. Its fields…
- ClarificationlinkImage makes thumbnails of PDF filesdocly.linkImage works on a PDF the same way it works on an image: the scaled URL returns the first page of the PDF as…
From the blog
What changed, and why.
- Get started with Claude Code and the docly CLIClaude Code is an AI coding assistant that works in your terminal. The docly CLI gives it a local working copy of your…
- How Docly Protects a Published Site — and How a Real Visitor Gets Back InPublished sites sit on the open internet and get the traffic that comes with it. Here is the model Docly uses to decide…
- Fewer Bytes on the Wire: Brotli, Minification and a Year of Browser CacheCached pages are now stored pre-compressed with Brotli, JS and CSS bundles are minified according to what they actually…