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] [arg] [arg1] [...]
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.5.29.tar.gz (10.4 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.5.29-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lisq-2025.5.29.tar.gz
Algorithm Hash digest
SHA256 a11251d902d125d373baa0c989fab061e7d0b19444e94dee7391ef1a7c92ebfe
MD5 b7e892390dd0010293345a4c7309e322
BLAKE2b-256 54b6db0cc006779f4bbd4732294f86cfd04e72ef276ac0ad8243beae29e9e7bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lisq-2025.5.29-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.5.29-py3-none-any.whl
Algorithm Hash digest
SHA256 f59783cbd2c9d90a86e1071f06b5b77157aa96ab06e45a478d5249c56e7119f1
MD5 702f5def3676cf3b0fa3ca6fb1c68fb1
BLAKE2b-256 f5c583488391476ff08e74e42c38eeea498ac58ac64554c28a2e68584e020f51

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