News for hackers. Stuff that matters.
Re:Luakit – fast, extensible, and customizable web browser by diggan on Saturday May 04, 2019 @12:33PM (#19827474)
Another alternative that I use as a daily browser is qutebrowser. Basically the same idea, but with Python instead. Also comes with nice vim-bindings for navigation: https://qutebrowser.org/
Re:Luakit – fast, extensible, and customizable web browser by dead_mall on Saturday May 04, 2019 @02:10PM (#19828140)
Qutebrowser is nice, but it uses the same webengine (QtWebengine) that chrome uses. This is a concern for some
Re:Luakit – fast, extensible, and customizable web browser by jolmg on Saturday May 04, 2019 @02:14PM (#19828175)
I don't have chrome, but I have chromium, and I don't see its package depend on the qt5-webengine package that qutebrowser depends on. Doesn't chrome/chromium use their own web engine called Blink[1]?

[1] https://en.wikipedia.org/wiki/Blink_(browser_engine)

Re:Luakit – fast, extensible, and customizable web browser by nvrspyx on Saturday May 04, 2019 @02:27PM (#19828251)
I think their comment was either confusing or they misconstrued something. QtWebEngine uses code from Chromium [1], not the other way around.

[1]: https://wiki.qt.io/QtWebEngine

Re:Luakit – fast, extensible, and customizable web browser by coldtea on Saturday May 04, 2019 @04:20PM (#19829091)
>This is a concern for some

I don't think so. Why would it be a concern? It's not like the web rendering engine will "phone home" under your nose or something...

Re:Luakit – fast, extensible, and customizable web browser by meruru on Saturday May 04, 2019 @04:52PM (#19829315)
I don't use any of these alternative browsers because I don't want to increase the Blink/Webkit marketshare even further.
Re:Luakit – fast, extensible, and customizable web browser by dead_mall on Saturday May 04, 2019 @11:47PM (#19831022)
This ^
Re:Luakit – fast, extensible, and customizable web browser by dead_mall on Saturday May 04, 2019 @11:46PM (#19831016)
Concern in the sense that some people don't want to be using the same kit as other browsers do. (E.g. this guy https://reddit.com/r/qutebrowser/comments/a4uk9r/use_of_webk...)
Re:Luakit – fast, extensible, and customizable web browser by TeddyDD on Sunday May 05, 2019 @05:10AM (#19831876)
I used it for a while. It's fantastic browser. Unfortunately modern web is so broken that using browser without real adblocker (uBlock) is basically impossible so I had to switch to Firefox.
Re:Luakit – fast, extensible, and customizable web browser by agumonkey on Saturday May 04, 2019 @01:07PM (#19827737)
no perf issues ? laggy UX or else ?
Re:Luakit – fast, extensible, and customizable web browser by diggan on Saturday May 04, 2019 @01:10PM (#19827753)
Fastest browser I've used so far (Went from IE > Firefox > Chrome > Firefox). No problems with UX either, I'm using the vertical tabs, the rest of the browser barely have any UX except for keyboard shortcuts and commands.
Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @02:01PM (#19828069)
These browsers are plenty fast since they are mostly just using lua/python for the UI and webkit/chromium for the browser component. The things that keep me coming back to luakit and qutebrowser are:

1. Way better vim binding support. Especially that the vim mode doesn't break when the extensions aren't loaded (ie a page fails to load or dev tools are focused or on settings pages)

2. Way more scriptable and customizable.(luakit is much more mature in this regard)

Re:Luakit – fast, extensible, and customizable web browser by diggan on Saturday May 04, 2019 @05:51PM (#19829613)
> Way more scriptable and customizable

Love to hear more about exactly what is more scriptable and customizable.

The user scripts (not to be confused with Greasemonkey-like userscripts) gives me all the scriptability I need. What could more could I do with luakit?

Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @08:28PM (#19830300)
A quick glance at the luakit and qutebowser documentation should give an idea. The difference can be summed up by pointing out that the python and lua code you write for these browsers is trusted and can even modify the UI of the browser. For example in luakit you can add new “chrome pages” so if you don’t like the bookmark manager for example you could write your own.

User scripts only run when a page is loaded afaik.

Re:Luakit – fast, extensible, and customizable web browser by diggan on Sunday May 05, 2019 @01:06PM (#19833734)
I was thinking about specifically the different of luakit and qutebrowser, not luakit/qutebrowser and other browsers. As mentioned above, I already use qutebrowser daily.

User scripts (again, in the qutebrowser sense, not greasemonkey as it seems you're thinking about) is launched when the user wants them to launch. See more details here: https://qutebrowser.org/doc/userscripts.html

Re:Luakit – fast, extensible, and customizable web browser by agumonkey on Saturday May 04, 2019 @03:33PM (#19828718)
gonna give it a go

ps: first start feels great

Re:Luakit – fast, extensible, and customizable web browser by dmix on Saturday May 04, 2019 @02:03PM (#19828086)
Quite the opposite, that's the reason I used qutebrowser.

Plus it was really easy to write simple quick scripts for it without the overhead of web extensions.

The main reason to use it is the Vim support is rock solid, instead of a hack on top of existing behaviour.

Re:Luakit – fast, extensible, and customizable web browser by mitchtbaum on Saturday May 04, 2019 @01:47PM (#19827981)
The new website looks great! And it seems new maintainers have stepped up. Is Luakit on an upswing?

This project could have immense value to the web. Having multiple language communities working on the same types of problems, and in cross-cultural collaboration, gives the best approach, ie with [Model-driven engineering] ([example below]).

I have reviewed Luakit's codebase, trying to figure out the extent of its DOM scripting capabilities (notes elsewhere atm). If anyone else is interested in this, pls message me on Discord, @naturallymitchell via [The Programmers Hangout] or [Luvit].

A good example issue for DOM scripting would be something like [scrolling screenshots],

https://github.com/luakit/luakit/issues/763

https://en.wikipedia.org/wiki/Model-driven_architecture

http://luvit.io/

https://discord.gg/BQN6BYE

Re:Luakit – fast, extensible, and customizable web browser by O1111OOO on Sunday May 05, 2019 @03:36AM (#19831645)
Sometime back I was looking for alternative browsers and came across your comment (dated 2015)[0]:

> The code itself works very well. Mason, founder of Luakit and most generous contributor, got hit by a bus so new maintainership roles have yet to get filled by existing and new users and developers. All current development takes place outside of "central" repo, and it needs organizing and compiling. Once this takes place, development and merge requests can continue full course.

I actually saved the comment as a placeholder in ZIM[1] - in a section where I keep programs to try in the future. You seem to keep up with the project pretty well and it also looks like the project itself has been moving forward. Going to give it a try this time ("This project could have immense value to the web." - I agree).

[0] https://news.ycombinator.com/item?id=10418268

[1] https://zim-wiki.org/

Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @02:04PM (#19828094)
In my opinion what both luakit and qutebrowser need to grow or at least stay somewhat healthy is to get way easier to install the latest version. Qutebrowser the author is planning on getting pyinstaller working. For luakit I tried to get flatpak working but had issues with a dependency lfs. I'm hoping they can remove it since it's barely used at all and then the flatpak will just be ready.
Re:Luakit – fast, extensible, and customizable web browser by drakenot on Saturday May 04, 2019 @08:41PM (#19830357)
I wish that there was a way for Luakit / Qutebrowser to support extensions from the major browsers.

Every time I use one I love it initially but then find myself desperately wishing for uBlock Origin and my password manager extension.

Re:Luakit – fast, extensible, and customizable web browser by Evidlo on Saturday May 04, 2019 @09:30PM (#19830523)
Well qutebrowser already has a built in host-based adblocker. There are also a number of password manager scripts available.
Re:Luakit – fast, extensible, and customizable web browser by pull_my_finger on Saturday May 04, 2019 @10:13AM (#19826557)
I really liked Luakit, but one problem I was having was with videos not loading I believe. I could have hacked it up with an external player I believe, but I couldn't get it to work. Has this been sorted?

Big fan of the project though, can't say that enough. It was a nice, lite and zippy browser with nice key bindings + Lua scripting. A lot to like about it, just hope some of the issues get resolved.

Re:Luakit – fast, extensible, and customizable web browser by YellowSuB on Sunday May 05, 2019 @01:08PM (#19833742)
Try looking at the settings page to see if it could be disabled. There are settings relating to video playback and hardware acceleration. There was a bug in hardware acceleration that caused the browse to use a lot of cpu, maybe it has been fixed at this point.
Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @01:34PM (#19827898)
I really liked using this web browser. I like qutebrowser too but luakit has some things it doesn’t have. One was making your own luakit:// pages.

I tried to get a flatpak working for it but was unable to get one of the dependencies luafilesysyem to work. I think the author was going to remove it so once that’s done installing the latest version should get much easier.

Re:Luakit – fast, extensible, and customizable web browser by O_H_E on Sunday May 05, 2019 @01:04AM (#19831270)
> One was making your own luakit:// pages would you min expanding or leaving a link on that
Re:Luakit – fast, extensible, and customizable web browser by ujuj on Saturday May 04, 2019 @10:27AM (#19826650)
How does it compare with uzbl? (https://www.uzbl.org/)
Re:Luakit – fast, extensible, and customizable web browser by YellowSuB on Sunday May 05, 2019 @05:14PM (#19835118)
I quite liked uzbl when it was being more actively developed, seemed like a very promising project. Unfortunately development stalled some time ago and it doesn't seem like it's going to start again any time soon. So I migrated to luakit. Luakit and uzbl are pretty much on par with each other feature wise and both are pretty scriptable.
Re:Luakit – fast, extensible, and customizable web browser by mkl on Saturday May 04, 2019 @06:56PM (#19829914)
uzbl seems to be more dead.
Re:Luakit – fast, extensible, and customizable web browser by Lowkeyloki on Saturday May 04, 2019 @01:24PM (#19827834)
I wish the latest release wasn't from two years ago. And that it wasn't based on webkit.
Re:Luakit – fast, extensible, and customizable web browser by 0lpbm on Monday May 06, 2019 @05:43AM (#19837987)
Are there other embedable, modern, multi-platform and open-source browser engines besides webkit?

I'm looking forward to the day when we will be able to use servo instead, but we're not there yet.

Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @01:47PM (#19827984)
Looks like the latest release was Nov 2018.
Re:Luakit – fast, extensible, and customizable web browser by Lowkeyloki on Saturday May 04, 2019 @02:49PM (#19828405)
Then it's misleading that the site prominently says "Latest release — Luakit 2017-08-10"
Re:Luakit – fast, extensible, and customizable web browser by wockaflocka on Thursday May 09, 2019 @02:14PM (#19870678)
Can this do basic functions such as play a video, post a form or run advanced JavaScript? If it can’t then it is broken today’s web technologies are just too advanced for some of these small browsers
Re:Luakit – fast, extensible, and customizable web browser by pselbert on Saturday May 04, 2019 @06:12PM (#19829718)
The page says the latest release was 2017-08, that seems tremendously outdated. Am I missing something? Is it updating in the background?
Re:Luakit – fast, extensible, and customizable web browser by rochacon on Saturday May 04, 2019 @07:35PM (#19830083)
Page is indeed outdated. Check the project GitHub repo, last release (e.g. git tag) was on Nov 2018, version 2.1.

Since then just the “develop” branch has received new code, but GitHub Insights shows stable activity on the last month.

I’m not involved in the project, they’re probably low on contributors and taking things slow. The documentation does point to compiling from code, so you should be good by using the develop branch and even bumping some dependencies if concerned with security issues and etc

Re:Luakit – fast, extensible, and customizable web browser by zamadatix on Saturday May 04, 2019 @01:04PM (#19827718)
Anyone know of something like this but with web technologies rather than a different stack? Vivaldi is the closest I can think of and while it is built with a similar concept it's structured in a way that makes it near impossible for you to modify substantially as a user (and you have to reapply your edits after every update).
Re:Luakit – fast, extensible, and customizable web browser by curioussavage on Saturday May 04, 2019 @08:23PM (#19830281)
There are electron browsers like beaker browser. Not really customizable or scriptable though
Re:Luakit – fast, extensible, and customizable web browser by jaredklewis on Saturday May 04, 2019 @03:59PM (#19828924)
What are you looking to do that can't be done with local chrome/firefox extensions?
Re:Luakit – fast, extensible, and customizable web browser by zamadatix on Saturday May 04, 2019 @06:09PM (#19829702)
E.g. in Vivaldi I blend the URL bar into the top-of-window space where tabs are.

Also while there are many things web extensions can do in page their interactions with the browser as a whole or OS are extremely limited. This is good for security, bad for customization. Even in cases where web extensions are appropriate it can make implementation much more difficult (again, good for general user security, bad for running your own code).

Re:Luakit – fast, extensible, and customizable web browser by petemill on Saturday May 04, 2019 @05:36PM (#19829534)
Muon, but it’s abandoned now
Re:Luakit – fast, extensible, and customizable web browser by kwhitefoot on Sunday May 05, 2019 @03:12AM (#19831586)
Could someone who uses it say what this is really for? What can one do with it?

For instance: does it make automating interactions with web sites easier than using other tools?

Re:Luakit – fast, extensible, and customizable web browser by sam_lowry_ on Saturday May 04, 2019 @12:20PM (#19827371)
Instructions for Arch Linux are broken.
Re:Luakit – fast, extensible, and customizable web browser by jolmg on Saturday May 04, 2019 @02:44PM (#19828373)
Some dependencies have the package "luarocks-5.1" as a build dependency, and that package has been removed. Apparently, it's been replaced by "luarocks", so you can install in Archlinux by fixing these dependencies (tested on my own system):

  set -e # halts if there's an error in the following
  # move to a directory for building modified dependencies
  mkdir -p build
  cd build
  for aurpkg in lua51-{say,luacheck,luassert}; do
    # downloads the aur-package building script and files
    cower -d "$aurpkg"
    (
      cd "$aurpkg"
      # replace dependency
      sed -ri 's/luarocks-?5\.1/luarocks/' PKGBUILD
      # install dependencies, build package, and install
      makepkg -si
    )
  done
  # install luakit-git from aur
  pacaur -y luakit-git
Of course, these things being in the AUR, it's preferable if one gives the PKGBUILDs a read before deciding to build and install each of them, but if you've judged it's OK, you can just run the above.

If luakit is really on an upswing, maybe the package will be moved back to one of the official repos.

Re:Luakit – fast, extensible, and customizable web browser by petra on Saturday May 04, 2019 @11:12AM (#19826909)
What can you do with this that you can't do with chrome/firefox extensions?
Re:Luakit – fast, extensible, and customizable web browser by userbinator on Saturday May 04, 2019 @05:08PM (#19829397)
Keep using it after the signing certificate expires.

(Sorry, could not resist...)

Re:Luakit – fast, extensible, and customizable web browser by nessunodoro on Saturday May 04, 2019 @04:21PM (#19829100)
One thing I love about luakit is the window is rendered no-frills -- just the content. I use openbox with undecorated windows, and luakit is the only web browser that lets me just have a rectangular space in my display containing web content, resizable and scalable to any dimensions I want. The vim-like interface for me is just a bonus.
Re:Luakit – fast, extensible, and customizable web browser by craftyguy on Saturday May 04, 2019 @11:14AM (#19826927)
You can extend it using lua.
Re:Luakit – fast, extensible, and customizable web browser by aey on Saturday May 04, 2019 @12:57PM (#19827662)
If Firefox is generalized to be extended with wasm - which could run a lua VM - what would be the benefit of a single language specific browser?
Re:Luakit – fast, extensible, and customizable web browser by nathcd on Saturday May 04, 2019 @01:10PM (#19827758)
The lua api in luakit (https://luakit.github.io/docs/) is trusted, meaning it has similar capabilities to pre-57 Firefox, as opposed to webextensions (in modern FF and Chrome), which are treated as untrusted and thus are somewhat more limited in what they can do.
Re:Luakit – fast, extensible, and customizable web browser by derefr on Saturday May 04, 2019 @01:14PM (#19827778)
Make and distribute an installable app. This project is to Lua what Electron is to Javascript.
Re:Luakit – fast, extensible, and customizable web browser by twelfthnight on Saturday May 04, 2019 @02:02PM (#19828081)
Silly observation: The logo shows the Earth visible through a crescent moon. In reality the moon is always round, it's never transparent. :)
Re:Luakit – fast, extensible, and customizable web browser by jolmg on Saturday May 04, 2019 @03:10PM (#19828553)
Well, maybe the Earth is just smiling. Maybe, it's laying down and having a nice dream. :)
Re:Luakit – fast, extensible, and customizable web browser by zapzupnz on Saturday May 04, 2019 @11:39PM (#19830987)
Annoyed observation: the moon is slightly off-centre. The curve of the moon's left side and the inside curve of the Earth match, but it looks displeasingly off.
Re:Luakit – fast, extensible, and customizable web browser by mirimir on Saturday May 04, 2019 @10:10PM (#19830674)
Maybe it's something at the interface between the lower and upper mantle ;)
Re:Luakit – fast, extensible, and customizable web browser by olliej on Saturday May 04, 2019 @07:22PM (#19830010)
the moon changes shape, you can see with your own eyes. you're probably a round earther :D
Re:Luakit – fast, extensible, and customizable web browser by saagarjha on Saturday May 04, 2019 @10:37AM (#19826699)
Is Luakit a web browser or a web view component?
Re:Luakit – fast, extensible, and customizable web browser by craftyguy on Saturday May 04, 2019 @11:15AM (#19826936)
Read the very first paragraph of the page linked above.
Re:Luakit – fast, extensible, and customizable web browser by saagarjha on Saturday May 04, 2019 @07:36PM (#19830094)
Not helpful. The reason why I asked this was that the page claimed that Luakit was a web browser but then immediately started talking about it being a “web browser framework”, and the screenshots showed nothing except for what looked like a web view (there’s no browser chrome, for instance).