Skip to content

Latest commit

 

History

History
145 lines (125 loc) · 7.53 KB

README-EN.md

File metadata and controls

145 lines (125 loc) · 7.53 KB

RigelA (the name is taken from the Rigel-A of Orion)

English (en) | 简体中文 (zh-CN)

Introduction

This project is a Screen Reader project written in rustlogo. The first letter r in the name is the same as the first letter of rust, and Orion is the best viewing time in December(This project was initiated in December 2023). Rust focuses on performance, coding efficiency and security, let us imagine! For the name, please refer to Wikipedia’s introduction to Rigel A Regarding creating the rust environment: you can refer to relevant documents. If you are not familiar with the rust language, it is highly recommended to learn from official documents or authoritative books.

Build and run

  1. Preliminary preparation First you need to download the necessary msvc (if you already have Visual Studio on your computer, skip this step), you can visit here to get VS Installer; Next we need to have a rust environment. To build the rust environment, you can refer to the introduction in [Rust Programming Language] (https://kaisery.github.io/trpl-zh-cn); Assuming that you already have the above conditions, before building the program we also need to download the rust x86 architecture tool chain and run the following command to install it.
    rustup target add i686-pc-windows-msvc
    rustup update
  2. Clone the repository
    git clone https://gitcode.com/mzdk100/rigela.git
    or
    git clone https://github.com/mzdk100/rigela.git
  3. Build the debug version and run it
    cd rigela
    cargo mkenv
    cargo dev
    Among them, mkenv is used to create a dedicated build program. Because there is a need to build 32-bit and 64-bit programs at the same time, cargo itself cannot do this. Please note: we use cargo dev to run instead of cargo run otherwise you will encounter errors like (error: only one --target argument is supported). If you insist on using the "cargo run" command, you can add the "--target x86_64-pc-windows-msvc" additional argument to achieve this:
    cargo build --target i686-pc-windows-msvc
    cargo run --target x86_64-pc-windows-msvc
    The first line means building the 32-bit target first, because the second line needs to rely on it. These two lines of commands cannot be written in reverse, so to simplify writing, we created a short command dev.
  4. Build the released version The released version of the program has a smaller volume and runs faster than the debug version, but the build speed is slower:
    cargo rel

Donation Support

This project is free for anyone in any country, but if you can financially support our developers, you can enjoy more personalized services from us. For example, if you encounter any difficulties while using this software, you can submit an issue, and we will prioritize solving it for you.

Below is the current list of core contributors to this project (sorted alphabetically), and you can use the QR code to pay and contact anyone of them:

Development documentation

We call on developers who are interested in the open source screen reader project to actively participate. The development documentation is constantly being improved. If you want to contribute to this project, please refer to the next section.

  1. Development documents provided by this project:
  2. If you are new to programming, you also need to learn the Rust language and understand the common libraries of Rust:

Development Contribution

Powerful functions of program are inseparable from rapid function code iteration. We call on capable friends to participate in the research and development of this project. If you are a developer, you can fork this repository into your own account, then clone the repository for research and development, and then submit a request for merging. If you still don’t know how to get started, here is the Contribution Guide we have prepared for you. We have a long-term planning route, which includes the ideas that all users are most interested in but have not yet been implemented. We look forward to your contributions: Development Route If you don't know how to program, or the program does not support your local language, you can also contribute to the internationalization of I18N and translate some text into your local language. We welcome your PR.

agreement

The open source license of this project is based on the Apache License 2.0, which means that you (whether an individual or a company) using, modifying or distributing the code of this project must comply with the following: Do not misappropriate the trademark of RigelA project! When you distribute this work or derivative works, you can no longer need to provide the source code to us! But you must be agreed:

  1. Copy a RigelA license to your software directory;
  2. Retain all copyrights, patents and other instructions for this software;
  3. Changed documents must be marked and explained;
  4. The information in the NOTICE file needs to be retained;
  5. You may continue to license subject to the conditions of this License;
  6. You bear full responsibility for the use of this software project, and we do not provide any guarantee.