Newest at the top
2025-03-26 18:06:47 +0100 | juri_ | (~juri@implicitcad.org) (Ping timeout: 244 seconds) |
2025-03-26 18:06:42 +0100 | <Athas> | I wrote a programming language doc generator (in Haskell, actually) and generating HTML was not unpleasant. Blaze is good. I also did not find it challenging to make it console-friendly. It was much harder to make it look good in Firefox, actually... |
2025-03-26 18:06:18 +0100 | <haskellbridge> | <Bowuigi> That could work then, specially if you ignore CSS |
2025-03-26 18:05:25 +0100 | <haskellbridge> | <Bowuigi> Unless you are wrapping the GTK/QT Webkits, that's not hard |
2025-03-26 18:05:23 +0100 | <haskellbridge> | <Morj> I'm not completely crazy ;-) |
2025-03-26 18:05:16 +0100 | <haskellbridge> | <Morj> Well not a complete web browser, but a browser for the pages I myself generate. That sounds like something possible |
2025-03-26 18:04:52 +0100 | <haskellbridge> | <Bowuigi> Do not write a web browser unless you have 5 years or more of free time and do not care about your mental health |
2025-03-26 18:04:13 +0100 | <haskellbridge> | <Bowuigi> Oh and linking to specific parts to files is easy on HTML with the "#" thing on the URL, so technically searching on the same site can also be made via a dynamic page (actually a redirect would be enough for a single result, and a list of links would be enough for many results) |
2025-03-26 18:02:52 +0100 | ft | (~ft@p508db463.dip0.t-ipconnect.de) ft |
2025-03-26 18:02:24 +0100 | <haskellbridge> | <Morj> Sounds maybe fun |
2025-03-26 18:02:17 +0100 | <haskellbridge> | <Morj> Do I also write a minimalistic HTML browser? |
2025-03-26 18:02:07 +0100 | <haskellbridge> | <Morj> Well but it's me who wants to view the docs in the terminal /and/ have the search at the same time :D |
2025-03-26 18:01:15 +0100 | <haskellbridge> | <Bowuigi> Like, those browsers will ignore JS, they won't explode or something |
2025-03-26 18:00:54 +0100 | <haskellbridge> | <Bowuigi> Just make that search optional. Also searching on many pages is possible via a dynamic page, Hackage does it. |
2025-03-26 18:00:47 +0100 | <haskellbridge> | <Morj> Vimdocs also has almost has hyperlinks, and almost has structured search, sooo |
2025-03-26 18:00:24 +0100 | Googulator | (~Googulato@85-238-67-46.pool.digikabel.hu) |
2025-03-26 18:00:07 +0100 | Googulator | (~Googulato@85-238-67-46.pool.digikabel.hu) (Quit: Client closed) |
2025-03-26 17:59:56 +0100 | <haskellbridge> | <Morj> Also comparing with vimdocs, because I find them nice |
2025-03-26 17:59:46 +0100 | <haskellbridge> | <Morj> But yep, I was going to try something like that |
2025-03-26 17:59:31 +0100 | <haskellbridge> | <Morj> If they don't support JS, how do I search in the HTML page then? |
2025-03-26 17:59:10 +0100 | <haskellbridge> | <Bowuigi> Elinks renders old HTML fairly nicely and even has some CSS support. Netsurf is way more capable but requires a GUI. Note that neither support JS nor the quadrillion modern extensions to HTML and CSS tho, but many pages look good on both browsers |
2025-03-26 17:57:50 +0100 | <haskellbridge> | <Bowuigi> Try writing some sample output manually on texinfo and HTML and view it on various tools in order to get a better perspective Morj |
2025-03-26 17:56:44 +0100 | <haskellbridge> | <Bowuigi> Roff/NRoff/TRoff is annoying lol, I tried writing homework on it some years ago and the only nice things it has are pic and eqn. Typst has versions of both and is way saner, pikchr is another pic replacement that's sane |
2025-03-26 17:52:21 +0100 | jespada | (~jespada@2800:a4:2263:8100:f927:2b9e:1735:aa6a) jespada |
2025-03-26 17:49:14 +0100 | Googulator | (~Googulato@85-238-67-46.pool.digikabel.hu) |
2025-03-26 17:48:59 +0100 | Googulator | (~Googulato@2a01-036d-0106-01d5-c415-995d-99e3-7810.pool6.digikabel.hu) (Quit: Client closed) |
2025-03-26 17:39:04 +0100 | fp | (~Thunderbi@130.233.70.95) (Ping timeout: 252 seconds) |
2025-03-26 17:36:25 +0100 | <haskellbridge> | <Morj> Pages in html with search are sort of cheating since they use an additional index for those things |
2025-03-26 17:35:35 +0100 | <haskellbridge> | <Morj> Manpages (and markdown) don't have semantic sections. Like if I have a doc viewer that consumes files from a disc, it should have a search. If it has a search, I want to say "only search in functions" |
2025-03-26 17:34:47 +0100 | <haskellbridge> | <Morj> Ah |
2025-03-26 17:34:22 +0100 | <Athas> | I wasn't really serious about roff. It's the language underlying manpages (and in principle other things, but only the grayest of graybears use it for anything else I think). |
2025-03-26 17:33:43 +0100 | <haskellbridge> | >_< |
2025-03-26 17:33:43 +0100 | <haskellbridge> | <Morj> > the entire OS is running in a browser |
2025-03-26 17:33:26 +0100 | <haskellbridge> | <Morj> Googling it rn |
2025-03-26 17:32:48 +0100 | <Athas> | That can be rendered in a console, and it is certainly simple. |
2025-03-26 17:32:34 +0100 | <Athas> | What about roff? |
2025-03-26 17:32:31 +0100 | <EvanR> | don't tell Morj that in the near future, the entire OS is running in a browser |
2025-03-26 17:30:57 +0100 | <haskellbridge> | <Morj> That's why I asked for alternatives! |
2025-03-26 17:30:52 +0100 | <haskellbridge> | Ha-ha-ha |
2025-03-26 17:30:52 +0100 | <haskellbridge> | <Morj> > I remember being disappointed by it |
2025-03-26 17:30:41 +0100 | <haskellbridge> | A side bonus to a side bonus: not having to alt-tab to a browser gives me less distractions |
2025-03-26 17:30:41 +0100 | <haskellbridge> | <Morj> > a special firefox window |
2025-03-26 17:30:31 +0100 | <Athas> | I haven't used it for almost 20 years, but I remember being disappointed by it. |
2025-03-26 17:30:18 +0100 | <Athas> | I mean, knock yourself out, but Texinfo is not a particularly *nice* format. Not even compared to HTML. |
2025-03-26 17:29:47 +0100 | <haskellbridge> | You are 100% right, but my sense of beauty tells me that the whole html/web machinery is unnecessary here |
2025-03-26 17:29:47 +0100 | <haskellbridge> | <Morj> > I am not convinced that elinks |
2025-03-26 17:29:14 +0100 | chexum | (~quassel@gateway/tor-sasl/chexum) chexum |
2025-03-26 17:28:56 +0100 | <haskellbridge> | <Morj> Also, a side bonus: currently I have a special firefox window where the only tabs are hackage docs; why not move those to a special doc viewing app? |
2025-03-26 17:28:36 +0100 | <Athas> | I am not convinced that elinks (or similar) showing well-written HTML is much less readable in a console than Texinfo. |
2025-03-26 17:27:47 +0100 | <haskellbridge> | <Morj> That's being ambitious that someone other than me would want to create those viewers |