ReadMe.com Integration Guide

Embed a live Linux CLI terminal in ReadMe.com

ReadMe handles REST API "Try It" explorers natively, but falls short when users need a terminal for CLI flags, config files, and SDK quickstarts. KilnVM fills that gap inside ReadMe HTML blocks or standalone /lab/<slug> links.

1. Add KilnVM to ReadMe.com

ReadMe HTML Block (Custom Embed)
<iframe
  src="https://kilnvm.dev/embed?project=proj_your_project_id&theme=light&cmd=mycli%20auth%20status"
  title="Interactive CLI Terminal"
  style="width:100%;height:420px;border:0;border-radius:8px;"
  allow="clipboard-read; clipboard-write"
  referrerpolicy="origin"
  loading="lazy"
></iframe>

2. Seed Files, Run Buttons & Production Tips

Alternative: Guided Multi-Step Walkthrough CTA
<a href="https://kilnvm.dev/lab/your-lab-slug" target="_blank" rel="noopener noreferrer">
  Launch 3-Step Interactive Quickstart Lab ->
</a>
  • Add your *.readme.io staging domain and custom docs domain (e.g. https://docs.example.com) to Allowed Docs Origins.
  • If ReadMe blocks custom third-party scripts on your tier, the pure HTML <iframe> embed works everywhere with zero scripts.
  • For complex 3-to-5-step onboarding with automated bash pass/fail checks and lead gates, link directly to your hosted /lab/<slug> track.

3. Try a Live Sandbox Right Now

Click Launch Terminal below to boot a real non-root Linux microVM directly in the page.

Frequently Asked Questions

Should I use an inline /embed iframe or a /lab/<slug> tutorial?

Use /embed inside reference docs when visitors want one command in context, and /lab/<slug> when guiding new users through multi-step setup with automated checks and lead capture.

Does ReadMe send the Origin/Referer needed for origin locking?

Yes, keeping referrerpolicy="origin" on the iframe sends your ReadMe origin cleanly to KilnVM.

Ready in 5 minutes

Ship live CLI sandboxes inside your docs.

Start free with 300 sessions per month, isolated linux/amd64 microVMs, and zero credit card required.