Skip to content

Text editor with file management and terminal integration using Electron.

License

Notifications You must be signed in to change notification settings

husseinhareb/Coffee

Repository files navigation

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

309498911-bb3a65eb-9280-4785-82dd-a9f512233e5b(1)

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

File Management

318223154-25846f3e-c547-46d1-a2e2-0189e3008d8d-ezgif com-crop

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)

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

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.

About

Text editor with file management and terminal integration using Electron.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published