Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/husseinhareb/coffee

Text editor with file management and terminal integration using Electron.
https://github.com/husseinhareb/coffee

Last synced: about 14 hours ago
JSON representation

Text editor with file management and terminal integration using Electron.

Awesome Lists containing this project

README

        

Coffee is a text editor built using Electron, offering file management and integrated terminal functionality.

![309498911-bb3a65eb-9280-4785-82dd-a9f512233e5b(1)](https://github.com/husseinhareb/Coffee/assets/88323940/18a0e185-028f-477b-ac7c-8e6d41793e30)

Oriented for developers, Coffee provides a user-friendly solution for text editing.

## File Management
![318223154-25846f3e-c547-46d1-a2e2-0189e3008d8d-ezgif com-crop](https://github.com/husseinhareb/Coffee/assets/88323940/2d790b18-6df2-442e-b437-f0451c65b601)

Coffee provides comprehensive file management functionalities to streamline your workflow:

- **New File:** Create a new text file effortlessly with the option available in the File menu.

- **New Folder:** Organize your files by creating new folders directly from the interface.

- **Open Directory:** Navigate to and open directories to access and manage files and folders within them.

- **Delete:** Remove unwanted files or folders securely with the delete function.

- **Rename:** Easily rename files or folders to maintain a structured file hierarchy.

- **Navigate:** Seamlessly move between directories, including returning to parent directories or entering new ones.

## Text Editing with Ace Editor

![318228637-3c0b104c-e691-49d6-b535-59d427d0314c-ezgif com-crop(1)](https://github.com/husseinhareb/Coffee/assets/88323940/1eae67b4-5917-45ae-a6c3-9dd979c2a3f9)

Coffee utilizes the powerful Ace editor to provide a rich and text editing experience. Ace editor is renowned for its exceptional syntax highlighting, live error detection

-**Syntax Highlighting:** Enjoy comprehensive syntax highlighting support for a wide range of programming languages and file types, ensuring code clarity and readability.

-**Live Error Detection:** Benefit from real-time error and warning detection as you type, allowing for immediate identification and correction of syntax errors and potential bugs.

-**Code Folding:** Collapse and expand code blocks effortlessly to focus on specific sections of your codebase, improving navigation and readability.

## Integrated Terminal with xterm.js
![2024-03-3022-00-12-ezgif com-crop](https://github.com/husseinhareb/Coffee/assets/88323940/a1670fe1-21b4-4261-a73c-da4924fef378)

Coffee features a fully integrated terminal powered by xterm.js,
offering a robust command-line interface directly within the text editor environment,
comparable to standalone terminal emulators like Kitty or Alacritty,
allowing users to execute commands, run scripts, and perform system tasks without leaving the editor.

### Getting Started

Follow these steps to run the app locally:

1. **Clone the repository**:

```
git clone https://github.com/husseinhareb/Coffee
```

2. **Install dependencies**:

```
cd Coffee/
npm install
```
3. **Rebuild the application**(One time thing):

```
npm run rebuild
```

4. **Run the application**:

```
npm start
```

## Contributing

Contributions are welcome! If you'd like to contribute:

Fork the repository.
Create your branch: git checkout -b feature/YourFeature.
Commit your changes: git commit -m 'Add some feature'.
Push to the branch: git push origin feature/YourFeature.
Submit a pull request.

## Licence

This project is licensed under the [MIT License](https://github.com/husseinhareb/Coffee/blob/master/LICENSE).