Docusaurus to link

Host your Docusaurus docs for free

Docusaurus builds your docs into a folder of static files called build. Upload that folder to droply and your docs are live at your-name.droply.page, and on Plus you can put a password on them.

Free plan: 1 project, files up to 10 MB, no expiry · no card needed · See plans

To host a Docusaurus site for free, set url to your droply address and baseUrl to '/' in docusaurus.config.js, run npm run build, zip the contents of the build folder and upload the ZIP to droply. Your docs are live in seconds at a link like my-docs.droply.page, free for one project, with your own domain and a password on Plus.

1

Set url and baseUrl

In docusaurus.config.js set url: 'https://your-name.droply.page' (no slash at the end) and baseUrl: '/'. A baseUrl like /my-project/, common on GitHub Pages, would break links and styles on droply.

2

Build and test it

Run npm run build. Docusaurus writes the finished site to the build folder. Run npm run serve to check it on your computer first.

3

Zip and upload

Zip the contents of build so index.html sits at the top of the ZIP, then drop it on droply.so and pick the name you used in url.

What works and what doesn't

  • Docs, blog, sidebars, versions, dark mode and MDX pages: Docusaurus builds them into static files, so they work as built
  • The default trailingSlash setting: Docusaurus saves /docs/intro as docs/intro/index.html, and droply opens it at /docs/intro
  • Not npm run start features such as hot reload: those only run on your computer
  • Docusaurus' 404.html isn't used: droply answers an unknown address with your home page's file

Private docs with a password

Docusaurus itself has no login: it only builds files. On Plus, droply can put a password on the whole project, so internal docs, a client handbook or docs for an unreleased product open only for people who have it.

If your docs are public and already deploy from GitHub, keep that setup. droply suits docs you'd rather upload than push, or docs that need a password.

Plans

Free: 1 project, 10 MB, 5,000 visits a month. Starter ($5/month billed yearly): 3 projects, 100 MB, no badge. Plus ($12/month billed yearly): 10 projects, 1 GB, passwords, custom domains and analytics. Every paid plan starts with a 7-day free trial.

Questions

Is it free to host Docusaurus docs on droply?

Yes, one project up to 10 MB is free and doesn't expire. Larger docs with many images may need Starter (100 MB). Without an account you can try it as a guest: 5 MB, online for 1 hour.

Why does my Docusaurus site have no styles after uploading?

Usually baseUrl is still set to a subfolder such as /my-project/, so the CSS and JavaScript are looked for in the wrong place. Set baseUrl to '/', build again and upload the new build folder.

Can I password-protect Docusaurus docs?

Yes, on Plus and up. Set a password in the project's settings and visitors are asked for it before any page opens.

How do I update the docs?

Run npm run build again and upload the new build folder to the same droply project. The link stays the same.

Your Docusaurus docs, live at your own link

Drop the file in, pick a name, and send the link. It opens on any phone or computer.