Skip to content
Start free

Projects & files

A project is a folder of web files that Yoyo serves at its own URL. Each project is self-contained — there’s no shared build step and no bundler.

Every project has an entry point, usually index.html, plus any other files you add. Yoyo serves files exactly as you upload them, at the path you give them:

index.html → /
styles.css → /styles.css
app.js → /app.js
img/logo.png → /img/logo.png

Reference them with normal relative paths from your HTML — <link>, <script>, <img>, fetch(), and so on all work the way they do on any static host.

A request for a folder serves its index page. At the project root Yoyo tries index.html, then index.md, then README.md. In any other folder it tries index.html, then index.md:

index.md → / (when there's no index.html)
docs/index.md → /docs/

Open a .md or .markdown file in a browser and Yoyo shows it as a styled page, in light or dark to match the reader’s system. Add ?raw to the URL to get the source; the page links to it as View source. fetch() and other non-browser requests always get the source, so a demo that loads its own Markdown keeps working. Files over 1 MB are served as source.

When the root page is index.md or README.md, the project takes its title from the first # heading.

Any file type the web can render is supported: HTML, CSS, JavaScript, images, video, audio, fonts, JSON, and more. See Supported file types for the full picture.

Projects are subject to a per-file size limit and a total storage limit that depend on your plan. See Plans & limits for the current numbers.

Yoyo serves static files — it does not run npm install or a bundler on your behalf. To use a framework like React or Preact without a build step, load it from a CDN with an import map — see Using frameworks. If your project needs a real build, build it locally and deploy the output folder with the CLI.