Skip to content

SyNdicateFoundation/LitePhoton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LitePhoton: a blazing fast text file reader/scanner.

Overview

  • this project is designed to be a blazing fast text file scanner/reader.

Key Features 🚀

  • This project is intended to be lightweight and fast as possible.
  • it may not contain many features as of now, but ideas are welcomed.

Installation

To use LitePhoton, you'll need to have Rust installed on your system. You can download and install Rust from the official website: https://www.rust-lang.org/tools/install.

Once you have Rust installed, you can clone the LitePhoton repository and build the project:

git clone https://github.com/SyNdicateFoundation/LitePhoton.git
cd LitePhoton
cargo build --release

The compiled binary will be located in the target/release directory.

You can also download binaries available on Github page, without requiring you to do all these.

Getting Started 🚧

LitePhoton is a command-line tool that can be used to search for a specific keyword in a file. To use it, run the following command:

./LitePhoton -f <file_path> -k <keyword>

You can also specify the search method using the -m option. The available methods are chunk and normal.

./LitePhoton -f <file_path> -k <keyword> -m <method>

A brief comparison

Test details

  • Debian 13
  • Intel(R) Xeon(R) E5-2667 v2 (6) @ 3.29 GHz
  • 16 GB

Contribution Guidelines 🤝

Feel free to contribute to the development of our project. we will notice it.

About

A blazing fast text file reader/scanner, made in Rust using rayon & memchr & twoway.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages