A single file note-taking app that work with .txt files
Project description
___ ___ _______ _______
| | | | | || |
| | | | | _____|| _ |
| | | | | |_____ | | | |
| |___ | | |_____ || |_| |
| || | _____| || |
|_______||___| |_______||____||_|
From Polish "lisek / foxie" – lisq is a single file note-taking app that work with .txt files.
Lightweight, fast and portable. It's meant to be used as terminal aplication.
Code available under a non-commercial license (see LICENSE file).
Copyright © funnut www.github.com/funnut
Instalation
With installed Python,
- Installation by pip* :
pip install lisq
* Python language Package Manager
How to install Python packages visit this site.
CLI USAGE
lisq [command [arg1] [arg2] ... ]
lisq add "my new note" # alternatively use '/' instead of 'add'
COMMANDS
Basic functionality:
It's design to be simple so there are just three core commands: add/show/del.
: [--]version # show version
: [--]help # show help page
: quit, q # exit the program
: clear, c # clear screen
: cmds # list of all available commands
: edit # open the notes file in set editor
:
: add, / <str> # adds a note (preferably enclosed in quotation marks)
:
: show, s # show recent notes (default 10)
: <int> # show number of recent notes
: <str> # show notes containing <string>
: all # show all notes
: random, r # show a random note
:
: del <str> # delete notes containing <string>
: last, l # delete the last note
: all # delete all notes
Additional functionality:
You can encrypt your notes or any other file with a URL-safe Base64-encoded 32-byte token (use with caution!).
[!IMPORTANT] This functionality requires the cryptography package. If it is not already installed via package manager, please run:
pip install -r requirements.txt
: encryption on|off|set # enables or disables login functionality; 'set' stores the token so it won't be requested again
: changepass # changes the password (token)
:
: encrypt ~/file.txt # encrypts any file
: decrypt ~/file.txt # decrypts any file
:
: settings # lists all settings
: reiterate # renumber notes' IDs
: echo <str> # prints the given text
: type <str> # types the given text
You can add your own functions by:
- defining them,
- then adding to dispatch table.
SETTINGS
Default settings that can be overwritten are:
- default notes path is
~/noteslisq.txt, - default key path is set to wherever main executable is,
- default history path is set to wherever the main executable is,
- default color accent is green,
- default editor is set to
nano, - default encryption is set to
off.
To change it, set the following variable in your system by adding it to a startup file (eg. ~/.bashrc).
export LISQ_SETTINGS='{
"notes-path": "~/path/noteslisq.txt",
"key-path": "~/path/key.lisq",
"hist-path": "~/path/history.lisq",
"color-accent": "\\033[34m",
"editor": "nano",
"encryption": "set"
}'
Source your startup file or restart terminal.
You can check current settings by typing settings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lisq-2025.9.1.tar.gz.
File metadata
- Download URL: lisq-2025.9.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00ed4e60cd6be436e5f9eb7f1a780230c8bd2a625d0f53662882092ffa4e7fb4
|
|
| MD5 |
186b9a98b762c44c681df446ec3b8a47
|
|
| BLAKE2b-256 |
46f06a4927f76a40377f9d2489c090cb06fe0dcf9ede41c6433e382140bf5c4a
|
File details
Details for the file lisq-2025.9.1-py3-none-any.whl.
File metadata
- Download URL: lisq-2025.9.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ffd9bfbf791f3d194751f04ca4ded09c611bedace116f8873c01657d6dfe48d
|
|
| MD5 |
8ddd401b65d6a392d405b99a5014f137
|
|
| BLAKE2b-256 |
21aa7fa48cbaf0d80c760f445bfd9aa346701ca5ad0ae016dc6f4cf86b19fef4
|