Lurker News
Over the past few months, our team has been building more and more slidedecks using web frontend technologies with coding harnesses like Claude Code, but a common complaint is to make even small edits we need to edit the code either manually or via the harness.

To avoid this loop, I ended up creating Bento, a single HTML file with everything you need in a slide tool including animations and shared editing. There's no install or cloud login, everything works offline. The default deck is around 560 KB and it doesn't need to fetch anything once you got it.
Open it in a browser and then you can edit, present, print and save. Share it via email or via Airdrop and all they need is a browser to edit, present and also do live collab on the slides. Drop it in to Claude or ChatGPT to transform existing pptx files into Bento slides. There is no cloud involved, only an encrypted blind relay to allow for shared editing. The relay doesn't see any of the data.
Check it out at https://bento.page/slides/ which takes you straight to the editor.
Go to https://bento.page/guestbook/ to try out the live guestbook to experience share editing / collab.
There is also a gallery with some sample decks on the website - https://bento.page/
All the code is MIT licensed and you can find it here - https://github.com/nyblnet/bento . I used reveal.js with several other libraries (including some homegrown ones), and Claude Code.

Comments (239) 111 threads

starfallg8 replies#
Hi, I'm the creator of Bento. Just wanted to share a bit more about how I created it beyond what's in Github.

The file contains more or less two sections. There is a plain block of JSON near the top of the file which is the slide data. You can read, grep, or point a harness at it. The app itself is in a base64 blob that loads through a small shim which deflates in the browser with DecompressionStream, which keeps the package small and so that we don't need to fetch any external files at runtime. File System Access API is used for JSON writeback into the same file, which falls back to a plian download and all updates are ECDSA signed.
I started with reveal.js which served as a base, and incorporated GSAP/Flip to handle the animation. Then I added charting with echarts, but due to a number of issues with size and how the worked, I ended up re-implementing both.
What I'm most pleased about is how seamless the CRDT works. The blind relay is a small file that runs on Cloudflare Durable Objects, and all it sees are the encrypted data from the clients. Collab is off until we turn it on in the app (by starting a session by sharing by invite file), and then some sets of keys are generated. Access is handled by user key, and you can have read-only users, and also revoke live collab access by user as well.

mbreese2 replies#
This was my biggest question. Thanks for preemptively answering (and being proud!).

When I was playing with this, I immediately thought of TiddlyWikis, which I've always been fond of, but they never took for me. However, an easily editable presentation -- that's a use case I can understand.
I couldn't see how there was a CDRT when I'm just working with a single file. I was trying to figure out where the server was. So -- this is just on for everyone? Are you concerned that your Cloudflare account will be hammered with this?

starfallg1 reply#
You can play around in the guestbook. I'm in it right now and you can see me editing things.

Cloudflare Durable Objects are pretty cheap and I'm using it like a very basic pub/sub with each deck having it's own DO. I did some calculations and it should be well within my spend limits.

francozanardi1 reply#
Something super small that I've noticed in the guestbook: since there're a lot of people connected, I noticed that every time I received an update, I lost the focus of my text element, so it was a little bit difficult to write something.

It may be annoying if two users are working at the same time in the same project.
Again, very cool project! :)

Continue this thread — 1 reply

rpdillon1 reply#
My project for the past few years is called AppDeck, collection of self-contained HTML files that know how to save themselves back to the AppDeck server, which is just WebDAV. AI has been enormously helpful in building out a suite of apps that can do this. So far I have a diagram editor that can produce SVGs, a multi-document editor that backs everything with markdown, but supports Kandan boards, documents, logs, and calendars. I also have a work flowy clone that I've really been enjoying organizing ideas with at work. There's a gallery app that inlines all of the images and can display them full screen in a light box and with a timed slideshow that also supports captions and encryption.

All of it just runs out of a folder on disk and can either be deployed locally or on a server behind a login. I intend to open source it, but I'm not quite proud enough yet of some of the implementation aspects to do so. Hope to do it this summer though!

Mtinie#
My initial reaction was “woah, you just described HyperCard”. Which isn’t exactly true in retrospect, but kudos for capturing the promise of (at least for me) one of the formative technologies that subtly, and not so subtly, influenced the web we know today.
allisdust2 replies#
I would call this a slide show not powerpoint mostly because making it work with the satanic office formats is a path to hell.

Hopefully simpler formats like this will become the norm and the old ones can die.

starfallg1 reply#
You are right, but I guess a lot of people recognise PowerPoint as a brand. Maybe I can bill this as better-than-powerpoint!
saghm1 reply#
FactorialPoint, your slideshows improve even faster than an exponential!

Continue this thread — 1 reply

stackghost#
The term "powerpoint" has been genericized in the common vernacular to mean any electronic slide show, like kleenex for tissues and sellotape/scotch tape for transparent adhesive tape.

It might not have reached legal generic status but just about any working professional will understand what you mean if you refer to "making a powerpoint deck" even if you don't use the actual Microslop product.

ronyeh1 reply#
Nice idea. What happens if you upgrade to v2 and my slide decks are on v1?

Can I click upgrade and get the JSON slide deck data exported into a v2 shell?

starfallg#
Yeah, upgrades are pretty seamless so far as the JSON format for the slide data is pretty forgiving. You can also export and reimport the data. It's in the split pill next to Save.
inanutshellus3 replies#
The concept that's MAGICAL in Reveal.js is vertical slides.

e.g. https://revealjs.com/#/2/1 <-- from here you can go up or down, then go right to continue the presentation.
You just make one slide deck with lightweight high-abstraction slides and depending on the audience you just... hit the down arrow. bam. now you're inside the tech slides. no nerdy tech guys? sweet, don't hit down on slide 3. Instead you're with the marketing guys, so hit down on slide 5.
Anyway - looks like you got rid of that in order to mimic Powerpoint, but... don't forget it's there. it's my favorite part of using Reveal.js!

starfallg1 reply#
That's a great point. I went down the state slide route in order to handle a similar type of use-case, but I'll look into this and see if we can incorporate that somehow. It seems like a really elegant way to implement some state slide use cases. And thanks for the heads-up on this!
sdoering1 reply#
Could the hidden state slides "just" react to a down arrow press as well as to the click? But then they probably would have to have an order somehow?

Just my two cents.

Continue this thread — 1 reply

chrisweekly1 reply#
It'd be cool to add a third dimension to reveal.js decks. One of the transition animation options is "zoom", which visual effect is like going into / through the current slide. The Overview mode could be enhanced to show a 3D map (a stack of 2D layers). All kinds of fun mazes / games / interactive fiction use cases come to mind....
gchamonlive1 reply#
You guys are reinventing Prezi and I'm into it

Continue this thread — 1 reply

gcanyon#
I guess I get the clarity (of vertical slides as you describe), but I'm wondering if two dimensions is limiting -- slides could be a flow chart, with various forks/side quests along the way. Obviously it would be possible to build something as confusing as the Colossal Cave, but the vertical slides use case would easily be a subset of that larger functionality, and it would leave it up to the user to decide their level of need for/tolerance of complexity.
PhilippGille1 reply#
The project looks very interesting, thanks for sharing!

You seem to have created a new GitHub account just for this project a week ago. Do you have any other GitHub accounts that enable us to see a track record of your work (maintenance, security)?

ericyd#
Good faith question: what would you do with this information if you had it? For example, do you have a systematic audit plan for github accounts that you execute before using a project?
chr15m1 reply#
Would be cool to use Nostr relays, then you don't have to depend on the proprietary CloudFlare infrastructure.
starfallg#
Thanks for the pointer on this, will check this out.
appplication1 reply#
Very cool! FYI I was able to cause all sorts of hell by pinch zooming on mobile safari. This seemed to throw off the click and drag select box and on one occasion crashed the page entirely.
starfallg#
Let me reproduce it on iOS and push out a fix shortly. Thanks for the heads up.
moontear2 replies#
How do we UPDATE the underlying engine once it gets new features? Since this is a self contained HTML file I am not sure how this works.

Editing multiple things at once (select via CTRL) needs some more options (like text centering).

Continue this thread — 2 replies

praveer132 replies#
This is amazing. I also think this will become more common. I feel there is a lot of software that can just be served locally via html/typescript/react etc and even have local state. There's just not been an economic incentive till now.

I am personally using kimi k3 to create a mobile friendly set of games, starting from math like linear algebra to quantum physics - neurodivergent friendly, completely local state, served from github pages - to get someone interested in the field. This needs an economic incentive to exist without LLMs, because of so much different expertise needed, and time.
if anyone's interested in the games let me know - i plan to play it myself, improve it, remove bugs etc before publishing on HN.

starfallg1 reply#
Thanks! If you need anybody to test and feedback, I'll give it a go.
starfallg1 reply#
I really like the first 2, but not sure about the game mechanics of the last one. However, the graphics were nice and fluid throughout, looks great!

Continue this thread — 1 reply

archonis1 reply#
Don't hijack browser history like that.

Continue this thread — 1 reply

Kuyawa1 reply#
How do I tilt the desktop browser?

Continue this thread — 1 reply

WillAdams#
Yeah, I was just discussing with a co-worker the concept of a hybrid document where editing controls and the content all exist in a single HTML file (prior implementations include various wikis such as: https://feather.wiki/ ) --- makes one wonder what an SVG or spreadsheet implementation might look like.
starfallg#
Thanks for sharing this! Let me take a look. I was only aware of TiddlyWiki when I first started on Bento.
calebm#
I looked at adding hyperclay, but I think it requires server-side code.
littlecranky671 reply#
mdwiki [0] would probably qualify. Disclaimer, I created+released it in 2013. I always jokingly called it the first true single-page application - as it was a single, offline-capable .html file with all images, icons, styles etc. inlined in the same .html file.

[0]: https://mdwiki.info

habibicode1 reply#
Would you care listing it on iamsingle.app, a sfwa directory I run?
littlecranky67#
feel free to add it

Continue this thread — 9 more replies

d4rkp4ttern1 reply#
Love it. Like some others here, I've been making html presentations with code-agents and they come out really nice. Other alternatives for that suit different purposes are these:

- slidev markdown-based slides, I often have a code-agent make these. https://github.com/slidevjs/slidev
- typst slides are great looking too, especially with math etc. Again easy for agents to do
One minor nit: Based on the title, I thought this was literally a tool that had something to do with PowerPoint, but "PowerPoint" is used here as a synonym for "Presentation", which is ironic/unfortunate given how many dislike PowerPoint.

Continue this thread — 1 reply

Load more comments