• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/ISSUE_TEMPLATE/H22-Feb-2021-2815

build-utils/H03-May-2022-1,5431,269

clib/H22-Feb-2021-3,8692,365

common/H22-Feb-2021-5,6223,430

config/H22-Feb-2021-317158

doc/H22-Feb-2021-3,622954

extension/H22-Feb-2021-2,8371,823

extras/H03-May-2022-382308

lib/H22-Feb-2021-20,62914,559

resources/icons/H22-Feb-2021-2218

tests/H22-Feb-2021-2,6391,832

widgets/H22-Feb-2021-5,5074,006

.gitattributesH A D22-Feb-202165 43

.gitignoreH A D22-Feb-2021248 2419

.travis.ymlH A D22-Feb-2021211 76

AUTHORSH A D22-Feb-20213.4 KiB6656

CHANGELOG.mdH A D22-Feb-202126.6 KiB514430

CONTRIBUTING.mdH A D22-Feb-20211.5 KiB3727

COPYING.GPLv3H A D22-Feb-202134.3 KiB675553

MIGRATE.mdH A D22-Feb-2021933 2015

MakefileH A D22-Feb-20215.3 KiB136106

README.mdH A D22-Feb-20214.3 KiB180107

buildopts.h.inH A D22-Feb-20211.6 KiB4736

config.mkH A D03-May-20223.4 KiB11466

globalconf.hH A D22-Feb-20212.4 KiB7624

ipc.cH A D22-Feb-20216.3 KiB218158

ipc.hH A D22-Feb-2021944 317

log.cH A D22-Feb-20219.5 KiB338265

log.hH A D22-Feb-20211.1 KiB359

luah.cH A D22-Feb-20216.9 KiB280170

luah.hH A D22-Feb-20211.1 KiB379

luakit.1.inH A D22-Feb-202110.3 KiB403388

luakit.cH A D22-Feb-20218.9 KiB259181

web_context.cH A D22-Feb-20214.8 KiB13890

web_context.hH A D22-Feb-20211.1 KiB3610

README.md

1# Luakit
2
3luakit is a fast, light and simple to use micro-browser framework
4extensible by Lua using the WebKit web content engine and the GTK+
5toolkit.
6
7### Don't Panic!
8
9You don't have to be a developer to use luakit on a daily basis. If you
10are familiar with vimperator, pentadactyl, jumanji, uzbl & etc you will
11find luakit behaves similarly out of the box.
12
13
14## Requirements
15
16 * GTK+ 3
17 * Lua 5.1 or LuaJIT 2
18 * lfs (lua file system)
19 * webkit2gtk
20 * sqlite3
21 * gstreamer (for video playback)
22
23
24## Installing
25
26Luakit is available on most Linux Distributions and BSD system via their
27package managers.
28
29 * Debian/Ubuntu: apt-get install luakit
30 * Gentoo: emerge luakit
31 * Arch: pacman -S luakit
32 * FreeBSD: pkg install luakit
33 * OpenBSD: pkg\_add luakit
34
35
36## Installing from source
37
38Make sure you system fulfills the requirements listed above, then
39install luakit with the following commands:
40
41    $ git clone https://github.com/luakit/luakit.git
42    $ cd luakit
43    $ make
44    $ sudo make install
45
46Uninstall with:
47
48    $ sudo make uninstall
49
50Note: If you are on BSD, you might need to use `gmake`.
51
52## Use Luakit
53
54Just run:
55
56    $ luakit [URI..]
57
58Or to see the full list of luakit launch options run:
59
60    $ luakit -h
61
62Luakit works with vim-style bindings. To find out more, type `:help`
63within luakit.
64
65
66## Configuration
67
68Luakit configuration files are written in `lua`. This means you can
69program within the config files, which make the configuration options
70endless.
71
72There are three ways to customize luakit.
73
74**1. within luakit**
75
76After starting luakit, type `:settings`. This page shows you webkit
77engine related settings.
78
79**2. userconf.lua**
80
81Create a file called `$HOME/.config/luakit/userconf.lua`. Then add
82your configuration there. Configuration in this file supersedes
83configuration set in `:settings`
84
85**3. copy rc.lua**
86
87The most powerful customization is to copy `rc.lua` from
88`/etc/xdg/luakit/rc.lua` to `$HOME/.config/luakit/rc.lua`
89
90When this file is found, `/etc/xdg/luakit/rc.lua` is ignored.
91
92Be informed that when luakit is updated, you may need to adapt changes
93from `/etc/xdg/luakit/rc.lua` to your own copy.
94
95
96## Colors and fonts
97
98Copy the `/etc/xdg/luakit/theme.lua` to
99`$HOME/.config/luakit/theme.lua`. You can change fonts and colors there.
100
101
102## Development Information
103
104This section contains information about the compile and testing process.
105
106Luakit honors the PREFIX variable. The default is `/usr/local`.
107
108    $ make PREFIX=/usr
109    $ sudo make PREFIX=/usr install
110
111Note that you also have to set the PREFIX when uninstalling!
112
113Luakit uses `luajit` by default, to use `lua` you can turn off luajit
114with:
115
116    $ make USE_LUAJIT=0
117
118To build with local paths (interesting for package maintainer and
119contributers). You may wish to build luakit with:
120
121    $ make DEVELOPMENT_PATHS=1
122
123This lets you start luakit from the build directory, using the config
124and libraries within the same.
125
126Take a look at `config.mk` for more options.
127
128If you made changes and want to know if luakit is still working properly,
129you can execute the test suite with:
130
131    $ make test
132
133
134## Tipps and fixes:
135
136**Video playback**
137
138If you're having issues with video playback, this is often related to
139buggy graphic drivers. It often helps to set LIBGL\_DRI3\_DISABLE before
140starting luakit:
141
142    $ export LIBGL_DRI3_DISABLE=1
143
144**Webkit process limit**
145
146Since Webkit 2.26, the webkit engine used in luakit is creating a new
147process for each tab. This has the benefit that a webkit webview crash
148will only crash one tab. The downside is lower performance and increased
149memory use.
150
151If you value speed over stability, you can ask webkit to use one process
152for all tabs by setting WEBKIT\_USE\_SINGLE\_WEB\_PROCESS before
153starting luakit:
154
155    $ export WEBKIT_USE_SINGLE_WEB_PROCESS=1
156
157**HiDPI Monitor Configuration**
158
159If you have a HiDPI monitor (> 1920x1080) and find that web pages are
160too small, you can change the `webview.zoom_level` on the settings page
161(luakit://settings/) to 150 or 200 as per your taste.
162
163
164## Reporting Bugs
165
166Please note that most rendering related issues come from the used webkit
167engine and can not be fixed by luakit. If you think your issue is luakit
168related, please use the bug tracker at:
169
170  https://github.com/luakit/luakit/issues
171
172Coming from a very old luakit version? Look at the
173[MIGRATION](MIGRATE.md) document.
174
175
176## IRC
177
178Join us in `#luakit` on the `irc.oftc.net` network.
179
180