Skip to content

An intuitive command-line spreadsheet written in Go and BubbleTea that leverages Expr -- a powerful expression language.

License

Notifications You must be signed in to change notification settings

oaklandgit/vizigo

Repository files navigation

vizigo

WORK IN PROGRESS

An intuitive command-line spreadsheet written in Go and BubbleTea that leverages the powerful expression language Expr.

demo

How to use

flags (on start)      -c <cols> -r <rows>
                      -vc <viewport cols> -vr <viewport rows>
                      -f <filename>

enter values          <enter> or <tab> then type numbers
enter labels          <enter> or <tab> then type letters
enter expression      <enter> or <tab> then type =expression
                      e.g. =min(A3:B5)
                      use any EXPR expression (see expr-lang.org)

move                  → ← ↑ ↓
edit                  <enter> or <tab>
                      <esc> to exit edit mode
copy                  ⌃c
copy value only       ⌃n
paste                 ⌃v

save                  ⌃s
quit                  ⌃q

TO DO

  • implement functions not available in EXPR (such as prod, sum, avg)
  • select ranges visually
  • autosuggest formulae
  • export as csv
  • complete unit tests

DONE

  • implement simple arithmetic (not just functions) // via expr language
  • viewport and scrolling
  • implement SUM, PRODUCT, AVERAGE, MIN, MAX, COUNT
  • comma-separated ranges
  • hilite references to selected cell
  • undo / redo
  • load file
  • some unit tests
  • round results to the most-precise of its operands
  • filepath/filename for save
  • flags -r (rows) -c (columns) -f (filename)

About

An intuitive command-line spreadsheet written in Go and BubbleTea that leverages Expr -- a powerful expression language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages