Skip to content
/ note Public

A simple note taking utility for temporary notes

License

Notifications You must be signed in to change notification settings

NewDawn0/note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

note

A simple note taking utility for temporary notes

Installation

Building from source using Go

git clone https://github.com/NewDawn0/note.git
cd note
go build
sudo mv ./note /usr/local/bin/

Using Nix

Imperatively

git clone https://github.com/NewDawn0/note
nix profile install .

Declaratively

  1. Add it as an input to your system flake as follows

    {
      inputs = {
        # Your other inputs ...
        note = {
          url = "github:NewDawn0/note";
          inputs.nixpkgs.follows = "nixpkgs";
          # Optional: If you use nix-systems
          inputs.nix-systems.follows = "nix-systems"
        };
      };
    }
  2. Add this to your overlays to expose note to your pkgs

    overlays = [ inputs.note.overlays.default ];
  3. Then you can either install it in your environment.systemPackages using

    environment.systemPackages = with pkgs; [ note ];

    or install it to your home.packages

    home.packages = with pkgs; [ note ];

Usage

# This will open a new note markdown in your $EDITOR
note

# Use note --help to see all the use cases
# Output of note --help
Usage of note:
  -args string
    	Text editor arguments used
  -ed string
    	Text editor used : (If unset $EDITOR is used) (default "nvim")
  -ext string
    	File extension of the note (default "md")

About

A simple note taking utility for temporary notes

Resources

License

Stars

Watchers

Forks

Packages

No packages published