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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nixscribe-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a9bf13ff9d41b4bd94c686484df2b629c870a2b6675ed9d914189131c85ffa7e
MD5 ed3854eb0c9d6fb4057996c4da4c7733
BLAKE2b-256 ed37df87c96b097255a7a98b0ebf1439820d5801b9a982743b3ee111f69fef1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nixscribe-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d74f0c914369bfd15cf4830505fae469bf8e2b4d72953db9140da2b91dc9a02b
MD5 756d0a8dae5825f319241605c80e95ad
BLAKE2b-256 7f07a7fd9eb8e160f35e5cd88f4dcab85de724fc2a42dcfc6c3bb6c2cd7b078e

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