Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2021 (14)
20082026
  1. …be interested in Tidy Viewer with lesspipe.sh [1] https://news.ycombinator.com/item?id=28670252 [2] https://github.com/alexhallam/tv
  2. See also: (tv) Tidy Viewer. A cross-platform CLI csv pretty printer. https://github.com/alexhallam/tv
  3. https://github.com/alexhallam/tv#inspiration
  4. …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
  5. 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
  6. Love the idea! The issue is already open. I will merge a PR before the next release. https://github.com/alexhallam/tv/issues/49
  7. …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...
  8. …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-...
  9. …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
  10. …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…
  11. 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…
  12. …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…
  13. 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…
  14. …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…
  15. …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
  16. 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.
  17. …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.... .