Public
Like
spreadchat
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
A fully featured spreadsheet application built for Val Town with the following capabilities:
- Full spreadsheet functionality (cells, formulas, editing)
- Events that emit selected cells and their data to the wider page
- Import functionality from Google Sheets
├── backend/
│ ├── index.ts # Main HTTP entry point
│ └── sheets-import.ts # Google Sheets import functionality
├── frontend/
│ ├── index.html # Main HTML template
│ ├── app.js # Frontend application logic
│ └── style.css # Custom styling
└── README.md
- Access the spreadsheet at the HTTP endpoint
- Use the spreadsheet interface to create, edit, and manage data
- Import data from Google Sheets using the import button
- Access selected cell data via the exposed JavaScript API
This project uses:
- x-spreadsheet for the spreadsheet UI
- SheetJS for Google Sheets import functionality
- Custom event handling to expose spreadsheet state to the parent page