~marnold128/mastertext

Mastertext is a content addressable full text search api in python
End of massive code cleanup with proper error deletion after display
Massive code cleanup, we now use black over autopep8 because it's much
flake8 errors down from 324 to 159

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~marnold128/mastertext
read/write
git@git.sr.ht:~marnold128/mastertext

You can also use your local clone with git send-email.

#MasterText

Mastertext is a very much prealpha small to medium corpus free form text storage,search, and retrieval engine. It is intended to help in things like mind mapping, time tracking, research, creative writing... Look I'm just building the ultimate organizational tool for people with minds like mine. So if you think having a searchable archive of most of what you've read, over the past five years is a good thing congratulations your neurodivergent.

Anyway this is intended to be wrapper around SQLite's Full Text Search 5 with a few bells, and whistles for large database (~ 2GB or so). Inserting data via the API provides deduplication support.

#How to use

python3 -m venv <whatever>
source <whatever>/bin/activate
sqlite3 master.db < schema.sql
<edit your .env file and change the path's to your needs> 
./mt.py etl <directory-full-of-text-files>
./mt.py migrate-add-users <your-desired-username>

Sorry no installer yet, after etl has run you can explore via web.py or the command line. The web interface is more full featured at the moment

mklip.py is a custom dbus service to integrate this with my other project vsss. Basically it's a read only clipboard manager that dumps the content of clipboard into a mastertext object everytime the getClipboardContents method is called, before returning the content to the user. If you can find a use for it outside of my custom text to speech system do let me know. :)

Please See privacy.md for important privacy information