Tuture is a tool for writing high-quality tutorials with both ease and speed based on Git repositories.
Read this in other languages: 简体中文.
Tuture revolutionizes the way of writing tech tutorials.
-
Generated directly from a live codebase: Your tutorial will be a faithful mirror of your code. Just start from a Git repo, build something interesting with nicely-written commit messages, and Tuture will bring all the good things to your tutorial. Your codebase will grow as more inspiration come in, so will your tutorial.
-
Automatic extraction of code diff: One of the greatest pain point of writing tutorials is the daunting manual work of collecting code snippets of each changed file for each step. Fortunately, Tuture will handle this boring and error-prone work for you, so you can just focus on writing amazing tuturials.
-
Writing in a programming way: Writing is more of a casual and personal course in these good old days. But with Tuture, you can write tutorial in a way that greatly resembles programming. Your whole tutorial is exactly specified in a YAML file, so all you need is to fill in needed fields.
-
Eye-catching rendering in the browser: Thanks to the blazingly fast development of JavaScript technologis, tuture-renderer is fully capable of rendering your tutorial in a beautiful and interactive way.
Make sure you have Node.js (>= 8.0.0) and npm (>= 5.0.0) on your machine.
- install with npm
$ npm i -g tuture
- install from source
Clone this repo to your machine, and run following command:
$ npm i -g
-
CLI Commands is a detailed manual on using Tuture CLI.
-
tuture.yml Specification is a complete specification of tuture.yml.
Writing a Tuture tutorial is incredibly simple and delightful.
-
Initialize a Git repo (or start from an existing one)
-
Write some code and commit with a meaningful message
-
Run
tuture init
to initialize a Tuture tutorial -
Write some instructions in related
explain
fields in tuture.yml -
Run
tuture up
to see your tutorial live in the browser -
Edit tuture.yml and save to change something
Definitely MIT.