-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix fts5 operation error, basic type detection
- sqlite3.operationalerror fix - basic type detection - update readme
- Loading branch information
Showing
5 changed files
with
139 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,101 @@ | ||
# knovleks | ||
Personal Search Engine for different types of resources | ||
# Knovleks | ||
|
||
Personal Search Engine for different types of resources. | ||
|
||
![Screenshot of Knovleks TUI](https://user-images.githubusercontent.com/4940804/175700234-41b43332-7031-4852-a397-d6af8a8577d2.png) | ||
|
||
Knovleks can currently index websites, pdf files and text notes. | ||
|
||
- [Install](#install) | ||
- [Usage](#usage) | ||
* [Index](#index) | ||
* [Search](#search) | ||
* [Tag filter](#tag-filter) | ||
* [TUI](#tui) | ||
+ [Searchbar focused](#searchbar-focused) | ||
+ [Results focused](#results-focused) | ||
|
||
## Install | ||
|
||
``` | ||
pip install knovleks | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: knovleks [OPTIONS] COMMAND [ARGS]... | ||
Options: | ||
-h, --help Show this message and exit. | ||
Commands: | ||
index | ||
search full-text search | ||
tag-filter tag filter | ||
tui terminal user interface (experimental) | ||
``` | ||
|
||
### Index | ||
|
||
``` | ||
Usage: knovleks index [OPTIONS] DOCUMENT | ||
Options: | ||
-t, --tag TEXT | ||
--title TEXT | ||
-d, --type, --document-type TEXT | ||
-h, --help Show this message and exit. | ||
``` | ||
|
||
### Search | ||
|
||
``` | ||
Usage: knovleks search [OPTIONS] QUERY | ||
full-text search | ||
Options: | ||
-t, --tag TEXT | ||
-st, --show-tags | ||
-l, --limit INTEGER | ||
-dt, --doc-type TEXT | ||
-ft, --full-text display full text | ||
-h, --help Show this message and exit. | ||
``` | ||
|
||
### Tag filter | ||
|
||
``` | ||
Usage: knovleks tag-filter [OPTIONS] [TAG]... | ||
tag filter | ||
Options: | ||
-st, --show-tags | ||
-l, --limit INTEGER | ||
-dt, --doc-type TEXT | ||
-h, --help Show this message and exit. | ||
``` | ||
|
||
### TUI | ||
|
||
``` | ||
Switch focus: TAB | ||
Next result: ctrl+j | ||
Previous result: ctrl+k | ||
Open result without closing: ctrl+l | ||
``` | ||
|
||
#### Searchbar focused | ||
|
||
``` | ||
Exit: ESC | ||
``` | ||
|
||
#### Results focused | ||
|
||
``` | ||
Switch focus to searchbar: ESC | ||
Open result: Enter | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[metadata] | ||
name = knovleks | ||
version = 0.0.1 | ||
version = 0.0.2 | ||
author = Loris Reiff | ||
author_email = [email protected] | ||
license = Apache 2.0 | ||
long_description = file: README.md, LICENSE | ||
long_description_content_type = text/markdown | ||
|
||
[options] | ||
packages = find: | ||
|
@@ -23,6 +25,7 @@ ignore = E701,E731 | |
|
||
[flake8] | ||
ignore = E701,E731 | ||
per-file-ignores = __init__.py:F401 | ||
exclude = tests/context.py | ||
statistics = true | ||
show-source = true |