GithubHelp home page GithubHelp logo

hhy5277 / tuture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuture-dev/tuture

0.0 1.0 0.0 15.41 MB

🎩 Magically turn your repositories into juicy tutorials. 『回雀写äŊœåˇĨå…ˇã€

Home Page: https://docs.tuture.co

License: MIT License

JavaScript 67.85% TypeScript 31.32% HTML 0.61% Shell 0.20% CSS 0.03%

tuture's Introduction

Tuture logo

Version License Node Version Chat

Tuture

Tuture is a tool for writing high-quality tutorials with both ease and speed based on Git repositories.

Read this in other languages: įŽ€äŊ“中文.

Features

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.

  • Edit tutorials alongside your code: It can be much clearer and easier to write something just next to your code. With full-fleged markdown support and a series of handy tools, writing high-quality tech posts has never been this fun.

  • Share your tutorial with ease: Your tutorial can be built into a publish-ready markdown file with a single command. Apart from this, we also provide a platform for sharing your tutorials (currently only those in Chinese).

Installation

Make sure you have Git installed on your machine. You can check by running git version. If not, head to Git downloads page.

Install with package managers

We assume that Node.js (>= 8.0.0) and npm (>= 5.0.0) are already avaiable.

You may need sudo to install npm packages globally.

  • install with npm
npm i -g tuture
  • install with yarn
yarn global add tuture

Installing global binaries via yarn can fail sometimes (check out this issue), so it's not recommended. But you can export PATH="$PATH:$(yarn global bin)" if you insist.

Download ready-to-use binaries

  1. Visit our Github release page to download binary distribution suited to your machine.

  2. Extract the binary file tuture (or tuture.exe on Windows).

  3. Move the binary to your system path:

  • For Linux/macOS users, open your terminal and navigate to where the tuture binary resides:
cd /path/to/tuture
sudo mv tuture /usr/local/bin
  • For Windows users, simply move the binary to C:\Windows folder as Administrator.
  1. Checkout whether tuture binary works by running tuture --version.

Install from source

Clone this repo to your machine, cd into the project root and run following command:

# install all dependencies
npm i
# build editor and CLI
npm run build
# install tuture globally
npm i -g

Documentation

Ready to learn more? Visit our homepage.

Why this name, Tuture?

Tutorials from the future.

License

Definitely MIT.

tuture's People

Contributors

crxk avatar dearonger avatar holyjie avatar mrcfps avatar mrcytus avatar pftom avatar tomwenthey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.