Source

contentbrowser / README.md

Content browser

WARNING: at this early stage of the development, don't even think about any backward compatibility.

Motivations

  • Fed up with bloated websites full of noise.
  • Tired of cmd+++++ on each website I visit.
  • Exhausted by crapy social widgets.

Installing

Create a virtualenv (optional) and install dependencies from requirements.txt with pip:

$ pip install -r requirements.txt

You need to have a redis-server launched too for persistence/cache. Python 2.6+ is required, Python 3 is not (yet) supported.

Enjoying

Launch the python script:

$ python src/browser.py
INFO:werkzeug: * Running on http://127.0.0.1:5000/

Go to the running URL and enjoy a clutter free browsing experience!

Bonus: web pages are archived in redis, thanks to whoosh you can even search in your history :)

Hacking

BSD licensed:

take my code with you
and do whatever you want
but please don’t blame me

License Haiku

Helping

This is an opiniated tool, here are some features I'd like to add and I'll probably not accept your pull-request otherwise so if you plan to contribute, please contact me before or discuss using issues.

  • pre-fetching of links in background (on hover?), need to be asynchronuous
  • deal with non-article pages (homepages, lists, etc)
  • add tests using casperjs
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.