📙FuzPad!
FuzPad is a minimalistic note management solution. Powered by ⚡junegunn/fzf⚡
Features
- New: Create a new note with the current date and time as the filename.
- Open: Open an existing note.
- Search: Search within notes for specific content.
- Delete: Delete selected notes.
- Version control: Automatically commits changes to your notes.
Planned Features
- Tags: tagging system
- Make an installer: use brew for packaging
- CLI: create a cli that allows piping, etc.
Goals
- Provide a straightforward and minimalistic note management solution using a Bash script.
- Ensure ease of use with intuitive commands and interface.
Requirements
Usage
- Clone the repository:
git clone https://github.com/JianZcar/notes-bash.git
cd notes-bash
- Make the script executable:
chmod +x bin/notes
- Run the script:
./bin/notes
Configuration
-
Default Directory: Change the default directory for notes by modifying the
FUZPAD_DIRvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_DIR="$HOME/Documents/.notes"
-
Text Editor: Change the text editor by modifying the
EDITORvariable in the script or by setting it in your~/.bashrcfile:
export EDITOR="nano"
-
Text Format: Change the text format by modifying the
TEXT_FORMATvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_TEXT_FORMAT="txt"
-
Date Time Format: Change the date and time format used for note filenames by modifying the
DATE_TIME_FORMATvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_DATE_TIME_FORMAT="%Y-%m-%d-%H-%M-%S"
-
BAT Theme: Change the theme used by
batfor previewing notes by modifying theBAT_THEMEvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_BAT_THEME="OneHalfLight"
-
Reverse List: Set to
trueto reverse the order of the list when opening or deleting notes by modifying theREVERSE_LISTvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_REVERSE_LIST="false"
-
Sort Format: Change the sorting format for listing notes (
T@for creation date,Yfor modified date) by modifying theSORT_FORMATvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_SORT_FORMAT="T@"
-
Preview Size: Change the size of the preview window for
fzfby modifying thePREVIEW_SIZEvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_PREVIEW_SIZE="70%"
-
Start Line Search Preview: Set the starting line number for the search preview by modifying the
START_LINE_SEARCH_PREVIEWvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_START_LINE_SEARCH_PREVIEW="5"
-
End Line Search Preview: Set the ending line number for the search preview by modifying the
END_LINE_SEARCH_PREVIEWvariable in the script or by setting it in your~/.bashrcfile:
export FUZPAD_END_LINE_SEARCH_PREVIEW="9999"
After adding the necessary variables to your ~/.bashrc file, remember to source it to apply the changes:
source ~/.bashrc
Contributing
Feel free to fork the repository and submit pull requests. Contributions are welcome.
Happy notetaking




Top comments (0)