Skip to main content

NextCloud Notes Command Line Interface

Project description

nncli is a Python application that gives you access to your NextCloud Notes account via the command line. It’s a “hard” fork of sncli. You can access your notes via a customizable console GUI that implements vi-like keybinds or via a simple command line interface that you can script.

Notes can be viewed/created/edited in both an online and offline mode. All changes are saved to a local cache on disk and automatically sync’ed when nncli is brought online.

More detailed documentation can be found at the homepage.

Installation

Assuming your system has both python3 and pip3, you can globally install nncli and its dependencies with pip3 install nncli.

If you are interested in packaging nncli for various distributions, please consult the file CONTRIBUTING.rst in this repository and reach out to the mailing list with any questions.

Features

  • Console GUI

    • full two-way sync with NextCloud Notes performed dynamically in the background

    • all actions logged and easily reviewed

    • list note titles (configurable format w/ title, date, flags, category, keys, etc)

    • sort notes by date, alpha by title, category, favorite on top

    • search for notes using a Google style search pattern or Regular Expression

    • view note contents and meta data

    • pipe note contents to external command

    • create and edit notes (using your editor)

    • edit note category

    • delete notes

    • favorite/unfavorite notes

    • vi-like keybinds (fully configurable)

    • Colors! (fully configurable)

  • Command Line (scripting)

    • force a full two-way sync with NextCloud Notes

    • all actions logged and easily reviewed

    • list note titles and keys

    • search for notes using a Google style search pattern or Regular Expression

    • dump note contents

    • create a new note (via stdin or editor)

    • import a note with raw json data (stdin or editor)

    • edit a note (via editor)

    • delete a note

    • favorite/unfavorite a note

    • view and edit note category

Acknowledgements

nncli is a fork of sncli by Eric Davis. This application further pulls in and uses modified versions of the simplenote.py module by Daniel Schauenberg and the notes_db.py module from nvpy by Charl P. Botha.

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

nncli-0.3.8.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

nncli-0.3.8-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file nncli-0.3.8.tar.gz.

File metadata

  • Download URL: nncli-0.3.8.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for nncli-0.3.8.tar.gz
Algorithm Hash digest
SHA256 950049ff1de45795273d0597cd0b90395c974a45ca17e1ba22c4f27f56c0186e
MD5 5bcbe00a8e55ab117a7607e7b327fcba
BLAKE2b-256 0d9f05792d46f7c5c915a2a3152e2ac208c19cf3cd0c130500502bf79985dee9

See more details on using hashes here.

Provenance

File details

Details for the file nncli-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: nncli-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for nncli-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 51c9c642743a92904aee1fec00fb6ddc37a1cb6f92637d79ffc82c76fb9a685e
MD5 2e2c2032724fcef4040d8910afda69c3
BLAKE2b-256 5487a34867d2edc1480138ed9161835423ff939e1c12e9bf22d4f27030636ab9

See more details on using hashes here.

Provenance

Supported by

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