5 releases
0.4.0 | Aug 19, 2024 |
---|---|
0.3.6 | Jul 29, 2024 |
0.3.4 | Jul 29, 2024 |
0.3.3 | Jul 21, 2024 |
0.3.1 | Jul 21, 2024 |
#121 in Command-line interface
134 downloads per month
235KB
3.5K
SLoC
🌱 Rucola
Terminal-based markdown note manager to view statistics, explore connections and launch editing and viewing applications.
Contents
Features
- Present users of a zettelkasten-like note system of interlinked markdown files with high-level information & statistics about their notes.
- Show the same information about filtered subsets of notes, as well as their relation with the entire note set.
- Allow the user to view and follow links and backlinks of a single note to see connections within their note graph.
- Allow the user to make small edits such as renaming or moving notes from within the application.
- Provide easy access to a powerful, external text editor for editing notes.
- Optionally compile notes to HTML-documents, including LaTeX compilation and code highlighting, on the fly and show them in an external viewer.
- Provide all of this functionality from within a terminal user interface.
Images
In the select & overview screen:
Viewing a single note:
A default light theme is also included.
[!TIP] Default themes will adjust to your terminal colors, but the entire style can be fully customized.
Target Audience and Similar Programs
Rucolas is made for users of a zettelkasten-style note system of interlinked markdown notes that want to do most of their note taking directly from within the terminal.
Compared to UI-note taking tools such as Obsidian, Evernote or Notion ...
- rucola is much more light-weight, using no GUI, no web interface, no Electron, making it faster to open and more responsive to use, particularly on older hardware. Note that viewing your notes as HTML still requires a browser or other HTML viewer.
- rucola provides easy access to edit notes in your favorite terminal text editor such as vim, emacs or helix, thus allowing a far more powerful editing interface. Although Obsidian provides vim keybindings via plugins, rucola allows you to edit in exactly the editing environment you are used to with all your vim plugins and other comfort settings ready to go.
- rucola currently offers less extensibility and thus probably also less powerful statistics, in particular no graph view.
- rucola relies on an external program to view HTML versions of your markdown notes, allowing once again more customizability (for example with the rich plugin system of browsers like firefox or chrome) as well as more conformity to your usual workflow.
- rucola is not a single all-in-one application but works as a note browser that also glues an HTML viewer to an editor.
Compared to using only a terminal text editor (such as vim, emacs or helix) to manage markdown notes ...
- rucola allows more note-specific interaction with your file system, such as following wiki links.
- rucola provides note-specific statistics about your files, such as tags, nested tags and links statistics.
- rucola facilitates more note-specific filtering and searching options based on links, tags, full text or titles.
- rucola automatically renames wiki links on file rename, which the marksman language server currently does not support, making such a feature unavailable in helix and any other editor relying on LSP for markdown editing.
- rucola allows you to view nicer-to-read HTML versions of your documents, complete with automatic background conversion (when enabled), which is especially useful for code that is difficult to read in the raw format. In particular, rucola compiles LaTeX and highlights code blocks.
- rucola requires the usage of multiple programs in parallel instead of just your editor.
[!TIP] Most text editors or terminal emulators provide some way to open a file in an already running instance - open rucola and your favourite editor next to one another and use rucola like a more note-specific file picker.
Future Features
The current version supports all features originally envisioned for this project and has been tested in daily use for some months. This does not mean that development is finished. Future plans include:
- Frequent & quick bugfixes and similar non-breaking changes.
- Incorporate user feedback into new features without losing sight of the original scope to also make rucola integrate into your workflow.
- As development on the underlying markdown parser comrak continues, especially support for wikilinks, certain internal algorithms can be made more safe & efficient (especially link updating on name changes). This is dependent on the progress on comrak.
- As development on the ratatui markdown reader continues, a possible future option would be to allow viewing of markdown files right within rucola. This is dependent on the progress on ratatui-markdown.
Installation
Rucola has no requirements, but a Nerd font may be required on your machine to display some of the icons properly.
Installation Scripts & Tarballs
For installation instructions via shell script, .msi
, homebrew or tarball, see the latest release.
These installers are generated using cargo dist
and are provided for Windows, Mac and Linux.
Arch Linux
You can install rucola
from the official repositories using pacman:
pacman -S rucola
Crates.io
Install using cargo
from crates.io
:
cargo install --locked rucola-notes
Manual Build
If you want to build the latest commit of rucola by yourself, you can clone the repository, build & install:
git clone https://github.com/Linus-Mussmaecher/rucola
cd rucola
cargo install --locked --path .
Usage
Rucola can be launched from your command line with the rucola
command.
[!TIP] For more information on possible configuration options, features and usage tips, see the GitHub Wiki.
Configuration
Rucola requires three configuation files:
config.toml
: The main TOML configuration file. See the Wiki for its entries.<style>.toml
: A TOML style file to customize the appearance of rucola itself. The exact name is given inconfig.toml
. See the Wiki for its entries.<cssstyle>.css
: A CSS style file to customize the appearance of the HTML files created when converting markdown notes.
One default config file, 2 TOML style files (light & dark theme) and 2 CSS style files (light & dark theme) can be found in this repository's default_config
folder.
These files should be installed on your system by any install method into rucola's default config folder.
See the Wiki for that folders expected location.
Technology
Rucola is implemented using the ratatui framework in Rust. Markdown parsing is done via comrak.
LaTeX compilation & macro system is facilitated by KaTeX while code highlighting is done with highlight.js.
License
Rucola is released under the GNU General Public License v3.
Copyright (C) 2024 Linus Mußmächer linus.mussmaecher@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Dependencies
~17–32MB
~477K SLoC