{"repo":"dbohdan/csv2html","free":true,"listed":false,"github":"https://github.com/dbohdan/csv2html","clone":"git clone https://github.com/dbohdan/csv2html.git","description":"Convert CSV files to HTML tables","language":"Rust","stars":78,"topics":["csv","html","converter","conversion","cli","command-line-tool","rust"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"csv2html This command-line utility converts CSV files to HTML tables and complete HTML documents. It can use the first row of the CSV file as the header of the table, and does so by default. The original Python version of csv2html is preserved in the branch python . Installation Prebuilt Linux and Windows binaries are available. They are attached to releases on the \"Releases\" page. csv2html requires Rust 1.74 or later to build. Installing with Cargo Building on Debian and Ubuntu Follow the instructions to build a static Linux binary of csv2html from the source code on recent Debian and Ubuntu. 1\\. Install Rustup. Through Rustup, add the stable musl libc target for your CPU. 2\\. Install the build and test dependencies. 3\\. Clone this repository. Build the binary. Cross-compiling for Windows Follow the instructions to build a 32-bit Windows binary of csv2html on recent Debian and Ubuntu. 1\\. Install Rustup. Through Rustup, add the i686 GNU ABI Windows target. 2\\. Install the build dependencies. 3\\. Configure Cargo for cross-compilation. Add the following in /.cargo/config . 4\\. Clone this repository. Build the binary. Command-line arguments Use examples This command reads data from test/test.csv and writes an HTML table to test.html : The following command takes semicolon-delimited data from pub.csv , starting with row 267. It replaces the first column of the table with the row number starting at 1 (except in the header row, which is not changed). The output is redirected to th","default_branch":null,"files":null,"tree":[],"storefront":"/r/dbohdan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dbohdan/csv2html/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}