Do you want a minimalist browser? Python is the solution

What is a Web Browser? Well, simply an application that allows us to view the content of sites or pages available on the internet, right?

In recent times, with advances in programming or interpreted languages (HTML5, CSS3, JQuery and others) , the functions and options of these types of applications have been increased to the point that they can become Desktop Environments.

I'm sure when we talk about a Web browser minimalist, little resource consumption comes to mind, a simple interface, etc ... Applications of this type we have in GNU / Linux to choose from, from console browsers like Links2, where you can only see the content of a site through text, even a little more advanced browsers such as Midori, where we can enjoy images and other elements that make up a website, and all this using few resources.

But luckily, there is a middle ground between the previously mentioned applications. In other words, browsers that allow you to enjoy graphic, text and multimedia elements, and not consume so many resources. All this thanks to Python, Gtk and Webkit.

Here we have the first example, we just have to save this code with the name browser.py and run it in console:

In this case we can enjoy some basic options such as Refresh the page, Go forward or backward and see the loading bar. But if we want something even simpler, we have this other example written by Daniel Fuentes B, whose code can be downloaded from here.

What do you think? For those who want to do without add-ons and have their browser run at the moment


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

11 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   hypersayan_x said

    Here I leave another one but still more basic than the other two:

    http://paste.desdelinux.net/4431

    1.    keopety said

      those of elav, nothing else works for me than yours,
      but it is so simple that it does not have an address bar, how is it supposed to search for pages?

      1.    lV said

        in this line you have to put URL

        view.load (QtCore.QUrl ('https://blog.desdelinux.net/'))

      2.    hypersayan_x said

        Well, it is functional, but from there to usable there is a graaaaaaaaan step XD
        But another way is to make a browser with Qt Designer:

        http://www.youtube.com/watch?v=Ee8eRwjbcFk

  2.   v3on said

    With webkit as an engine it shouldn't be that bad, I'll try it.

    one use that comes to mind is when you are working on a project where fronted doesn't matter so much, for example Django and those herbs

  3.   John said

    I couldn't run it, as the interpreter complained that the webkit module is missing. Before doing so, I better ask: Do I have to install python-webkit or python-jswebkit?

    Greetings.

  4.   Alchemist said

    There is also luakit, jumanji, dwb

    1.    KZKG ^ Gaara said

      W3M too 😀

  5.   Giskard said

    «I surf the Internet using LYNX»
    -Chuck Norris

    (in case you wanted minimalism seriously)

  6.   Pavloco said

    Excellent note. The one in the first image is impressive, but for me the Flash-block is indispensable.

  7.   Sebastian said

    The article is now three years old, but it would have been nice if as examples of mimalist browsers I had also named others like uzbl, luakit, jumanji, dwb and conkeror (not to be confused with KDE's Konqueror browser) that have an even more minimalist interface than midori or the same browser.py; but with many more functions and configuration possibilities than the browsers already given as examples in this article.