Git Product home page Git Product logo

makenote's Introduction

نسخه فارسی این سند

makenote

a command line tool for making diary or journals.

asciicast

installation

there are a few methods for installation

using pip

easiest way is to install it using pip:

  1. install package
pip install makenote

for some new Gnu distros you need to use pipx.

pipx install makenote
  1. add ~/.local/bin to path if needed. (help)

build for pip

  1. build the package
pip install setuptools wheel
git clone 'https://github.com/ekm507/makenote'
cd makenote
python3 setup.py bdist_wheel
  1. install the package
pip install ./dist/*.whl

without pip (old method)

  1. clone this repo and cd into it.
  2. run install_local.sh
  3. add ~/.local/bin to path if needed. (help)

usage

adding notes

to add note to a specified table, run this:

makenote [-t <table_name>] <note_text>

in which note text is the note you want to be added.

for example:

makenote I am reading page 754 of the book

this tool can also get input from stdin. so you can add notes like this:

echo "I installed makenote tool" | makenote --table journals

if you do not specify table_name, then note will be stored in default table which is journals.

creating tables

this tool uses different tables for storing notes.
for example you can classify your notes in "journals", "tasks", "work", etc.

to create a table, run this:

makenote --create <table_name>

in which <table_name> is the name of table you want to be created.

listing tables

to get a list of tables you have created, run this:

makenote --list

showing records

to see the notes you have stored in a table, run this:

makenote --show [<table_name>]

if you do not specify table_name, the default table will be shown.

getting help

run:

makenote -h

export all notes

database file is stored in path below:

~/.local/share/makenote/databases/diaryFile.db

for backing notes up, just copy the file into somewhere.

for restoring, just copy the diaryFile.db into the path.

makenote's People

Contributors

ekm507 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

makenote's Issues

add ability to merge databases

Hi!
it might be a common practice to run makenote on two devices and add notes on different databases.
makenote should have a way to merge them into one bigger file which has data from both of them.
since time entries in tables are promised to ordered, merged results shall be ordered as well.

افزودن نماگرفت

یک نماگرفت مناسب باید در کنار ویدیو به صفحهٔ اول پروژه افزوده شود.
پیشنهاد:
Screenshot_20221125_184925

import and export Method

hi , in importing and exporting data from one machine to another machine, i think it's not a good method

it's not better to add a option to script like -e or -i

example:
-- $ makenote -e[--export] location

and app automaticlly create a csv file in path that user typed?
and in other machine using command

-- $ makenote -i[--import] location

we can import data from csv file to db file

in more advance way we can also let users select the type of export file like : csv,txt,tsv and ...

in this method user actully can use data in other apps as well

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.