Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 30 lines (22 sloc) 0.883 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
STATUS: this was an experiment, if you like it fork it and make pull requests

you need tubes in this directory for webless to work (http://github.com/marianoguerra/tubes)

a simple example:

* get webless from github
* get tubes from github and put the tubes dir inside the webless dir
   (webless/tubes)
* you will need the bindings for webkit in gtk to make this work
   (aptitude install python-webkit on ubuntu)
* cd webless
* python server.py
* firefox http://0.0.0.0:8000
* put www.google.com/search?q=sublime on the url field
* put the following on the code field:

var page = $("html");
page.html($(".l"));
$('.l').wrap('<li></li>');
page.wrapInner('<ul></ul>');

* click on Test (you should get a list of links below)
* click on Send (you should get a link to the script that is stored on the server)


TODO:

* add persistent link storage
* find a real usage for this :P
Something went wrong with that request. Please try again.