_________ _ _______ _________ _______
\__ __/( ( /|( ___ )\__ __/( ____ \
) ( | \ ( || ( ) | ) ( | ( \/
| | | \ | || | | | | | | (__
| | | (\ \) || | | | | | | __)
| | | | \ || | | | | | | (
| | | ) \ || (___) | | | | (____/\
)_( |/ )_)(_______) )_( (_______/
A dead simple command line note taking app for you, built while learning peewee (ORM)
Watch a live demo of it working here
Here's the link to previous version if you are interested!
- Dead simple to use. Even your granny would be able to use it. No seriously!
- Written in uncomplicated python
- Supports full text search for notes
- Adds timestamp for each note which has been added.
-
$ git clone https://github.com/prodicus/tnote
-
$ cd tnote && pip install -r requirements.txt
Fire it up! 🌋
$ ./journal.py
This app was created in a timespan of 2 hours while learning to use peewee. So don't be shy to make some PR's here 😄
NOTE
I am using Sqlite as the db and the schema of the database is like this
$ sqlite3 diary.db
-- Loading resources from /home/tasdik/.sqliterc
SQLite version 3.8.6 2014-08-15 11:46:33
Enter ".help" for usage hints.
sqlite> .schema
CREATE TABLE "diaryentry" ("id" INTEGER NOT NULL PRIMARY KEY, "title" VARCHAR(255) NOT NULL, "content" TEXT NOT NULL, "timestamp" DATETIME NOT NULL, "tags" VARCHAR(255) NOT NULL);
sqlite> .tables
diaryentry
sqlite> pragma table_info([diaryentry]);
cid name type notnull dflt_value pk
---------- ---------- ---------- ---------- ---------- ----------
0 id INTEGER 1 1
1 title VARCHAR(25 1 0
2 content TEXT 1 0
3 timestamp DATETIME 1 0
4 tags VARCHAR(25 1 0
sqlite>
- Add python2 support
- Add tags support for notes
- Add option to add title for notes
- Add option to search for notes using content
- Add option to search for notes using tags
- Add option to search for notes using title
- Add option to search for notes using timestamp
- Make it pip installable
- Encrypt the
.db
file using Sqlcipher - Add colorized text to the notes for improved UI
- Add better UI using urwid
A big shout out to all the contributers, more specifically to these guys
You can report the bugs at the issue tracker
OR
You can tweet me if you can't get it to work. In fact, you should tweet me anyway.
Built with ♥ by Tasdik Rahman under MIT License
You can find a copy of the License at http://prodicus.mit-license.org/