13 ms·
The Hotdog web browser and browser engine
- mynameisash 6y agoI was really hoping that this was some sort of reboot of the HotDog[0] HTML editor by Sausage Software[1]. [0] https://archive.org/details/tucows_194462_HotDog_Professional https://archive.org/details/tucows_194462_HotDog_Professiona... [1] https://en.wikipedia.org/wiki/Sausage_Software https://en.wikipedia.org/wiki/Sausage_Software
- cosmotic 6y agoI thought the same thing! I was pretty excited. https://web.archive.org/web/20020603235020/http://www.sausage.com/products/index.html https://web.archive.org/web/20020603235020/http://www.sausag... https://web.archive.org/web/20040605112000/http://www.sausage.com/hotdog-professional.html https://web.archive.org/web/20040605112000/http://www.sausag...
- nickthegreek 6y agoSame. Hotdog was the first html editor I ever used as a kid and got me interested in creating on the internet. It felt revolutionary to me.
- mk81 6y agoGotta be a nod, right?
- ToFab123 6y agoI remember that they made an special version just for me. An update had removed a feature i used a lot. A while later I helped them track down an error they couldn't find the cause of. They asked how they could thank me and i replied "bring back feature x" For a little while they put up a link to a "Tony-edition" on the official download site until they got the feature back in the regular release. I still have it somewhere. Hotdog was my first html editor. Brilliant is was. Happy memories
- wp381640 6y agoI was anticipating clicking on it hoping for the source code - because at the time I was writing an HTML editor myself (as a young teen) and was blown away by some of what HotDog could do. Would love to peer into some of those older projects.
- gwittel 6y agoI had hoped this as well. I spent so much time in that program building web sites long ago. We have a plethora of excellent dev oriented editors today, but a purpose built one can be so much better by simplifying workflow.
- pwdisswordfish8 6y agoUltimately, pursuing a full-featured graphical web browser might not be the right approach for a volunteer-/hobby-driven project to develop a web browser. But it would absolutely make sense that a newly implemented terminal-based browser in Go (or any other memory-safe language) could/should replace Lynx and w3m. It's actually pretty surprising that there hasn't been a niche surge in websites specifically meant to work well in textmode browsers, considering how many programmers claim to spend 90% of their time inside either a terminal window or in a web browser. Even now on HN I'm typing this in Firefox. And Sourcehut, too is widely acclaimed for being "simple" and/or "minimal", but it's not exactly great (or even clear) to look at in the two browsers I just checked.
- jpgleeson 6y agoThis has been happening, just not really on the web. It’s more located on protocols like gopher[0] or Gemini[1]. Gemini in particular has quite a large amount of projects hosted on sourcehut, and sourcehut even serves pages on its new pages service to Gemini. [0] https://en.m.wikipedia.org/wiki/Gopher_(protocol) https://en.m.wikipedia.org/wiki/Gopher_(protocol) [1] https://gemini.circumlunar.space/ https://gemini.circumlunar.space/
- pwdisswordfish8 6y agoThis is a comment advocating for Gemini (which is from the start a misguided endeavour) with no concrete examples of how the simple use case mentioned above (the straightforwardness (or not) of trying to use Sourcehut from the terminal) is actually solved in Gemini space.
- deleted 6y ago[deleted]
- de6u99er 6y agoI think it's a cool project, and might even lead somewhere. At the moment we badically have only Webkit and Mozilla baded browsers available It definitely shows how mature and versatile golang has become. Are you building this based on a tutorial?
- CrazyCatDog 6y agoScreenshots are LACED chalk-full of explicit vocabulary... https://raw.githubusercontent.com/danfragoso/thdwb/master/imgs/scr_2.png https://raw.githubusercontent.com/danfragoso/thdwb/master/im...
- rstat1 6y agoI just see regular words there. What's the big deal?
- AussieWog93 6y agoIt seems fair enough to me to warn people about rude words. There are still some people who are offended by them (to be fair, I can't imagine many of them are here), and there are quite a lot on that page.
- mariusor 6y agoThank you for the warning, Aussie... erm... Wog...
- AussieWog93 6y agoNo fuckin' problem, mate. :)
- userbinator 6y ago"It's better to be explicit than implicit", perhaps. That site had its own discussion on HN many years ago: https://news.ycombinator.com/item?id=6791297 https://news.ycombinator.com/item?id=6791297
- Evidlo 6y agoThat website gets posted here all the time as an example of lightweight HTML.
- GoblinSlayer 6y agoWelcome to the internets.
- userbinator 6y agoIt's great to see yet another attempt at writing a web browser --- and I say this as someone who has been (slowly) working on one myself. The browser is far from stable, spec-compliant, or even really useful, but, I'm slowly working on bringing more features and supporting more sites. When the specs are constantly churning in order to keep one gigantic company's browser an effective monopoly, maybe it isn't really that important to follow them so closely... especially if you're aiming for something more like an actually-user-friendly (i.e. with the UI and controls you actually want, not some designer's flavour-of-the-month) hypertext document viewer than a web application runtime/OS. From that perspective, even HTML4+CSS2 would probably be quite sufficient. Maybe if enough of these "minimal browsers" show up, people might even realise that basic HTML and CSS is quite sufficient for a lot of things and start creating simpler, more efficient sites, thus dissolving the monopoly. I realise it's going to be extremely difficult to fight corporate interests, but one can hope and dream... https://news.ycombinator.com/item?id=25915313 https://news.ycombinator.com/item?id=25915313
- Daegalus 6y agohonestly, I have been toying with the idea of building a web browser project that has no JavaScript. just completely ignores the script tag or any JavaScript related things. like onclick, and other attributes.
- marakv2 6y agoReally what did JavaScript bring us? (And there goes my points!) I want to search for information and share information with people. I don't want any more from the net. It feels like what we want is being surpassed by those who want to monetise us.
- vicda 6y agoLightweight sandboxed applications in the browser. No admin password needed since there's nothing to install. Sure it may be bloated overkill for something that could have just been a plain text file, but it is nice to have real time and interactive visualizations. Plus it is nice to have the choice to use mobile websites instead of using the access hungry native apps.
- interfixus 6y agoCome on, everybody, this deserves a huge round of applause, for encouragement and for the effort. We need a lot more projects of this kind; we need some options for rebooting the browser scene from down below, however limited in scale and scope and functionality. I stick to my Firefox, crippled and bloated as it is these days, but I know full well that sooner or later it's going to fold, and I shall be stranded inside the Google nightmare. NetSurf shouldn't have to shoulder the complete oppositional burden all by itself.
- userbinator 6y agoThere's Dillo too, but unfortunately last time I checked neither of them were even as close to usable on most sites as Opera 9.x (which was already many years old at the time, but had been quite popular for a while before that.)
- Y_Y 6y agoAnd furthermore, when are we getting open source Presto? I know Opera stopped developing it around 2013, but there's still probably plenty a FOSS browser could salvage. (I hear the source is floating around somewhere, but without a free license it's (unfortunately) likely to attract problems.)
- surround 6y agoHow come entire operating systems are able to be developed on community-supported efforts (like Debian) but browsers can only be developed by monoliths like Google and Apple (and Mozilla, which has ~750 employees and makes most of its money from Google)?
- GrifMD 6y agoIsn't that Brave's niche?
- surround 6y agoBrave is chromium-based.
- Santosh83 6y agoThe only general purpose, open source operating system that can now compete with the commercial giants, Linux, is now mainly driven by corporate backed contributors. If all corporate backed efforts were to stop overnight, I doubt it could keep up with MacOS/Windows/Android with just community contributions. The entire hardware/software industry is controlled by giants. Disrupting this can no longer be done by a group of hackers as it was possible in the late 80s and early 90s.
- csande17 6y agoIn practice, many of the components used in desktop Linux distributions are developed by an IBM subsidiary called "Red Hat" which has 12,000 employees. Systemd, GNOME, PulseAudio, X and Wayland, all of these are primarily maintained by Red Hat employees operating under various shell organizations.
- kibleopard 6y agoSweet! I’ve also been working on my own (toy) browser from scratch following https://browser.engineering https://browser.engineering - would definitely recommend to anyone who wants to get started on their own, granted it’s still a work in progress.
- fartcannon 6y agoDoes it pass the Acid3 test? I haven't thought about that in a long time. Not since I was using Konqueror + khtml engine.
- sanxiyn 6y agoFat chance. It doesn't implement any CSS selectors at all. Servo passed Acid2 in 2014: https://research.mozilla.org/2014/04/17/another-big-milestone-for-servo-acid2/ https://research.mozilla.org/2014/04/17/another-big-mileston... This is really far behind.
- esprehn 6y agoIt doesn't appear to implement any standards at all, even self contained ones like the HTML parser: https://github.com/danfragoso/thdwb/blob/655eac96e4faa141cb495930a167d754a7731b66/ketchup/html.go#L110 https://github.com/danfragoso/thdwb/blob/655eac96e4faa141cb4...
- bennyp101 6y agoFirefox and Chrome both don't on my machine ... so probably not!
- mythz 6y agoInteresting they've got a screenshot of SerenityOS.org at the end of their home page, curious if their looking at SerenityOS's home grown LibWeb [1] C++ implementation for inspiration in their Go code-base? SerenityOS is another Indie OS effort which plans to build the entire POSIX OS, Kernel and core Apps from scratch, one of the Apps their is their LibWeb browser engine complete with their own LibJS JS VM which already passes the vast ECMAScript test suite [2]. One of its USPs of SerenityOS is being able to make changes to its code-base and instantly reboot the OS in seconds with the changes, never seen this done for an OS before, the turn around time allows for some impressive dev iteration speed. Andreas videos on developing LibWeb/LibJS is one of the best resources I've found explaining how to implement a web browser, e.g. in this video he goes through the HTML Specs which have enough info in them to develop a HTML spec parser whose behavior is the same across all browser engines: https://www.youtube.com/watch?v=7ZdKlyXV2vw https://www.youtube.com/watch?v=7ZdKlyXV2vw Most of the interesting parts of LibWeb/LibJS is captured on video that has a unique skill of being able to write code really quickly whilst explaining each step. There must be close to 100 videos on implementing different parts of the Web Browser on his YouTube channel, e.g: https://www.youtube.com/c/AndreasKling/search?query=html https://www.youtube.com/c/AndreasKling/search?query=html https://www.youtube.com/c/AndreasKling/search?query=js https://www.youtube.com/c/AndreasKling/search?query=js https://www.youtube.com/c/AndreasKling/search?query=css https://www.youtube.com/c/AndreasKling/search?query=css https://www.youtube.com/c/AndreasKling/search?query=canvas https://www.youtube.com/c/AndreasKling/search?query=canvas [1] https://github.com/SerenityOS/serenity/tree/master/Userland/Libraries/LibWeb https://github.com/SerenityOS/serenity/tree/master/Userland/... [2] https://github.com/SerenityOS/serenity/tree/master/Userland/Libraries/LibJS/Tests https://github.com/SerenityOS/serenity/tree/master/Userland/...
- als0 6y ago> ketchup (html parser and DOM Tree builder) mayo (css parser and Render Tree builder) mustard (UI Toolkit, events and OpenGL) sauce (requests, cache and filesystem) bun (css layout calculator) Off topic, but I've encountered some more serious projects that used strange nouns to name their components. I've never figured out why, but it usually results in me spending more time cross-checking what each component does. Can anyone comment?
- ad404b8a372f2b9 6y agoBecause it's fun and if you work regularly with the codebase it makes no difference. Organizations adopt terms that aren't strict descriptors of the things they refer to all the time, stuff like the Johnny.Decimal system, someone will refer to "form 4.54" or "being compliant with 13485" and everyone will know what it refers to even though it's a perfectly opaque name to outsiders.
- damagednoob 6y agoEngineers think they are being cute when they do this. In reality it hampers new devs because you can't just look at a component and have an idea of what it's doing. I've been on projects like this and after a year I was still second-guessing myself.
- sumtechguy 6y agoI used to do this. Now I use 'boring' names. My funny joke is not very funny anymore spin 2 years on (even then it was only slightly funny). Then you end up with a lookup chart for what does what. When if I had just used 'normal boring' names in the first place I would not be trying to remember what object 'funnyname' does vs 'movedatatodb' object name.
- MaxBarraclough 6y agoWritten in Go. This is presumably good for security. Curious that the components are named ketchup, mayo, mustard, sauce, bun, and gg. There's an obvious omission here, although it has the advantage of being vegan friendly. Also, somewhat related: it's a pity the Servo project is going nowhere. I don't mean to put this project down, but Servo was the only realistic shot at a truly new, truly usable Free Software browser.
- tristan957 6y agoServo isn't even close to being production ready. Every one seems to make Servo out to be something it wasn't. Anyways the Linux Foundation picked up the project, so your dream may come true some day. Servo was primarily a test bed for Firefox and all the components that they wanted to get into Firefox eventually made it.
- tediousdemise 6y agoLove the food-centric naming conventions for all the components. Can we take a moment to appreciate themed naming conventions in software ecosystems? It’s a great conversation starter, and it’s something that will keep us smiling even when things get serious.
- tomcam 6y agoI upvoted not because I agreed (I found the naming conventions distracting and inconsistent) but because why the fuck was your perfectly innocuous comment downvoted?
- tediousdemise 6y agoI'm not sure, but it made me sad. I don't think we are supposed to talk about downvotes, so I just grinned and bared it. Thanks for offsetting that vote for me.
- tomcam 6y agoWe aren't supposed to talk about downvotes but goddamnit
- ktpsns 6y agoI also like it, despite I have to admit: As a vegan person, I would not like to contribute to software parts named after sausage ;-)
- bntyhntr 6y agoI am not a vegan, but I have had vegan (not imitation meat!) sausages that were absolutely delicious! But I admit the likely connotation is pretty meaty
- 2muchcoffeeman 6y agoI’m a bit disappointed by the naming convention. There is mayo and sauce components. Mayo is not a typical hotdog condiment and sauce seems a bit generic. And then there is gg. What about sausage, sauerkraut or onion?
- throwaway823882 6y agoDill pickle, tomato, peppers, relish.
- commandlinefan 6y agoI beg to differ - my wife always puts mayo on hot dogs. She's Mexican, though - maybe it's a cultural thing?
- throwaway823882 6y agoSonoran dogs are amazing. Definite contender for best drunk food in the world. https://en.wikipedia.org/wiki/Sonoran_hot_dog https://en.wikipedia.org/wiki/Sonoran_hot_dog
- twhitmore 6y agoLove the opinionated swearing rant that is the sample website! (See screenshots at bottom). Yes, simple vanilla HTML is inherently responsive. And much of the modern web is rubbish.
- kroltan 6y agoNot only a rant, there is a whole opinoated swearing discussion! [0]: http://motherfuckingwebsite.com/ http://motherfuckingwebsite.com/ [1]: http://bettermotherfuckingwebsite.com/ http://bettermotherfuckingwebsite.com/ [2a]: https://evenbettermotherfucking.website/ https://evenbettermotherfucking.website/ [2b]: https://bestmotherfucking.website/ https://bestmotherfucking.website/
- cardiffspaceman 6y agoThe takeaway for me comes from when I tried the first of those links, and then pressed back to come back to HN, which Chrome took embarassingly-long to render.
- mouzogu 6y agoi thought it was related to the old hotdog code editor. think i used that to learn html back in the early noughties.. better, simpler days - i really miss them.
- xbar 6y agoThat's what I expected to find.
- kristopolous 6y agoIt's possibly merely a coincidence. That was over 20 years ago and the author has another project "mustard". Guy looks to be somewhere under 30 from the photos I can find. What an odd name to hit twice in the browser world. Then again, there's Viola, Cello, and Vivaldi though ... so who knows, maybe the population size is way larger than I pretend it is.
- rekabis 6y agoThe product’s naming conventions make me think this would have been an ideal post for the first of April. It certainly gave me a good chuckle. With that said, we need more independent web browsers. Good for them.
- esprehn 6y agoThis is a fun learning project, but I don't think it's really a browser except in name. The code seems to implement the behavior someone thinks a browser might have, not what the specs actually say. Ex. https://github.com/danfragoso/thdwb/blob/655eac96e4faa141cb495930a167d754a7731b66/ketchup/html.go#L110 https://github.com/danfragoso/thdwb/blob/655eac96e4faa141cb4... That's not an html parser. It's just some code that regexes strings looking for brackets. Projects like this are good ways to learn and have fun, but they're many years away from being a browser, even if we limit the scope to the specs of say 2012. Also fwiw, if you're implementing a browser use the web platform tests instead of writing your own: https://github.com/web-platform-tests/wpt https://github.com/web-platform-tests/wpt
- marto1 6y agoIf you ever decide to actually go somewhere with it, maybe a lightweight alternative of Electron might be a good path to take. In particular a browser engine that allow the programmer to easily turn off things that are not used and take away from performance will probably be a real killer. Good luck!
- paucuesta9 6y agoInteresting