35 comments

  • starfallg 3 hours 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.

    • allisdust 1 hour ago
      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.

      • starfallg 1 hour ago
        You are right, but I guess a lot of people recognise PowerPoint as a brand. Maybe I can bill this as better-than-powerpoint!
        • saghm 47 minutes ago
          FactorialPoint, your slideshows improve even faster than an exponential!
      • stackghost 1 hour ago
        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.

    • mbreese 2 hours 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?

      • rpdillon 1 hour ago
        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!

      • starfallg 2 hours 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.

        • francozanardi 1 hour ago
          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! :)

    • ronyeh 1 hour ago
      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 1 hour ago
        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.
  • praveer13 1 hour ago
    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.

  • notpushkin 1 hour ago
    > Go to https://bento.page/guestbook/ to try out the live guestbook to experience share editing / collab.

    My M1 Mac froze in the end (had to hard-reboot), but that was so much fun! I guess there’s a reason Figma uses WASM and a custom renderer, though I guess your implementation should work fine for most cases (i.e. not when all of HN are trying to edit everything simultaneously :^)

    Two notes:

    1. It would be nice if another person changing something unrelated to what I’m doing didn’t reset the focus for me.

    2. WAY too llm-y copy both on the landing page and the example deck. Your HN submission text is way easier and more pleasant to read.

    And huge kudos for releasing this as FOSS!

    • starfallg 1 hour ago
      Thanks! I had to reset the guestbook because it's being spammed. It's on epoch 4 now, hopefully people will be better behaved moving forward!

      1. Yes, that's a good point that somebody else raised also. It went pass testing as I was only testing with 1 or 2 other people at once. Will fix this tonight.

      2. Yeah, agreed and fair point. But I don't write well and I don't have time between day job and being a dad. Will try to fix this gradually.

      • notpushkin 1 hour ago
        1. I’ve added the ⌘V remark on the first slide (it was the only way I could add anything in the previous epoch at all!). Hope it helps others have fun in the meanwhile.

        2. Absolutely fair point, and it’s okay – the demo speaks for itself :-) Although if you wrote that submission text yourself, you do write pretty well! But obviously no pressure here.

  • calebm 2 hours ago
    Awesome. I've been trying to promote this kind of Single-File Web Apps as a concept - feel free to add this to the proposed Wikipedia page: https://en.wikipedia.org/wiki/Draft:Single_File_Web_Apps
    • yreg 20 minutes ago
      The draft doesn't read as a Wikipedia article – e.g. addressing the reader as 'you'.

      I don't think WP is the right place for this. It is supposed to be a tertiary source, not a place to promote concepts you want to see established.

    • littlecranky67 1 hour ago
      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

    • billyp-rva 55 minutes ago
      Ilograph diagrams can be exported to standalone HTML files (like this example: [0]). Coincidentally, they also have slides (kind of) and clock in at around 560KB.

      [0] https://www.ilograph.com/demo/intelligentDocumentProcessing....

    • RodgerTheGreat 1 hour ago
    • Jonovono 2 hours ago
      https://hyperclay.com/ could be on there I think
    • starfallg 2 hours ago
      Thanks for sharing this! Let me take a look. I was only aware of TiddlyWiki when I first started on Bento.
  • sciencesama 3 minutes ago
    if you extract ppt it is a xml file !! fyi !
  • aag 1 hour ago
    What an ambitious and impressive project! I'm going to try it.

    One note: The home page says "Nothing phones home," but the Bento files I've examined include a cloudflareinsights.com beacon.

    • starfallg 1 hour ago
      Thanks for raising that. It might be in the standard cloudflare/actors SDK I used for Cloudflare Durable Objects. I'll try to disable this behavour and if we couldn't, we'll rip out DO and replace it with something that doesn't phone home. Apologies I wasn't thorough enough here.
    • starfallg 1 hour ago
      Just an update to this phone home issue. I haven't found anything showing that this should be normal behaviour. I'm thinking this may be due to cloudflare challenges due to the traffic spike. In addition to the DO, the whole website sits behind a Cloudflare proxy.

      Will keep chipping away at this and update as I learn more.

    • pembrook 1 hour ago
      By ambitious and impressive do you mean for Claude?

      Because while cool this is clearly heavily vibe coded.

      • aag 1 hour ago
        I'm don't care. If it's good, it's good.
        • pembrook 48 minutes ago
          Agreed, but the days of software projects being ambitious or impressive are over.
          • rob 25 minutes ago
            Because they didn't write all the code by hand? Seems like an odd measurement for determining if a project is ambitious or impressive. Clearly this one is based on the replies here.
  • syhol 2 hours 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.
    • starfallg 1 hour ago
      Aw man! Well it is very different to what BentoPDF is doing. I'm sure nobody would get confused!
  • dptrsa 1 hour ago
    I've been reading HN much longer than I've had an account, and I have never once left a comment or interacted with any post. Had to break the seal to say great job with this. Really fantastic out of the box, and timely thinking. I'll be using this for sure.
    • starfallg 1 hour ago
      Thanks! It's also my first submission to HN after reading and commenting on here for the last 7 years!
  • TeeWEE 1 hour ago
    Was using Reveal.js which worked well because it can use any HTML or any plugin.

    Bento works with a predefined schema, so you cant use any HTML library (Such as Mermaid.js) if you need it in your presentation.

    But then again, often you dont need it.

    Just created a presentation with Bento... I do think Reveal.js gives you more raw power. But I like bentos single html page design, and you can easily edit it manually. You cant do that with Reveal.js

    • starfallg 1 hour ago
      Yup, I'm trying to see if we can add arbitrary JS. I think it may be possible, but would take a bit longer to test out different approaches. However I guess the main target audience for this is coders that interact with non-coders when doing presentations, and I think currently this approach is sufficient.
  • mklarmann 1 hour ago
    I recently did something similar with just asking claude to create me a presentation with GSAP animations. With a some nice features to embed apps, switch the language while presenting, etc. - it works like a charm: https://eos-lci.gitlab.io/eos-lci-presentations/klimabuendni... (all open source)
  • trentor 2 hours 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 2 hours 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.
  • momojo 2 hours 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 2 hours 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.
  • thecombjelly 1 hour ago
    Very cool project! It looks nice and the technical aspect of how sharing/CRDT is implemented is a really great idea! I would definitely be interested in the ability to change the relay; ideally to something self-hosted.
    • starfallg 1 hour ago
      Thanks! That's a really good point. I used Cloudflare DO as it was elegant and convenient, but no reason why we can't run a small daemon to handle the same. I'll work on this later in the week.
  • hilti 1 hour ago
    Great project. But please check the name:

    https://en.wikipedia.org/wiki/Bento_(database)

    • ajam1507 1 hour ago
      > Bento is a discontinued database application for Mac OS X made by the former FileMaker Inc., since renamed to Claris.
      • dabbz 13 minutes ago
        So OP needs to rename their slideshow tool to Claris?
    • rob 36 minutes ago
      It's also the name of a CMS from PBS that's been used for years:

      https://docs.pbs.org/space/B3/4751362/Bento+3.0

  • ethin 2 hours 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?
    • starfallg 17 minutes ago
      Thanks! I'm not familiar with pandoc but I think you can get some data out of the Bento JSON but is not going to be very rich. May be easier to render it to PDF (which works well in Chrome) first.
  • vonnieda 1 hour ago
    This is really clever and is taking a direction I hope to see more software taking! Totally self contained is awesome. Well done!
  • luanmuniz 3 hours 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 2 hours 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!
  • BIGFOOT_EXISTS 2 hours ago
    Absolutely love seeing products like this. Starred, saved link, will definitely use soon.
  • skybrian 2 hours 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 2 hours ago
      Thanks for the feedback, that's a really good idea! I'll try to roll it out shortly!
      • skybrian 1 hour ago
        Some unexpected behavior: I reloaded the page, double-tapped on the first slide to go back to it, then hit slideshow. Instead of starting out on the slide like I chose, it went to a slide further in othe presentation. I think it’s a bit too persistent about resuming where you left off?

        Also, swiping left to get back to the first slide puts me back in the editor (I went too far), and then hitting slideshow puts me back where I started so I have to swipe left again.

        • starfallg 1 hour ago
          The slide resume behaviour is definitely a bug, I'll take a stab at it shortly.

          The swipe left on first slide is a feature though, its to help mobile users get back to the editor easily.

      • skybrian 2 hours 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 2 hours 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.

  • shaism 1 hour ago
    Awesome. Perfect for editing with agents and sharing with coworkers.

    - Even works well on mobile.

    - Embedding images and videos also works flawlessly.

  • francozanardi 1 hour ago
    Love that it's just one HTML file, really easy way to share software. Great work!
  • meetingthrower 2 hours ago
    OMG coming from bigtime consulting this is...AMAZING. Thank you!
    • starfallg 2 hours ago
      Yeah, if you do a lot of slides, this is for you! The whole point of this is to make doing slides bearable!
  • ninjahawk1 1 hour ago
    I’ve honestly been kind of surprised that large companies software hasn’t been recreated for free en masse from the use of AI in a weekend. I’ve definitely seen some cases but it’s not as common as I had personally expected.
  • stackghost 2 hours 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 2 hours ago
    Great job! How long did this project take total? How much percent is AI generated?
    • starfallg 2 hours 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 2 hours ago
        Are you kidding me? I gave it a spin, and it's solid. That's crazy, I'm impressed!
  • bflesch 2 hours ago
    Looks nice, but I'd love to have a setting where all animations can be switched off.
    • starfallg 2 hours ago
      Good idea! Let me roll that out. I guess you can also print to PDF.
  • schainks 2 hours ago
    This is awesome!
  • luckydata 1 hour ago
    this project is a monument to the HUGE failure of the Workspace team at Google to enable agent editing in a way that makes sense.

    Google is really shitting the bed in all the way that matters on GenAI and being an ex employee of Cloud I am not in the least surprised about it, just really sad.

  • hathym 1 hour ago
    impressive, bravo!
  • latexr 3 hours 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 3 hours 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 3 hours 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 2 hours ago
    Um, that's amazing... and it's free?
    • starfallg 2 hours 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 2 hours 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 2 hours 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.
  • ABO_Studios 39 minutes ago
    [flagged]
  • nicc047 2 hours ago
    [dead]
  • GrinningFool 2 hours ago
    Also, bento: https://github.com/chef/bento. No relation.