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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0830f838130dda547143fa36610d88d767ac2170c9a425fe79e9f90bafc733c3
|
|
| MD5 |
e56f8b57185fc4d7b6195e167549c0a4
|
|
| BLAKE2b-256 |
c193cf01699a987714522f76310d644131c5f45a821b02a006a7b7eaf74a483f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
357e36cff9bd790dcd2a6d006ff01f4c5de917fdecda6cf6afdbc9b489e96784
|
|
| MD5 |
0d8409e06697604c0b98d847d66e1a73
|
|
| BLAKE2b-256 |
af481d9f1b7638564982bada6a5df7f10b1f6236306e3343f83c5c87c624e600
|