Skip to content
/ nao Public
forked from Nquxii/nao

Easy to use, productivity oriented terminal bot written in python3.

Notifications You must be signed in to change notification settings

jamunano/nao

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nao.py - Never leave your terminal!

Nao.py is a simple terminal bot that outlines your day and displays what you need it to. Get your boost for the day and move forward with your goals.

looking for contributors, please contact

alt text

Setup

To get started with nao, clone this repository, change your directory into nao, and run the script like so:

git clone https://github.com/Nquxii/nao.py

cd nao

python3 nao.py

these commands should get you started.

-n Name sets your name as 'Name'

-c SCHD adds category 'SCHD'

-d, 1, Math Class adds 'Math Class' to your SCHD category

Nao uses json to store and grab information. if you'd like, you can skip the setup entirely and modify the json, in the same folder.

once you've gotten setup with nao, you can now freely use nao and modify your configuration.

Usage and basic commands

here are all of nao's listed commands. There are examples for clarification.

Command Description Usage Example
x exit nao x nao>>x
q display another quote q nao>>q
h show all nao commands h nao>>h
t display the current time t nao>>t
-n add (or change) your name -n -n Eren
-t add another to-do to nao -t {subject} -t Walk the dog
-rt remove a to-do from nao -rt {number of todo} -rt 2
-c add a new category to nao -c {topic} -c SCHD
-rc remove a category from nao -rc {number of user defined category} -rc 1
-d add a description to one of your categories -d, {number of user defined category}, {what you want to input there} -d, 2, visit gran
-rd remove part of a description from one of your categories -rd, {number of user defined category}, {what you want to remove there} -rd, 2, visit gran

todo vs user defined categories

if you start up nao without any added categories, youll get something like this:

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO]  

to add a todo, there is lack of flexibility and you are forced to use commas to index the to-do properly

-t go for a walk

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk  

-t visit dad

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk, visit dad  

when you make your own categories, there is no set divisor and you remove your descriptions by string

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk  

-c PRGM

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk  
[PRGM]  

-d, 1, Learn Python

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk  
[PRGM] Learn Python  

rd, 1, Python

[TIME] 5:00  
[DATE] 01/26/2021  
[TODO] go for a walk  
[PRGM] Learn  

this should give you some knowledge as to how the category system works, it removes strings, not indexed variables.

Thank you for viewing. I hope you find the script useful.

About

Easy to use, productivity oriented terminal bot written in python3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%