Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/dennisfrancis/washeet

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dennisfrancis/washeet

  • v0.0.0-20220713092739-e915897bad99
  • Source
  • Go
  • Socket score

Version published
Created
Source

washeet

Washeet is a spreadsheet web ui package written in golang. The project aims to provide a fast, light-weight, well polished spreadsheet ui targeting web applications that need to present streaming tabular data and allow user interactions. As of now it is very much in its early stages and only has some basic features like -

  • setting cell contents via api, but cells not yet user editable.
  • control cell font size, attributes like bold, italics and underline via api
  • control cell foreground/background via api
  • cell content alignment control via api.
  • all above features can be changed any time while sheet is running, taking advantage of 60 fps canvas.
  • individual column-width and row-height control via api.
  • cell cursor movements with mouse as well as with keyboard.
  • cell range selection with mouse as well as with keyboard.
  • copying cell/cell-range contents to clipboard.

API documentation

Things are still in flux, but see godoc for the current form.

Is there a demo/example ?

Yes, there is one in the demo sub-directory. The demo shows how to feed your data to the spreadsheet. The data in the demo is just random numbers but it could potentially come from outside, say from a websocket connection(s) from the server. See below for how to setup the demo. You must have installed Go version >= 1.11 and "GNU make" to do this. Technically you don't need "make" but it would certainly make things easier if you do. Obviously you would need a very recent browser with good web-assembly support like chrome/firefox.

# Get the package.
$ go get -u github.com/dennisfrancis/washeet

# Go to package's src root.
$ cd $GOPATH/src/github.com/dennisfrancis/washeet

# Build the demo
$ make demo

Run any http server in the demo directory as root. For instance

$ cd demo
$ python3 -m http.server

Open Chrome browser and point to "http://127.0.0.1:8000". Now you can see the demo in action!

Contributing

You are always welcome to submit a bug-report(issues) here or provide a pull request. Happy hacking !

FAQs

Package last updated on 13 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc