Readit News logoReadit News
fullstacking commented on Free/open source full featured site for small restaurants and cafes   full.localcafe.org... · Posted by u/fullstacking
fullstacking · 4 days ago
This is sneak peak not 100% production ready, but I'm very close. I just need to put some polish on the styles.

https://github.com/Local-Cafe/localcafe-full

You can test the checkout with a sandbox stripe credit card IE 4242 4242 4242 4242

## Features:

* Stripe payments fully integrated.

* Anonymous user checkout and payments.

* Tips can be added at checkout.

* Browser based push notifications.

* Order status tracking.

* Menu items can have multiple prices and or variants.

* Menu items can be associated to a given location as only available there.

* Menu items have basic tags / categories for easy filters.

* Analytics built in admin dash

* Blog + comments with full comment moderation

I have loads more planned for this and again its very early. I just could not wait to show off the progress so far.

I'm open to feed back good or bad.

The stack is:

Serverside: Elixir (no liveview)

JS: vanilla - no framwork

CSS: vanilla - no framework

My only runtime npm module is "@stripe/stripe-js": "^8.5.2"

It has a wasm tool I built for client side image scaling and uploading to a s3 compatible object store via pre-signed urls for use in the menu items, slide show and locations. No server side image processing required.

Demo site take about 156.7 MB to run on the server.

fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
SchemaLoad · 13 days ago
It's pretty sad how there doesn't seem to be any decent free options for websites which are easy to use. Squarespace and such cost a fortune which isn't worth it if you aren't trying to run a full ecommerce site. Plenty of services offer free hosting of static content but don't have any way a normal person can use them. Having to use a static site generator is too hard for non programmers.

I'm just surprised we haven't seem some app that can act like a wordpress admin page but generating a static output you can host for free or very cheap somewhere.

fullstacking · 10 days ago
I've updated, this now has Zero Runtime js, Not a single line of js runs when this page loads in your browser.
fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
mrasong · 12 days ago
How should the menu be adjusted then? Baristas aren’t into code, no one’s gonna learn programming just to tweak a menu.
fullstacking · 12 days ago
They are markdown files, if you can't manage a markdown file then you are not likely gonna have any easier of a time working in wordpress or anything for that matter.

We assume people are so stupid, its not they are stupid, they have to learn wordpress admin, square space's admin, wixx, they all have a learning curve. The issue is time and effort. If the process is simple even if not elegant its still simple.

In my case you are logging into github and navigating to a folder vs an admin and navigating to a specific section. Editing file directly in github vs hitting save on some form and site deploys via github actions without any other need. If anything my system offers version control baked in with about the same level of effort.

fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
captn3m0 · 12 days ago
I'm not seeing anything very specific in the code - feels like this could be just another Jekyll theme and still work the same. There's some custom front-matter in markdown files, but change that to regular YAML and it will just work.
fullstacking · 12 days ago
There is some code for looking up the geo lat/log of locations at compile. not sure how you would do that. But yeah outside of that your are mostly correct.

I used elixir because thats what I know and love so it was mostly just a personal choice rather than a technical one.

fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
davisr · 13 days ago
No one should need JS to see the soups when that could be handled perfectly fine with CSS. I wish restaurants would just make their homepage a PDF of the menu.
fullstacking · 12 days ago
No one should need PDFs to see the soups when they can be handled perfectly fine with CSS scoped to print and save to PDF....

/s

fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
bhelkey · 13 days ago
A couple of things:

First, the site generator is MIT licensed but I don't see a link to the license. If someone forks this generator, would they be in compliance with MIT license requirements?

Second, the images linked in this site are quite nice. I can imagine someone choosing to use some of them as is. Are they yours to share?

Third, it appears that you are targeting non-developers. I would think about how to make it as easy as possible to customize. Decisions like putting images in "priv/output/images" seems a bit confusing.

fullstacking · 13 days ago
First: https://github.com/Local-Cafe/localcafe-lite/blob/main/LICEN...

Second: pixabay

Third: Yeah that's the challenge I'm working on at the moment. Thanks for the feed back.

I do plan on cleaning up the repo so that you are not starting with the example and also plan on making a small tutorial video to show how much effort it takes to setup.

fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
davisr · 13 days ago
No one should need JS to see the soups when that could be handled perfectly fine with CSS. I wish restaurants would just make their homepage a PDF of the menu.
fullstacking · 13 days ago
To be fair this project uses zero 3rd party npm modules for runtime. The total runtime JS it uses is 1.76kB in size.
fullstacking commented on Free static site generator for small restaurants and cafes   lite.localcafe.org/... · Posted by u/fullstacking
codewritinfool · 13 days ago
Link at the bottom of your example page results in 404. For me, anyway.
fullstacking · 13 days ago
ah yeah, sorry work in progress. There is a link to the repo https://github.com/Local-Cafe/localcafe-lite

u/fullstacking

KarmaCake day85May 22, 2025View Original