Skip to content

nulldutra/sn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sn

A TUI (Terminal User Interface) notes app inspired by Obsidian, built with Ratatui.

Requirements

  • Rust 1.74+ (2021 edition)

Build

cargo build --release

Releases

Prebuilt binaries for Linux, macOS, and Windows are attached to GitHub Releases.

Usage

cargo run
# or
cargo run --release

Optional environment variables:

Variable Description Default
SN_NOTES_DIR Notes directory ./notes
SN_LEFT_WIDTH Left panel width (columns) 32

Interface

  • Left panel: note list (.md and .txt files)
  • Right panel: rendered Markdown preview (raw text while editing)

Keybindings

Key Action
a Create a new note
i Edit selected note
Esc Save and exit edit mode
/ Navigate notes
j / k Navigate notes
[ / ] Scroll note content
g / G First / last note
q / Esc Quit

License

BSD 2-Clause — see LICENSE.

About

A TUI (Terminal User Interface) notes app, built with Ratatui.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages