An open API service indexing awesome lists of open source software.

https://github.com/sunref/nite

NITE (Nano-Inspired Text Editor) is a minimalist terminal text editor written in C, project for my TCC (Final Course Project) in Bachelor's Degree in Computer Science at IFSP-SBV.
https://github.com/sunref/nite

c editor nano terminal text text-editor vim

Last synced: 2 months ago
JSON representation

NITE (Nano-Inspired Text Editor) is a minimalist terminal text editor written in C, project for my TCC (Final Course Project) in Bachelor's Degree in Computer Science at IFSP-SBV.

Awesome Lists containing this project

README

          

```
_ _ ___ _____ _____
| \ | |_ _|_ _| ____|
| \| || | | | | _|
| |\ || | | | | |___
|_| \_|___| |_| |_____|

```

NITE (*Nano-Inspired Text Editor*) is a minimalist terminal text editor written in **C**, focused on simplicity.
Inspired by the **nano** editor, NITE provides an intuitive and efficient interface for editing files directly in the terminal.

![Screenshot](screenshot.png)

## Why nano?
I chose nano as a reference because it represents the balance between simplicity, speed, reliability, and portability. While other terminal editors can be more complex, nano proves that it is possible to be minimalistic and efficient without losing usability. My project follows this philosophy, keeping nano's straightforward usability while integrating features inspired by other terminal editors.

## Features
- Simple and clean terminal interface.
- Support for creating and editing text files.
- Two operating modes: **Reading Mode** and **Editing Mode**.
- Integrated command line for executing editor actions without leaving the interface.
- Syntax highlighting powered by **Tree-sitter**.
- Text selection, copy, paste, undo and redo support.
- Written in **C** for maximum performance.

![Interface](interface.png)

## Building & Installing

**Dependencies:** `ncurses`, `tree-sitter`

```sh
# Clone the repository
git clone https://github.com/yourusername/nite.git
cd nite/niteProject

# Build
make

# Install (copies binary and grammars to /usr/local)
sudo make install

# Uninstall
sudo make uninstall
```

After installing, just run:

```sh
nite
```

## *Note*
This project was developed as the final requirement for my Computer Science degree.