#plain-text #rle #conway #parser

bin+lib rletxtconv

Conway's Game of Life file format converter

5 stable releases

Uses new Rust 2024

new 1.2.2 Apr 29, 2025
1.1.0 Apr 29, 2025
1.0.0 Apr 28, 2025

#780 in Parser implementations

Download history

83 downloads per month
Used in conway-game-life-ratatui

MIT license

66KB
323 lines

Conway's Game of Life File Converter

A blazingly-fast Rust-based tool to convert between plaintext (.cells) and Run-Length Encoded (RLE) formats for Conway's Game of Life patterns.

Features

  • Convert between .cells (plaintext) and .rle formats.
  • Automatic format detection for input files, regardless of file extension

Installation

Prerequisites

Build from Source

  1. Clone the repository:

    git clone https://github.com/LuMarans30/rletxtconv.git && cd rletxtconv
    
  2. Build the project:

    cargo build --release
    

The binary will be located at target/release/rletxtconv.

Pre-built binaries

Alternatively, you can find the binaries in the releases page.

Usage

Convert a file to the RLE format:

rletxtconv --input input.cells --output output.rle

Force overwrite if the output file exists:

rletxtconv --input input.rle --output output.cells --force

Dependencies

~3–5MB
~84K SLoC