gb

command module
v0.0.0-...-eb6fe51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 4 Imported by: 0

README

gb

Work in progress. Plan is to make a note taking cli program with AES.

Disclaimer I'm not any expert in any of this. I'm making for my own use.

TO-DO

  • init command.
  • new command.
  • db json.
  • open command. // needs more work
  • edit command.
  • find more things

Example


~/fo/gb main
❯ go run . init # initializing
Bear in mind that you will never be able to change the pass :) so give a strong one
Enter the password:

defaltnotebook: default
editor: nvim

was written to "tmp/config.yml"

~/fo/gb main
❯ tree -a tmp/ # initial file tree
tmp/
├── config.yml
├── default
├── .gitignore
└── .key

2 directories, 3 files

~/fo/gb main
❯ go run . new # new note time stamp will be used

~/fo/gb main
❯ go run . new fo # new note with the name fo

~/fo/gb main
❯ tree -a tmp/
tmp/
├── config.yml
├── default
│   ├── 24-10-23_09-13-17-PM.md.enc
│   └── fo.md.enc
├── .gitignore
└── .key

2 directories, 5 files

~/fo/gb main
❯ cat tmp/default/24-10-23_09-13-17-PM.md.enc # encrypted hehe you cant read!
Kvv왾z][uùW&(Ϣ?n_I4l1Y⏎


Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
aes is helper package for gb cli app
aes is helper package for gb cli app
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳