• yawnxyz 11 minutes ago

    Reminds me of Ink and Switch's Potluck: https://github.com/inkandswitch/potluck but this has way better DX / is way easier to use

    • fenomas 10 minutes ago

      Very cool! A couple first-blush bits of feedback:

      - The editable text fields currently lose focus after each keypress

      - Error handling will be a hard nut to crack, but currently if you, say, add "a" to an editable textbox that expects a number, the live component reverts to text

      - Minimal support for buttons would add a lot for simple interactive charts - something like:

          ::button
          label="Set x to 5"
          x = 5
          ::
      • james_marks an hour ago

        Really nice job, the emphasis on local+live execution is much appreciated.

        I’ve spent some time working on something like this and ended up in a Turing tarpit, I hope you are able to avoid that fate.

        The questions I let myself avoid for too long was, who is my user, and what are they trying to accomplish? How technical are they?

        Once I answered those (on year 2, after running out of money) I built the same capabilities into a very different offering. Still with the goals of local, live, executable docs, but you wouldn’t recognize it.

        • deepmacro an hour ago

          Thanks! That's why I posted this here to see if people would resonate with this or not... I've only worked a couple of weeks on this and I had the same questions!

          Can I ask what you ended up building? Is there a website for it?

        • gregwebs 11 minutes ago

          Neat little tool. I was looking for Excel in the examples but only saw charts.

          For Excel + Word I use coda.io. You can also quickly create equations with sliders for variables to satisfy similar needs as Tenno but I haven't tried charting with it yet.

          • tgv 16 minutes ago

            Excel, but linear, without the reference mess. It looks cool for mocking up dashboards. Some form of grid with nested documents could make it more useful.

            • deepmacro 14 minutes ago

              +1 this! I think writing helps you create a narrative that disambiguates the mess you can create in Excel. It also forces you to think more about what you do. Good suggestions! Thanks

            • niek_pas 34 minutes ago

              I wanted to check this out on my phone, but it is unfortunately impossible to even read the text on the page or look at the examples.

              • deepmacro 31 minutes ago

                Yes, a responsive layout it's something I'll tackle in the future, but I think that in 90% of use cases people should use this on a laptop. Check it out again on a laptop if you can!

              • pzmarzly 44 minutes ago

                I opened the docs page, tried editing one of the examples, the page immediately crashed. You may be interested in setting up some error boundaries between your components.

                  Unexpected Application Error!
                  Cannot read properties of null (reading 'alternate')
                  TypeError: Cannot read properties of null (reading 'alternate')
                    at Uh (https://tenno.app/assets/index-y2OkIpP6.js:38:18238)
                • deepmacro 39 minutes ago

                  Right, I did not put a lot of checks in place for such failures. Does it keep happen if you refresh? I've never seen it TBH https://tenno.app/docs

                • jnordwick an hour ago

                  Sounds similar to emacs org mode where you have markup and tables can have Elisp formulas in them.

                  • subsection1h 20 minutes ago

                    Yeah, that's what I was thinking.

                    deepmacro, before you created Tenno, did you try Org? It supports plain text spreadsheets[1] in Org documents whose content is marked up using Org syntax[2], which is a lightweight markup language like Markdown but with many more features. If you did try Org, how was it lacking?

                    [1] https://orgmode.org/manual/The-Spreadsheet.html

                    [2] https://orgmode.org/worg/org-syntax.html

                    • pdyc 15 minutes ago

                      i do my taxes with org spreadsheet i doubt it lacks and you also have the option to get output in html/pdf etc. with babel.

                  • vb-8448 43 minutes ago

                    How did it compare with https://observablehq.com/ ?

                    • deepmacro 38 minutes ago

                      I'd have to look more into it, one thing for sure is that Tenno does not try to be something like Jupyter. The cells execution order is sorted out for you.

                    • robertlagrant an hour ago

                      I can imagine having a secrets store whose contents can be embedded into API calls, either in the URL or in a header, would be pretty useful.

                      And looking further ahead, having a way to authenticate users via Okta etc with the usual gubbins of groups and permissions and personal areas and sharing URLs would no doubt give you uptake in corporate areas.

                      • brospars 24 minutes ago

                        Great demo, reminds me a lot of Jupyter Notebook but the "inline" cells are so much better

                        • yodon an hour ago

                          You might be interested in the Handlebars integration[0] Microsoft recently added to their SemanticKernel AI SDK.

                          It's not identical to what you're doing, but there's considerable overlap and possibly some food for thought.

                          [0]https://medium.com/@shijotck/automating-tasks-with-semantic-...

                          • Ennea an hour ago

                            Tenno is the name of the faction in the video game Warframe the player characters are comprised of. Just want to point that out.

                            • deepmacro an hour ago

                              Cool, didn't know that, but I can assure you it's also the name of a lake close to where I live

                              • philipov an hour ago

                                Make sure to always google a name you want to use before using it, to make sure you're not going to get clobbered by someone else's dominant SEO on the word.

                                • deepmacro an hour ago

                                  Actually I did some very simple search and most results were about my local lake, so I figured that the context was different enough, we'll see.

                              • layer8 an hour ago

                                It’s also the Japanese Emperor.

                                • sickofparadox an hour ago

                                  This was my first thought, probably will make searching stuff difficult.

                                  • Ennea an hour ago

                                    Should not be too bad. The two are different enough that you can add some sort of context to your search terms, like searching for "tenno markdown".

                                • FredPret an hour ago

                                  Very cool. I've always thought there's a lot of untapped potential in literate programming [0].

                                  There are lots of reports and documents that should be this instead of static Word files.

                                  [0] https://en.wikipedia.org/wiki/Literate_programming

                                  • cjonas 2 hours ago

                                    Vet cool! I've always wanted something like this in my note taking (currently use obsidian), but it being a "webapp" is kinda a deal breaker. I want something that runs and stores my data locally.

                                    • deepmacro 2 hours ago

                                      Well it's a web app but it's not using anything in the cloud at the moment, I experimented with packaging it in an app for Mac and works nice. If more people wanted it this could definitely be converted in something running locally where you can store .md files in your computer.

                                    • bshaughn 2 hours ago

                                      You can do a lot of this in obsidian with the dataview and execute-code plugins!

                                      • deepmacro an hour ago

                                        Didn't know about this! Will look into it, one nice thing here is that you do not need "ordering" like in imperative programming when you define your cells.

                                        Is that possible too in Obsidian? Or perhaps it's not useful...

                                    • hello_computer 16 minutes ago

                                      It would be helpful to have a built-in bignum type. Excel’s usage of float is performant, but it is also a mistake. A complex number type would also be nice to have.

                                      • btbuildem an hour ago

                                        Interesting effort.. I'd just spin up a Jupyter Notebook instance, but hey.

                                        • deepmacro an hour ago

                                          Right, something that's potentially difficult with Jupyter is sharing something that looks nice with non technical folks where they can easily change values and see the result change immediately without having to execute cells.

                                        • oulipo 2 hours ago

                                          Nice idea, could be a lightweight enough way to create some visualizations

                                          • deepmacro 2 hours ago

                                            Yeah, at the moment I only have line charts but I can add other charts using ChartJS. I also think it could be useful to share some initial prototypes with less technical folks.

                                          • perftime 2 hours ago

                                            Nice! What about integrations with Google sheets?

                                            • macro-b 2 hours ago

                                              That seems quite doable but it would require a backend to store the OAuth

                                              • pdyc 17 minutes ago

                                                Public sheets don't require oauth, i am using public sheet as test url to display csv in my tool.

                                            • ulla7653 2 hours ago

                                              If you hate spreadsheets this could be your way out of it...