[HN Gopher] Nyxt: The Hacker's Browser
       ___________________________________________________________________
        
       Nyxt: The Hacker's Browser
        
       Author : sathishmanohar
       Score  : 48 points
       Date   : 2023-05-19 20:22 UTC (2 hours ago)
        
 (HTM) web link (nyxt.atlas.engineer)
 (TXT) w3m dump (nyxt.atlas.engineer)
        
       | xkcd1963 wrote:
       | Can it be run on a server?
        
       | xwdv wrote:
       | Can it spoof the user agent? Unfortunately browsing a site with a
       | strange browser can often get you treated like a second or even
       | third class citizen.
        
       | raman162 wrote:
       | This looks like my type of browser. I currently rely heavily on
       | the vimium chrome extension.
       | 
       | Does this support profiles by any chance? I currently use chrome
       | profiles to separate work and personal
       | 
       | Looking forward to giving it a spin
        
         | dimator wrote:
         | you should also checkout https://qutebrowser.org/ which is
         | pretty mature.
        
           | rochak wrote:
           | A dealbreaker as it doesn't suppport ublock origin extension
           | which is essential to browsing the web these days.
        
       | uoaei wrote:
       | This looks like it could become a powerful web crawler with
       | relative ease.
        
       | nittanymount wrote:
       | not for mac sadly...
        
         | 3np wrote:
         | * * *
        
       | badrabbit wrote:
       | You know what would be cool, if you could use unix cli tools in
       | the browser. Press control+<space>, a small console box shows up
       | and run:
       | 
       | |grep ...|awk ...
       | 
       | And the text of the document gets processed. But if you want to
       | mess with the dom you could:
       | 
       | Html.Body | sed ... | jq ...
        
         | GlumWoodpecker wrote:
         | This probably wouldn't be possible due to browser sandboxing.
         | 
         | You could however, use a tool like External Application Button
         | [0] in order to send the URL of the page to a script/program,
         | which in turn can make the body of the page parsable by
         | downloading the URL it gets, automating some action on it. I
         | use it pretty often to automate downloads with yt-dlp or
         | opening a picture directly in GIMP from the browser, but since
         | you're invoking a bash/python/whatever script, the
         | possibilities are basically endless.
         | 
         | [0]: https://github.com/andy-portmen/external-application-
         | button
        
           | aidenn0 wrote:
           | > You could however, use a tool like External Application
           | Button [0] in order to send the URL of the page to a
           | script/program, which in turn can make the body of the page
           | parsable by downloading the URL it gets, automating some
           | action on it.
           | 
           | This works less well than it used to now that CMSs and blogs
           | are now SPAs that render no text without javascript being
           | enabled.
        
             | GlumWoodpecker wrote:
             | Yes, that is a shame, but that can be worked around by
             | sending it to something like PhantomJS, headless Chromium,
             | or any other scriptable browser that will actually run the
             | JS on the page and render it in the background. Very heavy
             | as you're basically running a full browser in the
             | background, but totally doable.
        
           | badrabbit wrote:
           | I was thinking of running gnu binaries like that as a WASM
           | compiled app/pwa
        
         | mtlmtlmtlmtl wrote:
         | You could probably add this to Nyxt in a solid hour or two of
         | configuration hacking.
         | 
         | The "configuration" is just more code that gets compiled in on
         | loading. It's a complete first class citizen unlike extensions
         | for most software which is sandboxed in a separate language and
         | can only see certain APIs.
         | 
         | In Nyxt, StumpWM, Emacs, and other Lisp software you can
         | literally put bugfixes in your config, redefine existing
         | functions, and generally do whatever the hell you want.
        
       | tortoise_in wrote:
       | Plans to bring on Android?
        
       ___________________________________________________________________
       (page generated 2023-05-19 23:00 UTC)