Skip to main content

nixscribe — Terminal Text Editor

By mhaxanali

About nixscribe

nixscribe is a terminal-based text editor written in Python.
It supports CLI arguments:

  • --create — create files
  • --read — view files with syntax highlighting
  • --edit — edit files with syntax highlighting

Syntax highlighting is supported for Python, HTML, CSS, and JavaScript.
Editing is powered by prompt_toolkit, while viewing uses rich for syntax highlighting.

Resources

https://pypi.org/project/nixscribe

GitHub Repository

https://github.com/mhaxanali/nixscribe

External Dependencies

Stated in requirements.txt:

  • prompt_toolkit
  • rich
  • pygments

Installation

Install using pip:

pip install nixscribe

Usage

  • To create a file:
    nixscribe --create <path/to/file>
    
  • To read from a file:
    nixscribe --read <path/to/file>
    
  • To edit a file:
    nixscribe --edit <path/to/file>
    

Keybinds in Edit Mode

  • Ctrl+Q to quit editing without saving (changes are discarded immediately).
  • Ctrl+S to save without quitting.
  • F3 to save & quit.

Metadata

Release files for nixscribe 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nixscribe 0.2.0
File Size Uploaded
nixscribe-0.2.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nixscribe 0.2.0
File Interpreter ABI Platform
nixscribe-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / nixscribe-0.2.0.tar.gz

Download URL nixscribe-0.2.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3282403f62a742b21a853a280274c6a5a2511a27325506ef986e5f5e3104ae2e
BLAKE2b-256 checksum
How to use checksums
431b8296c1302f25b30617cd7335fefb36481c9ff1ee21c101f2f5a24bec0251
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / nixscribe-0.2.0-py3-none-any.whl

Download URL nixscribe-0.2.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
645cc6bb0d55c744f4b5bf1d044ade746d1a094cfa0ae76968bf03ff6791713e
BLAKE2b-256 checksum
How to use checksums
a9a66b638d5d93de9edb06aac4e9dba7d633c04e15fba2f1a71c60074a33f521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page