Every line of code has been audited by all security researchers. The implementation is language agnostic and extremely slim (0 LOC). It runs all the JavaScript I want (none).

    • fkn@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      1 年前

      And yet, somehow there is still a bug in the datetime implementation.

    • newIdentity@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      1 年前

      Ironically, such a site would more bugs then of it would use Javascript. And security issues are still an issue too.

      Basically everything has to be handled through forms and a site reload and hidden components and lots of css :hover events. Have you ever tried making a dropout without Javascript? It isn’t impossible, but really hard.

      And such sites exist. Just that they’re mostly Darknet sites like like Dread or Bohemia

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        1 年前

        dropout menus are actually pretty easy to do without js

        all you need is focus-within and friends.

        like i recently made one on my personal project (which fully works without js, which is only used for realtime chat functionality and some additional effects, like loading icons in forms and stuff)

        live deployment: https://fortum.pp.ua/
        recording: https://streamable.com/4ba0gg

        • newIdentity@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          That’s pretty impressive. I tried doing something similar a few months ago but couldn’t find anything. Are you using a framework or how do you render the site on the server?

          • voxel@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            1 年前

            about the menu - it’s just based on focus-within. no need for any terrible hacks.
            about the backend - it’s just some basic templates (tera+rocket)

        • shastaxc@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          Pretty cool. Btw on your 404 page, the footer is in the center of my screen (vertical center). I am on android using Firefox. I hit the 404 error trying out the search bar. Just thought you might like to know.

  • rentar42@kbin.social
    link
    fedilink
    arrow-up
    21
    ·
    1 年前

    I really like it and it clearly passed the code review without any issues. But I find the diagnostic messages a bit lacking, it can be hard to debug.

    • aksdb@feddit.deOP
      link
      fedilink
      arrow-up
      15
      ·
      1 年前

      But I find the diagnostic messages a bit lacking

      That’s weird. Every line of business logic has an infinite amount of logging. Ticket closed; works for me.

    • aksdb@feddit.deOP
      link
      fedilink
      arrow-up
      15
      ·
      1 年前

      The runtime doesn’t need to be obfuscated. Only the code you run with it. You can still compress and obfuscate that and it will run just as well as it did before. Actually you can completely scramble your code and it would still run exactly the same.

  • cloudy1999@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    1 年前

    One cool thing is that the comments are self documenting. I read the program earlier and it’s quite clear what it does. Excellent accomplishment, dear colleague!

  • knF@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 年前

    Can you share the github link? I’m really eager to use it in one of my key projects where JS is a core component :D