• Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

shiroa is a simple tool for creating modern online books in pure typst.

typst-book

A simple tool for creating modern online books in pure typst.

Installation (typst-book CLI)

There are multiple ways to install the typst-book CLI tool. Choose any one of the methods below that best suit your needs.

Pre-compiled binaries

Executable binaries are available for download on the GitHub Releases page. Download the binary for your platform (Windows, macOS, or Linux) and extract the archive. The archive contains an typst-book executable which you can run to build your books.

To make it easier to run, put the path to the binary into your PATH.

Build from source using Rust

To build the typst-book executable from source, you will first need to install Yarn, Rust, and Cargo. Follow the instructions on the Yarn installation page and Rust installation page. typst-book currently requires at least Rust version 1.75.

To build with precompiled artifacts, run the following commands:

cargo install --git https://github.com/Myriad-Dreamin/typst-book --locked typst-book-cli

To build from source, run the following commands:

git clone https://github.com/Myriad-Dreamin/typst-book.git
cargo run --bin typst-book-build
# optional: install it globally
cargo install --path ./cli

With global installation, to uninstall, run the command cargo uninstall typst-book.

Again, make sure to add the Cargo bin directory to your PATH.

Get started

See the Get-started online documentation.

Setup for writing your book

We don't provide a watch command, but typst-book is designated to embracing all of the approaches to writing typst documents. It's feasible to preview your documents by following approaches (like previewing normal documents):

Acknowledgement

More Repositories

1

tinymist

Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
Rust
498
star
2

typst.ts

Run Typst in JavaScriptWorld.
Rust
355
star
3

cosmo

Cosmo is a language replacing awful C++'s compile-time magics
Scala
5
star
4

aliali

Go
4
star
5

httpfs

filesystem like api to access any file via http or https protocol
TypeScript
4
star
6

influxdb-v2-client

c++11 flux api (influxdb v2)
C++
4
star
7

marktex

latex style extension for markdown
TypeScript
4
star
8

artisan

golang framework code generation
Go
4
star
9

tarus

Online Judge Engine Powered by runC, gVisor and other execution runtime
Go
4
star
10

topo

time graph
TypeScript
3
star
11

algorithm-tester

c++
C++
3
star
12

gdb-stack-trace

Python
3
star
13

cetz-editor

Simple visualized cetz editor
HTML
3
star
14

market

web course
Go
2
star
15

qemu-book

CSS
2
star
16

optee-for-hikey970

Makefile
1
star
17

arch-media-box-typst

Arch Linux 盒装安装媒介的小盒子
Typst
1
star
18

llvm-tutorial

C++
1
star
19

bmp-parser

simplest bmp encoder/decoder
Python
1
star
20

xp3-parser

decode kirikiri xp3 file into files
Go
1
star
21

marktex-vscode-language-support

MarkTeX Language Support for Visual Studio Code
1
star
22

net.io

Network Model Visualization
TypeScript
1
star
23

fuzzer-cov

fuzzer coverage tool, generate readable coverage report in html format
Python
1
star
24

PerfRdtsc

Use tsc on x86 Linux / Linux Kernel / Windows
C++
1
star
25

clusterfuzz-ex

Python
1
star
26

pycanalysis

Python
1
star
27

py-mconv

a command line tool for converting many formats of key-value data from files to files.
Python
1
star
28

ACM

C++
1
star
29

llvm-pascal-s

C++
1
star
30

gvm

Extensible virtual machine (toy).
Go
1
star