Sheets Spreadsheets in Your Terminal

github.com

103 points by _____k 2 days ago


blippage - 3 hours ago

Visidata is a fast popular data tool in python https://www.visidata.org/ if you just want data entry.

If I may be permitted a small plug ...

Oleo is a GNU spreadsheet going back absolutely donkey years. I cloned the repo here: https://github.com/blippy/oleo and made minimalist fixes to get the thing to compile.

I also based my own terminal-based spreadsheet based off of it call neoleo: https://github.com/blippy/neoleo

I wouldn't say that my project is particularly good, but it does have a number of features that I find useful. The next release will include Tcl bindings, so you can customise some of the workings of the app. There's also a module available where you can go to town programmatically.

It opens up a world of possibilities, including stuff like pivot tables.

  package require oleo
  load-oleo mysheet.oleo
  set ws [toMat]
  set subset [subRows $ws [mand [mstreq 2 foo] [mstreq 3 bar]]
It has what I think is a nice little query language, too. In the last line I select the rows from the spreadsheet sheet column 2 is equal to foo and column 3 is equal to bar.

I'm kinda dog-fooding it at the moment to put in place features that I need. It doesn't have the full equivalence of SQL-equivalent though.

deathanatos - 7 hours ago

You might say … it's As Easy As[2] 1-2-3?[1]

[1]: https://en.wikipedia.org/wiki/Lotus_1-2-3

[2]: https://en.wikipedia.org/wiki/As-Easy-As

What's old is new again.

jmacc93 - 2 hours ago

Semi-related: I always wished there was something like the unholy combination of a spreadsheet and notebook rolled into one. I picture it notebook-like at the top level, then each cell is a widget that the host language can reference parts of in other cells (probably with a variable (eg: something like mathematicas `Out[_]`) or a built in construct (like the `$ABC123` forms in spreadsheet formulas)). A notebook interface would also be good (I think) as a straight up terminal as well, as you (I) typically want to run commands in an order like in a notebook

lateforwork - 10 hours ago

All spreadsheets used to run in your terminal, in the old days. You can still download one here and I wouldn't be surprised if it still works: https://winworldpc.com/product/quattro-pro/4x

andy99 - 2 hours ago

If I’m remembering correctly, I had bought a Borland Turbo C++ compiler circa 1994 (for DOS) that came with a demo sheets application you could build and run.

Does anyone remember this, I can’t find it now.

halosghost - 9 hours ago

See also, one of the older / more-robust entrants in this space [0], and one of the more innovative (still from a hot-second ago now…) [1].

All the best,

0. https://github.com/andmarti1424/sc-im

1. https://www.syntax-k.de/projekte/teapot/

gigatexal - 2 days ago

Vim bindings I’m in!

jnpnj - 4 hours ago

pretty cool, most of the time I don't want to spin emacs org-table nor google sheets for a quick table

altmanaltman - 30 minutes ago

Yeah, yeah, but your scientists were so preoccupied with whether or not they could that they didn't stop to think if they should.