
Imagine that someone has broken your heart, and what you want is to write down your feelings in a diary without distraction. Do you understand this feeling? Nothing? I don't know. I haven't had a heartbreak (or maybe I'm heartbroken, but I don't want to tell you).
But I still want to show you a wonderful minimalist open source note-keeping app to keep a journal.
This handy little program is Jrnl, which allows you to create, search, and view journal entries directly in the terminal.
Creating a new note with Jrnl is as simple as the following:
jrnl yesterday: I read an amazing article on It’s FOSS. I learn about a minimalist app called Jrnl, I should try it.
Looks simple, doesn't it? The keyword "yesterday" here is a trigger that saves your notes to yesterday's date. Remember, there's a reason it's called Jrnl (Diary). Its main purpose is to keep a diary.
If you like to keep a journal of your thoughts, or just want to give it a try, let me share some details about installation and use.
Install and use Jnrl on your Linux system
Jrnl can be installed with pipx or homebrew package managers.
I used Homebrew in my tests, so I'll list these steps. Start by getting Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
That's it! If you need more information, we have a detailed tutorial on installing Homebrew on Linux.
Once you have installed the Homebrew Package Manager, use it to install Jrnl:
brew install jrnl
After installation, just initialize jrnl and start writing your random ideas.
Do you remember the first example at the beginning of this article? Let's take another look at it!
jrnl yesterday: I read an amazing article in It’s FOSS. I learn about a minimalist app called Jrnl, I should try it.
In this line, I use commands
jrnl
Start the program next to a timestamp, in this case
yesterday
。 I wrote a colon
:
, indicates that I will start writing something that is marked in the first sentence
.?!:
(Here is a full stop.)
.
Everything previously included will be the title. Finally, everything next to this period will be considered the body of the file.
Currently, Jnrl has two modes: compose and view; the previous steps are used to compose an article, but if you want to view, for example, an article that has been written before, the syntax is also very simple, you just need to enter the next line.
jrnl -on yesterday
Think someone might read your diary and thoughts? You can also encrypt your entries.
That's it! Of course, Jrnl also has a lot of features that you can easily find in the following line:
jrnl --help
You can also refer to the documentation on its official website. Remember, in such an open source project, documentation is your best friend. Enjoy it!
summary
Of course, Jrnl isn't for everyone. Most command-line tools are not suitable. But if you live and breathe in the terminal and like to record your thoughts, it's for you.
Please don't forget to share your personal experience with us in the comments, or better yet, if you want more people to learn about this project, you can share this post on various communities and forums.
street : https://itsfoss.com/jrnl/
Author: Marco Carmona Title: lujun9972 Translator: Geekpi Proofreader: Wxy
This article was originally compiled by LCTT and published by Linux China