Show HN: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)

bento.page

167 points by starfallg 1 hour ago

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.

starfallg 1 hour ago

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.

  • mbreese 50 minutes ago

    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?

    • starfallg 45 minutes ago

      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.

syhol 5 minutes ago

Looks very good and I'm excited to try it out properly. It's a shame about the name considering a lot of self-hosters will be using BentoPDF. But thats one of two hard things in Computer Science.

ethin 5 minutes ago

This is so cool! When I initially saw the title I was wondering how this is different from SlideJS or similar, but this is really cool and now I'm wondering if this could (at least in theory) be integrated into something like Pandoc as an output option?

momojo 31 minutes ago

This blew my socks off. Theres something so satisfying about knowing everything I need is in a single file. I know the caveat is *1. Have a modern browser*, but this is my go to format when trying out random ideas. I even have a macro called `try` that sends me directly to a new folder called `scratch/YYYYMMDD_<try_bento>`.

Great work! I hope to see more and more apps like this in the spirit of "Toss it all into context"

  • starfallg 15 minutes ago

    Thanks, you're right, that is the achilles heel. Most of the functionality actually is in the browser. We're just running fancy scripting on it.

trentor 28 minutes ago

I like it. I used Claude and Qwen to build single file HTML decks in the last few months. The nicest thing with HTML decks is that you can not only ship the decks but integrate your prototype/demos in the same file integrated into the flow of your deck. Would love to see a feature like that.

  • starfallg 24 minutes ago

    Thanks. That would be a cool feature, and definitely possible. Currently it's already got a feature where you can export and import it's data JSON. We just need to find a way to squeeze a whole frontend in.

skybrian 23 minutes ago

This is very neat!

For people clicking on a link to some slides that someone shared, it seems like starting out in viewing mode with a prominent edit button might be better than starting out in edit mode?

  • starfallg 20 minutes ago

    Thanks for the feedback, that's a really good idea! I'll try to roll it out shortly!

    • skybrian 12 minutes ago

      Also, viewing slides on a tablet, I don’t see a way to open speaker notes since I can’t “press the S key.” These instructions should probably be different if you’re not on desktop.

      Maybe display speaker notes by default if the screen is in portrait mode?

      • starfallg 8 minutes ago

        The slideshow button is a split pill, you can open it there where there is this tiny up arrow that opens up a drop down menu. But on tablet it probably doesn't do what you want it to as it was built for multi-screen use on the desktop.

        I'll have a think on this tonight and I'm sure we can do a tablet speaker notes mode.

BIGFOOT_EXISTS 34 minutes ago

Absolutely love seeing products like this. Starred, saved link, will definitely use soon.

luanmuniz 1 hour ago

This is awesome! I do love this software is one file thing. A breath of fresh air on these you-rent-everything-owns-nothing days

  • starfallg 1 hour ago

    Thanks! I guess there are some drawback to this approach, large companies especially would be completely adverse to it. But it's cool and I'm hoping people would find it useful!

meetingthrower 1 hour ago

OMG coming from bigtime consulting this is...AMAZING. Thank you!

  • starfallg 54 minutes ago

    Yeah, if you do a lot of slides, this is for you! The whole point of this is to make doing slides bearable!

stackghost 35 minutes ago

>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.

This is the best feature.

truetraveller 45 minutes ago

Great job! How long did this project take total? How much percent is AI generated?

  • starfallg 41 minutes ago

    Thanks! I started on this last week in my spare time and I used Claude, all my commit history is on Github. I did most of the coding via Claude Code, no fancy system or exotic harness.

    I would love to do more by hand, but I look after a tech team inside a renewables firm, so I don't have much time between job and my preschooler.

    • truetraveller 37 minutes ago

      Are you kidding me? I gave it a spin, and it's solid. That's crazy, I'm impressed!

bflesch 45 minutes ago

Looks nice, but I'd love to have a setting where all animations can be switched off.

  • starfallg 39 minutes ago

    Good idea! Let me roll that out. I guess you can also print to PDF.

schainks 31 minutes ago

This is awesome!

trentor 32 minutes ago

I like it. I us

latexr 1 hour ago

Why does the homepage mention AI over 20 times? Why does it mention AI at all? Why is most of it absurdly long and obfuscated base 64, which looks be binary data?

  • starfallg 1 hour ago

    It's really to solve a use case where there are a lot of these cool web-based presentations being created by AI, but they are all disposable things that non-technies can't work with easily.

    Base64 is paired with compression to keep the size small so you can share it easily. The original version was around 1.3MB and maybe we can have a switch to output without compression. The source that generates it is all in Github.

  • luanmuniz 1 hour ago

    Because whatever you like or not, AI support these days is a must. Nobody who makes PPT does everything by hand nowadays. And the project is on GitHub, you can get the full code there if you must...

fragmede 39 minutes ago

Um, that's amazing... and it's free?

  • starfallg 36 minutes ago

    Thanks! It's a project I did in my spare time and it's made with a lot of MIT licensed JS libraries, so it's natural to make this MIT licensed as well. I don't know even know how anybody would start to monetise something local-first like this in this day and age.

    • momojo 27 minutes ago

      Did you chew on monetization at all? I'm building something similar but for bio-imaging scientists, where I've packed everything I can into a single HTML (and even some modern segmentation models like Cellpose3 and StarDist that fit under Cloudflare's 25MB free tier limit haha.

      Maybe I'm thinking too far ahead but I'm hoping maybe I can cover the (future?) compute costs by charging for the heavy duty ML that would have to be run non-locally but IDK. This isn't critical yet but would love to hear your musings.

      • starfallg 21 minutes ago

        If you have a backend that does processing, I'm sure you can monetise it. But for Bento, the whole idea is to forgo the backend, so I didn't really think about it that much. If an enterprise version comes, I'm sure there is a way to integrate stuff like SSO that you can charge for.