Commit Graph

1835 Commits

Author SHA1 Message Date
Arun Prakash Jana
aa595325bd Add Makefile and manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 01:01:07 +05:30
Arun Prakash Jana
83b9edb529 Comments, indentation for clarity.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 00:26:52 +05:30
Arun Prakash Jana
78c0c639e6 Add debug options.
Vaiable name changes.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:49:12 +05:30
Arun Prakash Jana
6df582db2a Better search.
The input keywords, combined as a single tag, are used to match against tags for each bookmark entry. Partial matches (but in same sequence) are accepted.
The same input keywords are also used to search title metadata. Even if a single keyword is found in URL or title metadata the bookmark is shown in results.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:14:35 +05:30
Arun Prakash Jana
3a89429079 Change DB file location.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:49:59 +05:30
Arun Prakash Jana
c68ee3c764 Implemented ifirst level server redirection handling.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:36:46 +05:30
Arun Prakash Jana
268bdffb64 1. Allow insert at index to fill up missing entries after delete
2. Close DB connection before showing usage
3. Reformat help

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:40:21 +05:30
Arun Prakash Jana
52b85a63dd Opening browser with clean URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:18:53 +05:30
Arun Prakash Jana
84ac223562 1. Removed AUTOINCREMENT for primary key
2. Cleaned URL before opening in webbrowser

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:17:24 +05:30
Arun Prakash Jana
3c8112a90f More clarity in search output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 20:38:15 +05:30
Arun Prakash Jana
db63d3f44b 1. Add option to delete single entry
2. Support both HTTP and HTTPS connections based on URL
3. Merged add and update options
4. Print exception info

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 18:59:38 +05:30
Arun Prakash Jana
dcf8abaf78 Show page title metadata in search results.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:59:40 +05:30
Arun Prakash Jana
c0a5f7f2b5 Add option to search title data online.
Handle HTTPS connection error, exception.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:49:13 +05:30
Arun Prakash Jana
69a4d9f994 Implement HTTPS connection.
Fetch URL and get the title to store as metadata.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:37:15 +05:30
Arun Prakash Jana
bc567174bc HTML title parser implementation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:02:08 +05:30
Arun Prakash Jana
775ec7fdd3 Added some color to output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 02:15:30 +05:30
Arun Prakash Jana
59d3d2aec6 Suppress browser warnings and errors.
Discard negative index, though valid in python.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:56:08 +05:30
Arun Prakash Jana
c4dbee4aed Open results in web browser.
Add check for no options passed.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:29:57 +05:30
Arun Prakash Jana
6b520f802d Print irl, tags, metadata in separate lines
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 00:56:20 +05:30
Arun Prakash Jana
304e63cf18 Notify user when no row updated.
Match partial tags.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-06 09:58:44 +05:30
Arun Prakash Jana
b70f7d65f1 Clear printing.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-06 09:17:25 +05:30
Arun Prakash Jana
e213b60242 Implement entry update feature.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-06 09:10:44 +05:30
Arun Prakash Jana
5af4f387e0 Cleaner search results.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-06 00:03:00 +05:30
Arun Prakash Jana
068365114b Search a single tag or keyword.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-05 23:56:02 +05:30
Arun Prakash Jana
cd475a4387 Add delete option in help.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-05 20:55:11 +05:30
Arun Prakash Jana
b06bf73ded Distint functions, add, print, delete options
Exception handling is value is not unique

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-05 20:48:51 +05:30
Arun Prakash Jana
1f12afc85e Implement comma (,) sseparated tags.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-05 09:24:10 +05:30
Arun Prakash Jana
a3cf3da6fa Changes to add URL and tags to DB.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-05 00:37:10 +05:30
Arun Prakash Jana
4778028a74 Added usage and option parser.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-04 19:41:16 +05:30
Arun Prakash Jana
c3d3511e12 Fixed table name, added a primary key.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-04 18:17:05 +05:30
Arun Prakash Jana
384e40e061 Update README.md 2015-11-02 02:15:51 +05:30
Arun Prakash Jana
9b5a0012e2 Changed table name.
Added License + Copyright info and comments.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-02 01:38:45 +05:30
Arun Prakash Jana
f0327ae980 Initial commit.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-02 01:34:41 +05:30
Arun Prakash Jana
246d4fac72 Update README.md 2015-11-02 01:32:14 +05:30
Arun Prakash Jana
ac9d15f8ba Initial commit 2015-11-02 01:23:18 +05:30