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.0.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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nixscribe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0830f838130dda547143fa36610d88d767ac2170c9a425fe79e9f90bafc733c3
MD5 e56f8b57185fc4d7b6195e167549c0a4
BLAKE2b-256 c193cf01699a987714522f76310d644131c5f45a821b02a006a7b7eaf74a483f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nixscribe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 357e36cff9bd790dcd2a6d006ff01f4c5de917fdecda6cf6afdbc9b489e96784
MD5 0d8409e06697604c0b98d847d66e1a73
BLAKE2b-256 af481d9f1b7638564982bada6a5df7f10b1f6236306e3343f83c5c87c624e600

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