Lurker News

Comments (147) 38 threads

Earlier comments
alpb1 reply#
I also recently built a URL shortener on top of Sheets API (https://github.com/ahmetb/sheets-url-shortener) and I don't have to worry about setting up a database or other form of storage. All I needed to do was set up credentials, and it's good to go.

A lot of folks don't realize Google Sheets is like a free small database with a decent API. :)

tjchear#
Precisely! A lot of folks have already built their businesses and processes atop Google Sheets, so it seems a no-brainer to me that any SaaS dealing with data should have a way to bootstrap from that.
alin231 reply#
Great idea and execution! I've been using Liftoff[1] with Airtable as a DIY solution for this and while it's been easy to set it up and deploy it on Netlify, I still had to resort to writing a custom watch for changes daemon and forking the repo for adjusting the components layout.

I like that SheetUI has the things above built-in and more functionalities like adding buttons and a customisation UI.
Is a custom-CSS feature going to be available anytime soon? It would be great to be able to add some original styling to a website.
[1] https://github.com/postlight/liftoff

tjchear1 reply#
SheetUI is built using Material UI, which I'm still getting the hang of. It certainly has support for parameterized themes. As for custom CSS, I'm going to have to look into how to do that technically while making sure there's no security implications.

Thanks for showing me Liftoff! The generated websites look great. I'll see what I can learn from it.

alin23#
I think just allowing a CSS textarea input that can be injected inside a
julienb_sea1 reply#
In college I would make primitive webpages for my college newspaper to use for live feeds and such content publishing. I built something like this (although vastly less polished) - the writers could just fill in details in a sheet & add image URLs, and my static page could retrieve the spreadsheet contents via API and essentially have a super cheap data backend with a super fancy collaborative editor. Fun times.
tjchear#
That is the perfect use case! Sheets already got a lot of features baked into it, no point re-inventing.
uptown1 reply#
I used to drive a restaurant website's menu using a shared Google sheet. It was an easy way for multiple people to have access to update the content. I'd cached the recent versions in-case anyone made a breaking formatting change or Google was unavailable. Worked very well for our use-case.
tjchear#
That's a good point. I should cache the generated sites or the sheet's data in case the sheet server goes down.

Load more comments