Show HN: Add live runnable code to your dev docs

📰 Hacker News · mlejva

Add live runnable code to dev docs with Devbook SDK, enabling users to run and test code in a VM, and learn how to integrate it into your documentation website

intermediate Published 12 Apr 2022
Action Steps
  1. Add the Devbook SDK to your docs website with a single line of code
  2. Configure the VM to install required packages and set up the environment
  3. Test and run code in the VM to ensure it works as expected
  4. Use the Devbook dashboard to manage and monitor VM instances
  5. Optimize VM startup time for better user experience
Who Needs to Know This

Developers and technical writers can benefit from using Devbook to create interactive documentation, improving the learning experience for users and reducing support queries

Key Insight

💡 Devbook SDK allows you to add live runnable code to your dev docs, enabling users to run and test code in a VM, without requiring infrastructure management

Share This
🚀 Add live runnable code to your dev docs with Devbook SDK! 📚💻

Full Article

Hi HN community, I'm Vasek, co-founder, and CEO of Devbook [0]. Devbook is an SDK that you add to your docs website and then every time a user visits your dev docs, we spin up a VM just for that user. The VM is ready in about 18-20 seconds. We haven't had enough time to work on optimization but from our early tests, we are fairly confident we can get this to about 1-2 seconds. In the VM you can run almost anything. Install packages, edit & save files, run binaries, services, etc. You as a documentation owner have full control over the VM. We give you full access to filesystem, shell, stdout, and stderr. You don't have to worry about any infrastructure management. It's just one line of code on your frontend. On the backend, the VM is a Firecracker microVM [1] with our custom simple orchestrator/scheduler built on top that just gets the job done. We chose Firecracker for 4 reasons: * (1) the security with a combination of their jailer * (2) its snapshotting c
Read full article → ← Back to Reads

Related Videos

Containers on Amazon ECS with Mama J
Containers on Amazon ECS with Mama J
AWS Developers
How to Open QTR Files (QuickTime Movie)
How to Open QTR Files (QuickTime Movie)
File Extension Geeks
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Amazon Web Services
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubesimplify
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Digital Transformation with Eric Kimberling
June 29, 2026 Emerging Threats Weekly
June 29, 2026 Emerging Threats Weekly
Kroll