未加星标

Introducing DemoKit: Scriptable Product Demos

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二05 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

Today we’re open sourcing and releasing DemoKit , our new Electron app for scripting product demos. Using the web technologies you’re already familiar with, you can now record demos, tutorials, or any other videos that show off your products. Since the demos are scripted, you can check them into GitHub, incorporate feedback and changes, and even simply re-record them when your products visually change so they’re never out of date. In order to help get you started, we’re also open sourcing RunKit’s demo that appears on ourhomepage.

How It Works

DemoKit uses JSX (but not React) along with HTML, javascript, and CSS to let you define a “movie script” for your demos. For example, the following snippet types and execute a query in Duck Duck Go:


Introducing DemoKit: Scriptable Product Demos

DemoKit includes a bunch of prebuilt “props” for your movie too: browser windows (that host your live webpage to interact with), terminal windows, and code editors. One of the cool experimental features we’ve added recently is the ability to embed buttons in your videos as well. Basically, DemoKit will track where all the buttons are in your video and generate a script to make those areas clickable on your web page as well.

Why DemoKit?

One of the things we wanted to do for the RunKit rename was create a demo video of our product for our new homepage. But the idea of doing this filled me with a fair amount of dread since creating demos is such a laborious process for me. I’m always making mistakes when I type, and its rarely a collaborative or iterative process since it never feels worth it to go re-record large portions of a video.

We originally wondered whether we could abuse Selenium and QuickTime screen capture to be able to program a demo the way we programmed our tests, and this actually got us quite far. Unfortunately, Selenium really isn’t designed for this task and has some issues running simultaneous animations and commands. At this point we decided to go all-in and build a dedicated tool using many of these ideas.

The result is something we’re really proud of: any member of our team can now tweak the demo and keep it up to date and fresh. More importantly, we can now invest in video tutorials which is something I’ve wanted to do for quite some time. We’d love to hear your thoughts on it too, you can install it with npm by typing npm install demokit -g , or check out the source as well.

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

主题: GitReactJavaScriptHTMLJavaCSSGitHub
分页:12
转载请注明
本文标题:Introducing DemoKit: Scriptable Product Demos
本站链接:http://www.codesec.net/view/484892.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(32)