Skip to content

Latest commit

Β 

History

History
140 lines (95 loc) Β· 3.96 KB

File metadata and controls

140 lines (95 loc) Β· 3.96 KB
Zing Logo

Zing Text Editor

A beautiful, cross-platform text editor written in Rust

Open Source Made with Rust Website

Features β€’ Building from Source β€’ Usage β€’ Development

Zing Editor Screenshot

✨ Features

  • 🎨 Beautiful UI: Clean, minimal design with light and dark themes
  • πŸ’» Cross-Platform: Runs on Windows, macOS, and Linux
  • πŸ“„ Core Functionality: Open, Save, and Print text files
  • πŸ”Œ Extensible: Designed with future extensions in mind

πŸš€ Building from Source

Prerequisites

  • Rust (latest stable version) and Cargo
  • A C/C++ compiler (for some dependencies)

Build Instructions

Windows
# Clone the repository
git clone https://github.com/sukeesh/zing.git
cd zing

# Build in release mode
cargo build --release

# Run the application
cargo run --release
macOS
# Clone the repository
git clone https://github.com/sukeesh/zing.git
cd zing

# Build in release mode
cargo build --release

# Run the application
cargo run --release
Linux
# Install required dependencies (Ubuntu/Debian example)
sudo apt-get update
sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev

# Clone the repository
git clone https://github.com/sukeesh/zing.git
cd zing

# Build in release mode
cargo build --release

# Run the application
cargo run --release

🀝 Contributing

Contributions to Zing are warmly welcomed! Whether you're fixing bugs, adding features, improving documentation, or suggesting ideas, your help is appreciated.

How to Contribute

  1. Fork the repository and create your branch from main
  2. Make your changes and ensure they follow the project's coding style
  3. Test your changes thoroughly
  4. Submit a pull request with a clear description of your improvements

Areas for Contribution

  • Bug fixes and performance improvements
  • New features and enhancements
  • Documentation and examples
  • UI/UX improvements
  • Cross-platform compatibility

No contribution is too small! Feel free to open issues for discussions or suggestions before implementing changes.

πŸ“ Usage

Opening a File

Click on the "Open" button in the toolbar or use the keyboard shortcut Ctrl+O (Windows/Linux) or Cmd+O (macOS).

Saving a File

  • Save: Click the "Save" button or use Ctrl+S/Cmd+S to save changes to the current file.
  • Save As: Use Ctrl+Shift+S/Cmd+Shift+S to save the current file with a new name or location.

Printing

Click on the "Print" button or use Ctrl+P/Cmd+P to print the current document.

πŸ› οΈ Development

Zing is organized into several modules:

  • buffer: Text buffer implementation using the Ropey crate
  • ui: User interface components built with egui
  • file_io: File input/output operations
  • config: Configuration and theming

πŸ‘¨β€πŸ’» About the Developer

Zing is developed by Sukeesh. Connect with me:

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.