Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

Scheduled Pinned Locked Moved Uncategorized
web
25 Posts 13 Posters 5 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dillo@fosstodon.orgD dillo@fosstodon.org

    After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

    On forking the Web

    On forking the Web

    favicon

    (dillo-browser.org)

    akkartik@merveilles.townA This user is from outside of this forum
    akkartik@merveilles.townA This user is from outside of this forum
    akkartik@merveilles.town
    wrote last edited by
    #5

    @dillo One end of the spectrum is a 600-line markup language in which I can do grid layouts.

    Link Preview Image
    Mar 8, 2025

    favicon

    (akkartik.name)

    Link Preview Image
    A markup language and hypertext browser in 600 lines of code

    favicon

    (akkartik.name)

    1 Reply Last reply
    0
    • dillo@fosstodon.orgD dillo@fosstodon.org

      After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

      On forking the Web

      On forking the Web

      favicon

      (dillo-browser.org)

      kirtai@tech.lgbtK This user is from outside of this forum
      kirtai@tech.lgbtK This user is from outside of this forum
      kirtai@tech.lgbt
      wrote last edited by
      #6

      @dillo
      I despise the very concept of a "living standard" with the heat of a thousand fiery suns.

      tseitr@mastodon.sdf.orgT 1 Reply Last reply
      0
      • kirtai@tech.lgbtK kirtai@tech.lgbt

        @dillo
        I despise the very concept of a "living standard" with the heat of a thousand fiery suns.

        tseitr@mastodon.sdf.orgT This user is from outside of this forum
        tseitr@mastodon.sdf.orgT This user is from outside of this forum
        tseitr@mastodon.sdf.org
        wrote last edited by
        #7

        @kirtai @dillo looking at you whatwg

        1 Reply Last reply
        0
        • dillo@fosstodon.orgD dillo@fosstodon.org

          After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

          On forking the Web

          On forking the Web

          favicon

          (dillo-browser.org)

          tseitr@mastodon.sdf.orgT This user is from outside of this forum
          tseitr@mastodon.sdf.orgT This user is from outside of this forum
          tseitr@mastodon.sdf.org
          wrote last edited by
          #8

          @dillo I would sure love to see this happen. I would definitely participate, the current web disgust me.

          1 Reply Last reply
          0
          • srazkvt@tech.lgbtS srazkvt@tech.lgbt

            @dillo a subset of xml could be reasonable, but agree, it should be strict.

            one big thing to do also would be handling security. would there be forms ? what about embedded pages (web iframes) ? what image formats would be required to support ? similarly, would the transport protocol be redone ? http is pretty bad, and newer versions are quite complex, surely something simpler is possible

            other than that, though, i like the idea

            i also think something like css , for styling (but also strict, and people use a preprocessor to expand if they need something better) would be good, allows each place to have a distinct style

            dillo@fosstodon.orgD This user is from outside of this forum
            dillo@fosstodon.orgD This user is from outside of this forum
            dillo@fosstodon.org
            wrote last edited by
            #9

            @SRAZKVT I don't have definitive answers to many of those questions.

            Ideally it should be transport agnostic, so we can transparently replace http for another one.

            1 Reply Last reply
            0
            • dillo@fosstodon.orgD dillo@fosstodon.org

              After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

              On forking the Web

              On forking the Web

              favicon

              (dillo-browser.org)

              H This user is from outside of this forum
              H This user is from outside of this forum
              humm@bsd.network
              wrote last edited by
              #10

              @dillo If we drop scripting (including css) and the expectation of the same rendering in all user agents (from what people expect user agents to do), it may make writing new user agents easy enough to have an appreciable effect, even without simplifying the HTML grammar a lot. And new user agents should support old websites written in non-XML HTML—reimplementations of Web-like things exist (for example gemini), but after all, I want a fork, not something new.

              Does something exist or can we establish something like an open “small user agents group” or whatever where we can start by collectively writing on a website “Let it be known: User agents are henceforth not expected to implement CSS or JavaScript”?

              1 Reply Last reply
              0
              • dillo@fosstodon.orgD dillo@fosstodon.org

                After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                On forking the Web

                On forking the Web

                favicon

                (dillo-browser.org)

                pkw@snac.d34d.netP This user is from outside of this forum
                pkw@snac.d34d.netP This user is from outside of this forum
                pkw@snac.d34d.net
                wrote last edited by
                #11
                Nice!

                I have been basically doing this, (others to I think).
                All my new sites have been very minimal html
                with zero javascript. I have a wiki and a task tracker.
                They both support convieniences like multi select check
                boxes (select all / select none).

                It's very nice, because I am interacting with data not
                a "web page". They work in dillo. Sometimes I have
                to fiddle with the caching headers on really dynamic
                stuff.
                1 Reply Last reply
                0
                • dillo@fosstodon.orgD dillo@fosstodon.org

                  After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                  On forking the Web

                  On forking the Web

                  favicon

                  (dillo-browser.org)

                  R This user is from outside of this forum
                  R This user is from outside of this forum
                  raulmatias@mstdn.social
                  wrote last edited by
                  #12

                  @dillo > Text should be able to wrap the screen size, so that the same document can be read both in small and large screens.

                  What about custom layouts? If you don't intend to include any CSS into the fork, then surely tables will be a part of the markup, and therefore people will abuse them for layouts?

                  1 Reply Last reply
                  0
                  • dillo@fosstodon.orgD dillo@fosstodon.org

                    After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                    On forking the Web

                    On forking the Web

                    favicon

                    (dillo-browser.org)

                    i_dabble@merveilles.townI This user is from outside of this forum
                    i_dabble@merveilles.townI This user is from outside of this forum
                    i_dabble@merveilles.town
                    wrote last edited by
                    #13

                    @dillo

                    > So it would need to be reviewed if HTML/XML is a suitable format for simple parsing.

                    I haven't implemented a browser, yet, but my initial reaction to this is that XML comes with schemas, which would be very useful for enforcing a grammar. The tools already exist. Don't throw out the baby... etc.

                    i_dabble@merveilles.townI 1 Reply Last reply
                    0
                    • i_dabble@merveilles.townI i_dabble@merveilles.town

                      @dillo

                      > So it would need to be reviewed if HTML/XML is a suitable format for simple parsing.

                      I haven't implemented a browser, yet, but my initial reaction to this is that XML comes with schemas, which would be very useful for enforcing a grammar. The tools already exist. Don't throw out the baby... etc.

                      i_dabble@merveilles.townI This user is from outside of this forum
                      i_dabble@merveilles.townI This user is from outside of this forum
                      i_dabble@merveilles.town
                      wrote last edited by
                      #14

                      @dillo I could even imagine that XML namespaces could come in handy to define a core grammar and allow for extendability, without changing the core every week. Maybe that's a terrible idea, and we would end up with each website coming with a list of extensions the browser needs to support. On the other hand, can't be worse than what we have now. 🤷 Could be nice if the browser would just ignore extensions it doesn't support and that then has to be considered when implementing a website. 🤔

                      i_dabble@merveilles.townI 1 Reply Last reply
                      0
                      • dillo@fosstodon.orgD dillo@fosstodon.org

                        After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                        On forking the Web

                        On forking the Web

                        favicon

                        (dillo-browser.org)

                        dlc@mstdn.socialD This user is from outside of this forum
                        dlc@mstdn.socialD This user is from outside of this forum
                        dlc@mstdn.social
                        wrote last edited by
                        #15

                        @dillo maybe consider:

                        Absolute URLs are exclusively for hyperlinks to another webpage.

                        Webpages should have been restricted to load files only by relative URLs & never load any file by absolute URLs.

                        Also, per website style design was a terrible UX and accessibility mistake

                        #Stylesheets should've been something you install in your own browser such that "the web" would have the uniform look and feel you prefer.

                        Just a thought

                        srazkvt@tech.lgbtS 1 Reply Last reply
                        0
                        • i_dabble@merveilles.townI i_dabble@merveilles.town

                          @dillo I could even imagine that XML namespaces could come in handy to define a core grammar and allow for extendability, without changing the core every week. Maybe that's a terrible idea, and we would end up with each website coming with a list of extensions the browser needs to support. On the other hand, can't be worse than what we have now. 🤷 Could be nice if the browser would just ignore extensions it doesn't support and that then has to be considered when implementing a website. 🤔

                          i_dabble@merveilles.townI This user is from outside of this forum
                          i_dabble@merveilles.townI This user is from outside of this forum
                          i_dabble@merveilles.town
                          wrote last edited by
                          #16

                          @dillo Maybe different extensions to the markup could be supported via different plugins in the browsers.

                          srazkvt@tech.lgbtS 1 Reply Last reply
                          0
                          • i_dabble@merveilles.townI i_dabble@merveilles.town

                            @dillo Maybe different extensions to the markup could be supported via different plugins in the browsers.

                            srazkvt@tech.lgbtS This user is from outside of this forum
                            srazkvt@tech.lgbtS This user is from outside of this forum
                            srazkvt@tech.lgbt
                            wrote last edited by
                            #17

                            @i_dabble @dillo when it comes to extensions, i think having a standard extensions body (like how irc has ircv3, and how xmpp has xeps) is a good approach, and the extensions themselves should always be designed in such a way that they are purely optional

                            if an extension becomes ubiquitous enough though, it should become a part of the core markup

                            i_dabble@merveilles.townI 1 Reply Last reply
                            0
                            • dlc@mstdn.socialD dlc@mstdn.social

                              @dillo maybe consider:

                              Absolute URLs are exclusively for hyperlinks to another webpage.

                              Webpages should have been restricted to load files only by relative URLs & never load any file by absolute URLs.

                              Also, per website style design was a terrible UX and accessibility mistake

                              #Stylesheets should've been something you install in your own browser such that "the web" would have the uniform look and feel you prefer.

                              Just a thought

                              srazkvt@tech.lgbtS This user is from outside of this forum
                              srazkvt@tech.lgbtS This user is from outside of this forum
                              srazkvt@tech.lgbt
                              wrote last edited by
                              #18

                              @DLC @dillo i don't think stylesheets are fundamentally flawed, but i do think for certain things the website should be able to specify for example the layout, and a few cases benefit also from things like text colours (code highlighting in blog posts)

                              it should be minimalised, but style shouldn't be banned

                              dlc@mstdn.socialD dillo@fosstodon.orgD 2 Replies Last reply
                              0
                              • srazkvt@tech.lgbtS srazkvt@tech.lgbt

                                @i_dabble @dillo when it comes to extensions, i think having a standard extensions body (like how irc has ircv3, and how xmpp has xeps) is a good approach, and the extensions themselves should always be designed in such a way that they are purely optional

                                if an extension becomes ubiquitous enough though, it should become a part of the core markup

                                i_dabble@merveilles.townI This user is from outside of this forum
                                i_dabble@merveilles.townI This user is from outside of this forum
                                i_dabble@merveilles.town
                                wrote last edited by
                                #19

                                @SRAZKVT @dillo Extensions like that could also act as a boundary for configuration in the browser. If some extension has some security or privacy implications, you can turn off the whole extension. 🤔

                                1 Reply Last reply
                                0
                                • dillo@fosstodon.orgD dillo@fosstodon.org

                                  After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                                  On forking the Web

                                  On forking the Web

                                  favicon

                                  (dillo-browser.org)

                                  karlb@fosstodon.orgK This user is from outside of this forum
                                  karlb@fosstodon.orgK This user is from outside of this forum
                                  karlb@fosstodon.org
                                  wrote last edited by
                                  #20

                                  @dillo That sounds like #geminiprotocol (https://geminiprotocol.net/) in many ways. I assume you know about it, so I wonder why it is not a good candidate in your eyes. Too restrictive (no inline links)? Too different (no HTTP)?

                                  1 Reply Last reply
                                  0
                                  • srazkvt@tech.lgbtS srazkvt@tech.lgbt

                                    @DLC @dillo i don't think stylesheets are fundamentally flawed, but i do think for certain things the website should be able to specify for example the layout, and a few cases benefit also from things like text colours (code highlighting in blog posts)

                                    it should be minimalised, but style shouldn't be banned

                                    dlc@mstdn.socialD This user is from outside of this forum
                                    dlc@mstdn.socialD This user is from outside of this forum
                                    dlc@mstdn.social
                                    wrote last edited by
                                    #21

                                    @SRAZKVT I don't think so either, but they belong in the client? Not per website…

                                    Let the website declare the layout it prefers:

                                    <section layout="weblog, article">

                                    Use semantic tags:

                                    <note layout="footnote">text</note>
                                    <note layout="panel">text</note>
                                    <bq style="code:APL">code</bq>

                                    <em font="color: red" >…</em>

                                    <table id="tab1" src="rel/url/table.cvs">
                                    Desc
                                    </table>

                                    See <table id="tab1" />

                                    <figure id="fig1" src="rel/url/img.jpg">
                                    Desc
                                    </figure>

                                    See <figure id="fig1" />

                                    1 Reply Last reply
                                    0
                                    • dillo@fosstodon.orgD dillo@fosstodon.org

                                      After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                                      On forking the Web

                                      On forking the Web

                                      favicon

                                      (dillo-browser.org)

                                      felix@wandering.shopF This user is from outside of this forum
                                      felix@wandering.shopF This user is from outside of this forum
                                      felix@wandering.shop
                                      wrote last edited by
                                      #22

                                      @dillo I remember reading the HTML 4.01 spec forwards and backwards, marveling at how well written it was. I'd start from it again and only backport the good parts from HTML 5: structural elements like header / nav / footer, newer HTML entities like &star; and stuff like that. Might have to drop a few things in the process.

                                      Heck, let's go back to HTML 3.2 and start again from there, like text browsers did.

                                      1 Reply Last reply
                                      0
                                      • dillo@fosstodon.orgD dillo@fosstodon.org

                                        After taking a quick look at the "Prompt API" document, I decided to write some design notes towards a fork of the #Web.

                                        On forking the Web

                                        On forking the Web

                                        favicon

                                        (dillo-browser.org)

                                        dillo@fosstodon.orgD This user is from outside of this forum
                                        dillo@fosstodon.orgD This user is from outside of this forum
                                        dillo@fosstodon.org
                                        wrote last edited by
                                        #23

                                        From the orange site, "Strict grammar for declaring documents is merely a fetish".

                                        Isn't that the best name for a document format to be load in the #Dillo browser?

                                        1 Reply Last reply
                                        0
                                        • srazkvt@tech.lgbtS srazkvt@tech.lgbt

                                          @DLC @dillo i don't think stylesheets are fundamentally flawed, but i do think for certain things the website should be able to specify for example the layout, and a few cases benefit also from things like text colours (code highlighting in blog posts)

                                          it should be minimalised, but style shouldn't be banned

                                          dillo@fosstodon.orgD This user is from outside of this forum
                                          dillo@fosstodon.orgD This user is from outside of this forum
                                          dillo@fosstodon.org
                                          wrote last edited by
                                          #24

                                          @SRAZKVT @DLC the problem with CSS is not so much in design of CSS itself but in the complexity of HTML which make each page have its own set of unique CSS rules.

                                          I agree with authors being able to suggest a set of styles, but those should be optional on the client. That way you can reliably set your own scheme for all the pages **and still be sure that it will reliably work**.

                                          This is also important for readability, not only for the aesthetics of the page.

                                          dillo@fosstodon.orgD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups