Skip to main content

A CLI Text Editor that supports Syntax Highlighting for .py, .html, .css and .js files.

Project description

nixscribe — Terminal Text Editor

By mhasanali2010

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 highligh

Resources

PyPI Link

https://pypi.org/project/nixscribe

GitHub Repository

https://github.com/mhasanali2010/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.
  • Ctrl+S to save without quitting.
  • F3 to save & quit.

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

nixscribe-0.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

nixscribe-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file nixscribe-0.1.2.tar.gz.

File metadata

  • Download URL: nixscribe-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for nixscribe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8e1823aaf414569d218d5f4d0a0edc3fdbce0841e04c702625b860a1d42e5797
MD5 dcb15bd0062f770f0dce41927bf1e249
BLAKE2b-256 47922567f1c9f39f4b10f4f765fb87c0fab51e538b7d337f807f6240d0734c9e

See more details on using hashes here.

File details

Details for the file nixscribe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nixscribe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for nixscribe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b3535dc8ab84126fb7d331155818a3d9296fee90b609051c4247d8497c892e
MD5 fc246f678f45673a92b6c1e023ff73da
BLAKE2b-256 6f7c6ad98ccf530d6fcfacb91d039f70f442800e1a4fd4c35631ceb91e3842e2

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