8000 GitHub - kandros/lsq: A command-line tool for quickly creating and editing Logseq journal entries with both TUI and external editor support. · GitHub
[go: up one dir, main page]

Skip to content
kandrosPublic
forked from jrswab/lsq

About

A command-line tool for quickly creating and editing Logseq journal entries with both TUI and external editor support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

lsq

A command-line tool for rapid journal entry creation in Logseq, featuring both TUI and external editor support.

Features

  • Terminal User Interface (TUI) with real-time editing
  • External editor integration (vim by default)
  • Automatic journal file creation
  • Support for both Markdown and Org formats
  • Configurable file naming format
  • Customizable Logseq directory location

Installation

go install github.com/jrswab/lsq@latest

Usage

Basic usage:

lsq

This opens today's journal in your default editor (EDITOR environment variable).

Command Line Options

  • -t: Use the built-in TUI instead of external editor
  • -d: Specify Logseq directory name (default: "Logseq")
  • -l: Specify Logseq config directory name (default: "logseq")
  • -c: Specify config filename (default: "config.edn")
  • -e: Set editor environment variable (default: "EDITOR")

TUI Controls

  • Ctrl+S: Save current file
  • Ctrl+C: Quit
  • Ctrl+T: Cycle through TODO states on current line
  • Ctrl+P: Cycle through priority states on current line
  • Arrow keys: Navigate through text

Configuration

LSQ reads your Logseq configuration from config.edn. Supported settings:

  • meta/version: Configuration version
  • preferred-format: File format ("Markdown" or "Org")
  • journal/file-name-format: Date format for journal files (e.g., "yyyy_MM_dd")

Dependencies

  • Bubble Tea: Terminal UI framework
  • EDN: Configuration file parsing

License

GPL v3

About

A command-line tool for quickly creating and editing Logseq journal entries with both TUI and external editor support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0