https://github.com/jrswab/lsq Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} jrswab / lsq Public * Notifications You must be signed in to change notification settings * Fork 1 * Star 11 A command-line tool for quickly creating and editing Logseq journal entries with both TUI and external editor support. License GPL-3.0 license 11 stars 1 fork Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 1 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights jrswab/lsq master BranchesTags [ ] Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 17 Commits .github/workflows .github/ workflows config config editor editor todo todo tui tui .gitignore .gitignore LICENSE LICENSE README.md README.md go.mod go.mod go.sum go.sum main.go main.go View all files Repository files navigation * README * GPL-3.0 license 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. Topics terminal notes logseq Resources Readme License GPL-3.0 license Activity Stars 11 stars Watchers 1 watching Forks 1 fork Report repository Releases No releases published Languages * Go 100.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.