MyJackfruit

Help
Browse topics · Finishing

Finishing

← Finishing

Is there a size limit, and can my site offer files such as PDFs to download?

Short answer

Yes: at most 5 MB and 2000 files. A PDF can be one of your site's files; anyone with its address can get it.

Deeper

The limit. When your app goes live, at https://<name>.pages.dev, a web address of its own, all its own files together may be at most 5 MB and 2000 files; a bigger app is refused on your computer, before anything is sent, with a line such as "<number of files> files, <number of bytes> bytes; this ticket allows 2,000 files and 5,242,880 bytes". A megabyte (MB) is a measure of how much a file holds. The 5 MB is for all the files together, so no single file can be bigger either. Too many files gives the same line. Then nothing is put live: ask your AI to make the files smaller, such as pictures no bigger than they are shown, and publish again. The answer Do big pictures and videos make my app slow? tells more. If your site needs more room, write to [email protected].

Which files. Only these kinds of file are taken: html, css, js, mjs, json, map, txt, xml, webmanifest, svg, png, jpg, jpeg, gif, webp, avif, ico, woff, woff2, ttf, otf, mp3, mp4, webm and pdf. Any other kind, or a file with no ending after its name, is refused with has a type that is not accepted. So a Word or Excel file, for example, cannot be offered as it is; you could save it as a PDF first.

PDFs. A PDF that never changes, such as a price list, can be one of your app's own files: PDF is one of the kinds of file a published app may hold. The fixed security rules for published sites say object-src 'none', which is meant to stop a page from showing a file inside an object or embed frame; whether a browser opens a linked PDF under these rules has not been tested here. If you need this, write to [email protected]. Tell your AI which files to offer and where on the page the link to each goes. Each PDF counts toward the 5 MB. Everything in the folder that was put live can be opened by anyone who has its address, so keep anything private out of it.

Bigger files, or files that change. These can be files in a vault, the place where a person or a group keeps their records. An app, not a website, can read the files in a vault the signed-in person may read, so it can offer them to people who sign in and have access there; the answer Can people upload files, pictures and their own text in my app? says more. Whether a visitor who is not signed in can download a file kept in a vault through your site has not been shown. If you need this, write to [email protected].

Videos count toward the same 5 MB, and the rules of a published app let videos come only from the app's own files; see Where do I put the pictures and videos for my app?

This answer is written for a computer screen.

Source: GilbPlatform 0fc5a548 (https://id.gilb.com/version, read 13 November 2026): src/publish/ticket.ts:20, :31 (2000 files; 5 MiB for the whole upload and so for any single file); workers/publish-ingest/src/checks.ts:11-15 (accepted file kinds, pdf among them), :98-102 (a name with no extension has none), :133-140 (Too many files: …; The files total … MB; at most … MB are allowed.), :151 (has a type that is not accepted), :171 (img-src 'self' data: blob: https://*.gilb.com; default-src 'self'); src/routes/publish.ts:485 (only an app's address is admitted to vaults); src/server/cors.ts (vault doors answer only admitted addresses). Standard read from GilbPlatform on 13 November 2026: Standard Rule_Code_deployment (RuleDeployPagesDev: at most 2000 files and 5 MiB). Live help pages, sentences shared: Where do I put the pictures and videos for my app?; Do big pictures and videos make my app slow?; Can my app make PDFs, such as invoices, tickets or certificates?; How do I publish my app from the terminal? (the list of file kinds); Who can see and use my app once it is live?

Checked against GilbApp d529620.