alexhallam/tv
View on GitHub ↗ ★ 2,166 Rust
📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.
18 mentions on Hacker News by 6 people: 1 story, 17 comments · first 2021-09-27 · latest 2024-01-08
20082026
-
…be interested in Tidy Viewer with lesspipe.sh [1] https://news.ycombinator.com/item?id=28670252 [2] https://github.com/alexhallam/tv
comment by leonim · 2024-01-08 · in Csvlens: Command line CSV file viewer. Like less but made for CSV -
See also: (tv) Tidy Viewer. A cross-platform CLI csv pretty printer. https://github.com/alexhallam/tv
comment by flusteredBias · 2024-01-07 · in Csvlens: Command line CSV file viewer. Like less but made for CSV -
https://github.com/alexhallam/tv#inspiration
comment by flusteredBias · 2022-06-21 · in One-liner for running queries against CSV files with SQLite -
…use SQLite I do not output using column mode. I pipe to `tv` (tidy-viewer) to get a pretty output. https://github.com/alexhallam/tv transparency: I am the dev of this utility
comment by flusteredBias · 2022-06-21 · in One-liner for running queries against CSV files with SQLite -
https://github.com/alexhallam/tv/pull/58 I added VisiData in my README and represented it in a positive light in the description. Again, just wanted to apologize for my mistake. #better-together
comment by flusteredBias · 2021-09-29 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
Love the idea! The issue is already open. I will merge a PR before the next release. https://github.com/alexhallam/tv/issues/49
comment by flusteredBias · 2021-09-29 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…that it reads the full file only to grab the number of rows. It only parses(take) the first n rows. https://github.com/alexhallam/tv/blob/b548f0d19f64438d53f732... https://github.com/alexhallam/tv/blob/b548f0d19f64438d53f732...
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…this? I see the full dataset being loaded here[1] and the column widths being computed here.[2] [1] https://github.com/alexhallam/tv/blob/main/src/main.rs#L183-... [2] https://github.com/alexhallam/tv/blob/main/src/main.rs#L218-...
comment by thamer · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…handle then let me know. I will add a tests csv file as part of the current portfolio of test csvs. https://github.com/alexhallam/tv/tree/main/data
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…realize this is a tall order, however. With github actions I auto-build binaries for many OSes. See https://github.com/alexhallam/tv/releases/tag/0.0.13 5. What about scrolling? The worst part of viewing CSVs is having to handle wide ones…
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
And a list of options. Reading the first 80 lines of https://github.com/alexhallam/tv/blob/main/src/main.rs was in some sense more educational than the readme. It, for example, allowed me to make an educated guess as to the answer to the…
comment by Someone · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…are using 0.0.10 the current version is 0.0.13 2. I need to update the README the binaries are here https://github.com/alexhallam/tv/releases/tag/0.0.13 I recently moved away from manually building binaries to automated building for many…
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
Demo looks great, alas the prebuilt binaries don't work $ wget https://github.com/alexhallam/tv/releases/download/0.0.10/tidy-viewer --2021-09-27 16:47:43-- https://github.com/alexhallam/tv/releases/download/0.0.10/tidy-viewer Resolving…
comment by iso1210 · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…read that article when I started making the package. You can see some of the input data here https://github.com/alexhallam/tv/blob/main/data/a.csv . I let the user chose how long the max column width should me then append "...". The…
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…xsv! I mention in the readme that command line data manipulation tools are great compliments to tv. https://github.com/alexhallam/tv#tools-to-pair-with-tv
comment by flusteredBias · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
Not OP, but there's a screenshot under https://github.com/alexhallam/tv#1-na-comprehension . Which is actually worse for screen reader users, I suppose.
comment by GrayShade · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
…the end of the output. Just a space after your shell prompt ($), see e.g. `user@~/code/data$cat` in https://github.com/alexhallam/tv/blob/main/img/column_v_tv2.... .
comment by GrayShade · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment