uzbl - web interface tools which adhere to the unix...

32

Upload: others

Post on 27-Jun-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck
Page 2: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl - web interface tools which adhere to the unixphilosophy

Dieter Plaetinck

23-07-2010

Page 3: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

The unix philosophy.

Page 4: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Examples

I mpd

I dmenu

I awesome/xmonad/dwm/wmii/...

I dzen

I bitlbee

I bashrun

Page 5: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Stats

I start april 2k9

I 60 contributors

I 11k LOC

I 13 releases

I 100+ scripts

I less active latest few months, many pending patches

Page 6: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl?

I uzbl-core

I uzbl-browser

I uzbl-tabbed

I ...

Page 7: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-core

Page 8: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck
Page 9: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-core command examples

I uri uri

I reload

I zoom in

I spawn command

I event name args

Page 10: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-core event examples

I DOWNLOAD REQUEST uri

I LOAD PROGRESS percentage

I FORM ACTIVE

I GEOMETRY CHANGED WxH+Xpos+Ypos

I KEY PRESS key/button

Page 11: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser

Page 12: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 13: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 14: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 15: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 16: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 17: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 18: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 19: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 20: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser features

I config file

I event manager

I EM plugins: bind, mode, keycmd, completion, progressbar

I handlers: downloads, authentication, cookies, schemes

I history & bookmarks

I yanking & pasting

I forms: auto filling & editing with external editor

I page search & zooming

I link hinting

I and more..

Page 21: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

History

Writing the entries:

s e t on even t = even t ON EVENT@on event LOAD FINISH spawn @ s c r i p t s d i r / h i s t o r y . sh

f i l e=$XDG DATA HOME/ uzb l / h i s t o r yecho ‘ date +’%Y−%m−%d %H:%M:%S ’ ‘ ” $6 $7” >> $ f i l e

Picking an entry:

@cbind U = spawn @ s c r i p t s d i r / l o a d u r l f r om h i s t o r y . sh

f i l e=$XDG DATA HOME/ uzb l / h i s t o r ygoto=‘ tac $ f i l e | dmenu | cut −d ’ ’ −f 3 ‘echo ” u r i $goto ” > $4

Page 22: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

History

Writing the entries:

s e t on even t = even t ON EVENT@on event LOAD FINISH spawn @ s c r i p t s d i r / h i s t o r y . sh

f i l e=$XDG DATA HOME/ uzb l / h i s t o r yecho ‘ date +’%Y−%m−%d %H:%M:%S ’ ‘ ” $6 $7” >> $ f i l e

Picking an entry:

@cbind U = spawn @ s c r i p t s d i r / l o a d u r l f r om h i s t o r y . sh

f i l e=$XDG DATA HOME/ uzb l / h i s t o r ygoto=‘ tac $ f i l e | dmenu | cut −d ’ ’ −f 3 ‘echo ” u r i $goto ” > $4

Page 23: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser history

Page 24: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-browser link hinting

@cbind f l ∗ = s c r i p t @ s c r i p t s d i r / f o l l o w . j s ’ @ f o l l ow k e y s %s ’

Page 25: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-tabbed

Page 26: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl-tabbed

Page 27: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Example: Dynamic zooming

Page 28: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Example: Adding a bookmark, external script

@cbind B = spawn @ s c r i p t s d i r / i n s e r t bookma rk . sh

Page 29: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Example: Adding a bookmark, builtin way

@cbind <Ct r l>b<t ag s :> = sh ’ echo −e ”$6 %s ” >> $ f i l e ’

Page 30: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

Uzbl related/inspired browsers

I surf

I vimperator

I jumanji

I luakit

I vimprobable

I vimpression

I vimnav

I dwb

I pyweb

I ffuzbl

I Ezbl

Page 31: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

roadmap, current limitations

I less NIH keybindings, config language

I performance?

I isolatedworlds to bring back Uzbl js object

Page 32: Uzbl - web interface tools which adhere to the unix philosophydieter.plaetinck.be/files/uzbl-archcon2010.pdfUzbl - web interface tools which adhere to the unix philosophy Dieter Plaetinck

www.uzbl.org