Skip to content
/ journal Public

Convenient CLI for managing notes, todos, journals etc.

License

Notifications You must be signed in to change notification settings

lunjon/journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Journal

My go-to CLI tool for managing notes and to-dos.

Features:

  • Simple interface for taking journals
  • Workspaces: separate journals in different workspaces
    • For example work, home, etc.
  • Exporting (ZIP)
  • Templates
  • Encryption

Installation

Using cargo:

$ cargo install --locked --path .

Workspaces

A workspace is a group of related topics, e.g. "work". Using workspaces allows you to separate journals in to different directories.

If not used, journals are put into the "default" workspace.

When exporting, these are respected as well.

Templates

Use templates to create files with predefined content.

In order to define a template add the following to your configuration:

[template]
# The key is the file extension you define the template for.
# In this case it will define a template for markdown files.
md = """
---
created: {{DATE}}
---

# Title
"""

Note the following:

  • The template is defined using a multiline string
  • {{DATE}} is a placeholder string that will be replaced with the current date
  • Predefined placeholders:
    • {{DATE}}: the date when invoking the command

Export

jn support basic export functionality using jn export --target <target> [OPTIONS].

Zip

Running jn export --target zip creates a zip-archive named journals.{DATE}.zip.

Encryption

Journals can be encrypted by using a key. It uses symmetric encryption based on AES GCM.

About

Convenient CLI for managing notes, todos, journals etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published