📝 Take notes quickly and expeditiously from terminal


License: MIT Anoncord

Installation

See the last release, where you can find binary files for your ecosystem

Curl:

curl -sfL https://raw.githubusercontent.com/anonistas/notya/main/install.sh | sh

Usage

Note: notya only available for local service (local machine database) for now.

Help:

Run notya help or notya -h to see default help.txt.

Use notya [command] --help for more information about a command.

Init:

Use notya init to initialize application.
(It isn't must actually, whenever you call any command of notya, it checks initialization status and if it isn't initialized, initializes app automatically).

Available commands:

Contributing

For information regarding contributions, please refer to CONTRIBUTING.md file.

Owner
Anon
An open source gangs community
Anon
Comments
  • Banner

    Banner

    One of the best things about a CLI application is Banner.

    We want to create a great banner for Notya, it could be a banner similar to the example below.

    Banner example
  • Rename command arguments

    Rename command arguments

    Currently rename could take only base note's title from arguments, and not the second title - new-title of note.

    It would be absolutely good if new-title could be passed as arguments or from flags:

    > notya rename new_title.txt my_new_note.txt
                       ||            ||
                    base file      new title
    
  • Version command

    Version command

    A simple command to display [current] version of the Notya.

    > notya version
    v0.1.2
    

    Note: version instance could be found at {pkg/constants.go} as > pkg.Version

  • Copy Command

    Copy Command

    -Make copy command independent from CGO-

    Current clipboard package 'causes a lot of problems while building binaries for different platforms. And the releaser package that we use, does not support compiling go files that use CGO.

    Anyways, we should avoid using CGO. the only package that needs CGO is the clipboard. Alternative -> Creating our writeClipboard() function, which'll execute platform-specific command, to copy file body to clipboard.

    Something similar to open-via-editor functionality: os.exec(..)

  • Take title for new note by arguments [create]

    Take title for new note by arguments [create]

    As a view, remove, edit and etc commands, has the ability to take note title that we wanna do some action with it, also, create should have the same functionality.

    Now, it's not available to call something: notya create new_note.txt actually we could but, it won't take new_note.txt as created note's title and would ask again for note's title.

  • Ability to create note with body in one command

    Ability to create note with body in one command

    Ability to create note with body in one command like git commit -m command: -b, --body

    notya create newnote -b "Note body here" notya create newnote -b "Note body here"

    See also issue 94

  • A file related command shouldn't list folders in all notes list

    A file related command shouldn't list folders in all notes list

    For example, here, in the case of the view command, folder-type nodes shouldn't be listed in the suggestion. Because the view command does nothing in case of calling for a folder.

    In case of calling the file related command with folder-type node path, CLI's repsonse should be an error:

     [X] <your-file-name> is not a file, you can't execute file-related commands on it.
    

    Screen Shot 2022-12-05 at 16 25 33
  • A command for connecting remote service (currently firebase only)

    A command for connecting remote service (currently firebase only)

    We need a command, or a flag/subcommand to the settings command to provide a simple way of connecting remote service to the application.

    For example: remote command

    notya remote connect
    [?] Choose a remote-service type:
    > FIREBASE
    

    or notya remote connect "FIREBASE"

    notya remote disconnect
    [?] Choose a remote-service type:
    > FIREBASE
    

    or notya remote disconnect "FIREBASE"

  • [CLI] - Redesign settings command

    [CLI] - Redesign settings command

    Current settings is definitely suck, even for myself it is hard to figure out some customizations. it has to be redesigned by improving the user-experience or (programmer experience)

  • [CLI] - firebase foldering

    [CLI] - firebase foldering

    Current version of firebase connection has no foldering functionality. That means you can not upload your folders to the connected firebase (firestore)collection.

  • Rust rewrite

    Rust rewrite

    Decided to rewrite entire CLI application with Rust programming language.

    Go is great for Microservices and cloud base applications, but by getting more and more stuff to done with go, the simplicity causes too many issues. I won't spend my time by comparing Go(lang) and Rust. Go is good, And also rust is good, but +1 point for CLI flexibility.

  • Make command args more like github

    Make command args more like github

    as the command line interface of this is going to be used by developers mostly, it will be a good idea to make command line arguments more like GitHub:

    • notya add [notename]
    • notya -d, --delete [note Id or anything that identifies the note]
    • notya push
    • notya restore
  • [CLI] - programmable command

    [CLI] - programmable command

    The programmable command, which gonna be a command itself like ("alias", "short" etc...)
    and it gonna have a list of sub actions (identified with their names).
    Like:

    notya short clean                                                                                      
    
    • "And it will look up for the registered "clean" action find it and execute".

    After implementing this functionality, the create command's "edit-ask" operation should be removed.
    Because, with this functionality users gonna be able to create and program in low-level their commands. So, if user wants to create something like:

    • create a file and open it via editor, this definetly could be an short command.
      That first calls for the "create" command and then the edit command.
  • [CLI] - one-time note

    [CLI] - one-time note

    A flag to create command. Which gonna create note, edit it via editor automatically and when you done with it, it gonna copy it automatically and remove.

    notya create --onetime

    title: ... ... editing ... wanna copy ?

  • [CLI] - notya M1 binary support

    [CLI] - notya M1 binary support

    Information

    • Machine: [e.g: MacBook Air - Apple Silicon M1]
    • OS: [MacOS Monterey 12.4]
    • Version [v.0.1.3]
    • The way you installed notya.

    Both installation ways gives me these errors:

    Screen Shot 2022-05-19 at 22 26 29 Screen Shot 2022-05-19 at 22 26 50
  • [CLI] - Web to Note

    [CLI] - Web to Note

    A clone command, that could be able to fetch a web page(from provided URL), convert it to pure text, and generate a note file automatically (appropriate to that file).

    Example:

    notya clone https://github.com/anonistas/notya/blob/main/README.md
    

    To make that web-to-text parser accessible from each platform(CLI/mobile(coming-soon)), we should provide a simple API(instead of putting the main parser into the notya-cli) to generate text from web pages.

    https://localhost:8080/<url>
    
  • [CLI] - Custom help txt

    [CLI] - Custom help txt

    In the current version, notya uses cobra's auto-generated help txt. To make it better look we should use our custom one.

    Something like:

      _   _    ___    _____  __   __    _
     | \ | |  / _ \  |_   _| \ \ / /   / \
     |  \| | | | | |   | |    \   /   / _ \
     | |\  | | |_| |   | |     | |   / ___ \
     |_| \_|  \___/    |_|     |_|  /_/   \_\
    
     Usage: notya [command]
     Take notes quickly and expeditiously
    
     Common Commands
    ╭──────────────────────────────────────────────────╮
    │ init           Initialize application            │
    │ settings       Customize defaults & behavior     │
    │                                                  │
    │ view           Print note's metadata             │
    │ list           Print a list of all notes         │
    │ create         Create new note file              │
    │ remove         Remove exiting note file          │
    │ edit           Edit note with editor             │
    │ rename         Rename note file                  │
    ╰──────────────────────────────────────────────────╯
    
     For more info on a specific command, use:
      > notya help [command]
    
    

    Requirements:

    • The banner should be pure white
    • Usage: notya [command] should be grey.
    • Take notes quickly and expeditiously should be grey.
    • Common Commands title should be colorized [purple, yellow etc ...]
    • For more info on a specific command, use: title should be with 0.5 opacity.
    • > notya help [command] should be pure white.
textnote is a command line tool for quickly creating and managing daily plain text notes.

textnote is a command line tool for quickly creating and managing daily plain text notes. It is designed for ease of use to encourage the practice of daily, organized note taking. textnote intentionally facilitates only the management (creation, opening, organizing, and consolidated archiving) of notes, following the philosophy that notes are best written in a text editor and not via a CLI.

Jan 2, 2023
A very simple note-taking CLI you can use from the terminal that uses a SQLite DB to persist, and query, notes.

Note Logger Summary A very simple note-taking CLI you can use from the terminal that uses a SQLite DB to persist, and query, notes. Building/Installin

Apr 14, 2022
Libraries and CLIs for my personal all-in-one productivity system including components like bookmarks, notes, todos, projects, etc.

bntp.go Libraries and CLIs for my personal all-in-one productivity system including components like bookmarks, notes, todos, projects, etc. Neovim int

Sep 13, 2022
gomerge is a tool to quickly bulk merge several pull requests from your terminal.
gomerge is a tool to quickly bulk merge several pull requests from your terminal.

Gomerge is a tool to quickly enable you to bulk merge Github pull requests from your terminal. The intention of this tool is to simplfy, and eventually automate the merging of github pull requests. This tool should be able to run on most systems.

Dec 28, 2022
Snippet CLI manger for quickly using code snippets without leaving the terminal
Snippet CLI manger for quickly using code snippets without leaving the terminal

SnipKit - Snippet CLI manager This repository is still work in progress! SnipKit aims to paste code snippets from your favorite snippet manager into y

Dec 27, 2022
Demonstrating how you can take an action to your intrusions detected by Falco using OpenFaaS functions
Demonstrating how you can take an action to your intrusions detected by Falco using OpenFaaS functions

Kubernetes Response Engine powered by OpenFaaS Although Falco can be used to detect any intrusion attempts and sends alerts to channels according to t

Aug 22, 2022
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.

Stonks is a terminal based stock visualizer and tracker. Installation Requirements: golang >= 1.13 Manual Clone the repo Run make && make install Pack

Dec 16, 2022
F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!
F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!

F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely.

Dec 31, 2022
sttr is command line software that allows you to quickly run various transformation operations on the string.
sttr is command line software that allows you to quickly run various transformation operations on the string.

sttr is command line software that allows you to quickly run various transformation operations on the string.

Sep 21, 2021
A simple CLI tool to use the _simulate API of elasticsearch to quickly test pipelines

elasticsearch-pipeline-tester A simple CLI tool to use the _simulate API of elasticsearch to quickly test pipelines usage: pipelinetester [<flags>] <p

Oct 19, 2021
A fork of k3sup that lets you quickly deploy RKE2 clusters via the CLI.

k2sup This is an awful hack of a fork of Alex Ellis' k3sup - a light-weight utility to get from zero to KUBECONFIG, originally with K3s but now with R

Dec 12, 2022
A command line tool for quickly converting Unix timestamps to human readable form.

stamp A command line tool to quickly format a Unix timestamp in a human-readable form. Installation Go is required to build this software. To just bui

Oct 30, 2021
From the command line, quickly explore data from a CSV file.
From the command line, quickly explore data from a CSV file.

shallow-explore From the command line, quickly explore data from a CSV file. shallow-explore is a Golang backed command-line tool for iterating over c

Nov 10, 2022
Terminal stock ticker with live updates and position tracking
Terminal stock ticker with live updates and position tracking

Ticker Terminal stock watcher and stock position tracker Features Live stock price quotes Track value of your stock positions Support for multiple cos

Jan 8, 2023
A modern and intuitive terminal-based text editor
A modern and intuitive terminal-based text editor

micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals

Jan 7, 2023
Pi-hole data right from your terminal. Live updating view, query history extraction and more!
Pi-hole data right from your terminal. Live updating view, query history extraction and more!

Pi-CLI Pi-CLI is a command line program used to view data from a Pi-Hole instance directly in your terminal.

Dec 12, 2022
A wrapper around cd and xdg-open to use aliases to directory paths in terminal

CDD - Change directories Dynamically I am a lazy linux user and turns out that basic tab completion wasn't enough for me to navigate through my direct

Dec 15, 2022
A terminal based graphical activity monitor inspired by gtop and vtop
A terminal based graphical activity monitor inspired by gtop and vtop

NO LONGER MAINTAINED. A maintained fork of gotop exists at https://github.com/xxxserxxx/gotop. Another terminal based graphical activity monitor, insp

Jan 1, 2023
Cryptocurrencies prices and graph on the terminal
Cryptocurrencies prices and graph on the terminal

Go How Much? Inspired by https://github.com/monodyle/howmuch Crypto coin price tracking on terminal. Install Source Requirement Go 1.16 Build binary

Oct 4, 2022