Skip to content

MCQ format conversion tool (AMC-TXT to GIFT / GIFT to AMC-TXT)

License

Notifications You must be signed in to change notification settings

SilentVoid13/McqConverter

Repository files navigation

McqConverter

McqConverter is a MCQ format converter written in pure Rust.

Supported Formats

McqConverter currently supports the following formats :

You can suggest me a format that you want me to add by filling an issue.

Usage

This repository contains 4 sub-projects.

mcqconverter_gui

This is a GUI application that allows users to select and convert any of their files to the desired format.

GUI

amctxt2gift

This is a console application to convert a file from the AMC-TXT format to the GIFT format

USAGE:
    amctxt2gift [FLAGS] [OPTIONS] <FILE>

FLAGS:
    -c, --convert_comments    Enables comments conversion (default: not enabled)
    -h, --help                Prints help information
    -V, --version             Prints version information
    -v, --verbose             Sets verbose output

OPTIONS:
    -o, --output <FILE_PATH>    Sets the output file name (default: [FILE].gift)

ARGS:
    <FILE>    Sets the input file to convert

gift2amctxt

This is a console application to convert a file from the GIFT format to the AMC-TXT format

USAGE:
    gift2amctxt [FLAGS] [OPTIONS] <FILE>

FLAGS:
    -c, --convert_comments    Enables comments conversion
    -h, --help                Prints help information
    -V, --version             Prints version information
    -v, --verbose             Sets verbose output

OPTIONS:
    -o, --output <FILE_PATH>    Sets the output file name (default: [FILE].amctxt)

ARGS:
    <FILE>    Sets the input file to convert

mcqconverter_core

This is the core library used to perform all the conversions. It is used by all the other projects. This project is not useful for users.

Binaries

You can either get the compiled version from the latest release, from the bin directory, or compile it yourself using cargo :

cargo build --release

Your binaries will be available in the target/release directory.

This application has only been tested on Linux and Windows 64-bit.

Contributing

Feel free to contribute. You can make a pull request to suggest any change you'd like to make.

License

McqConverter is licensed under the GNU AGPLv3 license. Refer to LICENSE for more informations.