Making documentation enjoyable to read directly in the terminal.
Project details
Bastian transforms the way documentation is consumed by allowing users to read Markdown files in a beautifully formatted terminal interface. With features like highlighted code, tables of contents, and live reload, it enhances the user experience for both browsing folders and individual files. Explore Markdown effortlessly with bastian.
bastian is a comprehensive terminal-based Markdown reader and file browser TUI designed to enhance the documentation experience directly in the terminal. It effortlessly discovers Markdown files in a specified folder, presenting them with features such as fitted tables, syntax-highlighted code, clickable links, images, a navigable table of contents, search functionality, and live reload capabilities.
Whether reading a single document or a collection of files, bastian supports multiple input methods, including local files, stdin, URLs, and even repositories from GitHub or GitLab. Code blocks from runbooks can be executed right within the application, making it an efficient tool for both reading and coding.
bastian README.md # Read a file in the TUI
bastian - # Read from stdin
cat notes.md | bastian # Pipe input
bastian https://example.com/doc.md # Read Markdown from a URL
Execute code blocks natively within bastian with seamless output handling, allowing users to run scripts without leaving the reading environment. For instance:
echo "hello from $(basename "$PWD")"
uname -sm
Overall, bastian transforms the simple task of reading Markdown documentation into an engaging and productive experience, right from the terminal.
Comments
0Start the conversation
Share the first comment.