Skip to main content

A single file note-taking app that work with .txt files

Project description

Lisq

From Polish "lisek / foxie" – lisq is a single file note-taking app that work with .txt files.

Zrzut ekranu

Code available under a non-commercial license (see LICENSE file).

Copyright © funnut www.github.com/funnut


Instalation

pip install lisq

then type lisq

How to install Python packages visit this site.

CLI USAGE

lisq [command] [arg1] [arg2] ...
lisq add "my new note"

COMMANDS

: quit, q, exit
: c         - clear screen
: cmds      - list of available commands
:
: show, s           - show recent notes (default 10)
: show [int]        - show number of recent notes
: show [str]        - show notes containing [string]
: show all          - show all notes
: show random, r    - show a random note
:
: del [str]      - delete notes containing [string]
: del last, l    - delete the last note
: del all        - delete all notes
:
: encryption on, off or set (password is stored and not requested)
: changepass - changing password    
:
: encrypt ~/file.txt    - encrypting any file
: decrypt ~/file.txt    - decrypting any file
:
: settings    - lists all settings
: reiterate   - renumber notes' IDs
: edit        - open the notes file in set editor
:
: echo [str]    - echo given text
: type [str]    - type given text

You can add your own functions by:

  • defining them,
  • then adding to dispatch table.

SETTINGS

Default settings:

  • default notes path is ~/notesfile.txt,
  • default key path is set to wherever main file is,
  • default history path is set to wherever the main file is,
  • 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 ~/.bashrc or ~/.zshrc.

export LISQ_SETTINGS='{
    "notes-path": "~/path/notesfile.txt",
    "key-path": "~/path/key.lisq",
    "hist-path": "~/path/history.lisq",
    "editor": "nano",
    "encryption": "set"}'

source your startup file or restart terminal

You can check current settings by typing settings ( both default and env drawn from LISQ_SETTINGS var).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lisq-2025.6.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lisq-2025.6.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file lisq-2025.6.1.tar.gz.

File metadata

  • Download URL: lisq-2025.6.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for lisq-2025.6.1.tar.gz
Algorithm Hash digest
SHA256 76b423342a0ef82f2aefa612afc30b29800fda78c7a6a849a122f6af3e9f5d60
MD5 8bf5d99130386737c739bb5cda36c0c3
BLAKE2b-256 1887f1d6d29257be4ad6595990954a4d0d54bbcc214b72ead3e09f7e830dbbaa

See more details on using hashes here.

File details

Details for the file lisq-2025.6.1-py3-none-any.whl.

File metadata

  • Download URL: lisq-2025.6.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for lisq-2025.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd9cb4869c1c188513d7803b5b48fb6761b6e385d6725dd9b922c5a33b28a73
MD5 ea1a3142c7b25f6a7634c8dfc88130d9
BLAKE2b-256 c95d96859d2152b3e26e4018796d70f0ad48997b77cb488697b5bd5f188f792f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page