Ad

Add live runnable code to your dev docs

Hacker News

Add live runnable code to your dev docs

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 capabilities * (3) quick booting times * (4) option to oversubscribe the underlying server resources This allows you to create a whole new set of interactions between your dev docs and a developer visiting the docs. We've had users building coding playgrounds [2] to show how their SDK works or adding embedded terminals to a landing page [3] to show how their CLI works. The way Devbook works is that you use our frontend SDK [4] on our website. The SDK pings our backend and we boot up a VM. The VMs are ephemeral and get destroyed after a while of not getting pinged. You can predefine what the VM filesystem will look like through our CLI via a simple Dockerfile [5]. We also have an open sourced UI library for components like terminal, file system explorer, or code editor [6]. The need for Devbook came from our own frustration with dev docs. It has always felt strange that dev docs contain so much code but none of it is actually runnable. You as a developer have to set up full environments to see how the API works and get a deeper understanding. We are very early so we don't offer self-serve for now. A bit of manual work is still required when we are onboarding new customers. We are looking for some specific use-case that would make our go-to-market strategy much easier. It feels like the product we offer is way too general. We basically say "here's a whole computer, have fun". I'd love to know what you think about it. I'll hang out here and I'm happy to answer your questions! [0] https://usedevbook.com/ [1] https://github.com/firecracker-microvm/firecracker [2] https://app.banana.dev/docs/carrot?ref=navmenu [3] https://runops.io/ [4] https://github.com/devbookhq/sdk [5] https://github.com/devbookhq/devbookctl [6] https://github.com/devbookhq/ui

Share card

Actual performance

128points
33comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, computer, dock · Missing: mac, agents, macos
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
92%92% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, filesystem, ide · Missing: https docs, excited, just released
72%72% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: users, way · Missing: mobile apps, ios, personal
51%51% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
39%39% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ad
Add explanatory videos to code in your Docusaurus docs45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Add explanatory videos to code in your Docusaurus docs

Hacker News3
Di
Discuss code and docs in repositories (on Sourcegraph)52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Discuss code and docs in repositories (on Sourcegraph)

Hacker News1
Li
LiveDocs – bring live data from anywhere to your docs, without code57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LiveDocs – bring live data from anywhere to your docs, without code

Hacker News12
De
Dev-Docs – A tool that helps you document as you code67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dev-Docs – A tool that helps you document as you code

Hacker News24
Jamdesk
Jamdesk27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Jamdesk is a docs-as-code platform

Indie Hackerscommitment-full-time
Sc
Schedulerctl Heroku Add-On33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Schedulerctl Heroku Add-On

Hacker News3
Ad
Add Favicons to HN44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Add Favicons to HN

Hacker News33
Al
Alter HN Firefox add-on44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Alter HN Firefox add-on

Hacker News1
growthrail.dev
growthrail.dev30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Add referrals in an afternoon

Indie Hackers1analytics
Ad
Add live, fun interaction to any video33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Add live, fun interaction to any video

Hacker News1