1
0
Fork 0
mirror of https://github.com/koniu/recoll-webui.git synced 2025-10-03 09:49:25 +02:00
No description
Find a file
koniu 788061bdd8 Merge pull request #24 from medoc92/master
Fixes to the directory filter list
2014-02-03 14:31:14 -08:00
examples examples: add opera-open.sh 2012-12-22 20:18:51 +00:00
static css: show preview/dl links only when hovering 2013-10-07 22:07:50 +02:00
views Some browsers (chrome, ie) do not support margin-left style specs on <option> elements. Use multiple nbsps instead. Yes ugly... temp workaround while waiting for a master of style ? 2014-02-03 17:40:28 +01:00
bottle.py whitespace/linebreak cleanup 2012-12-18 10:45:55 +00:00
rclconfig.py py: import rclconfig and use it 2013-10-24 13:42:40 +02:00
README.rst py: add cli options for bind address/port 2013-12-31 03:19:56 +01:00
webui-standalone.py py: add cli options for bind address/port 2013-12-31 03:19:56 +01:00
webui-wsgi.py py: fix setting of cwd again 2013-10-08 12:55:09 +02:00
webui.py When computing dirs for filtering, need to limit the replacement of the top_path to 1, else for, e.g. /mnt, we end up replacing all / characters... 2014-01-23 09:45:25 +01:00

============
Recoll WebUI
============

**Recoll WebUI** is a Python-based web interface for **Recoll** text search
tool for Unix/Linux.

.. image:: http://i.imgur.com/n8qTnBg.png

* WebUI homepage: https://github.com/koniu/recoll-webui
* Recoll homepage: http://www.lesbonscomptes.com/recoll

Requirements
============

All you need to use the WebUI is:

* Python 2.x
* Recoll 1.17+
* web browser

Download
========
If your Recoll version is 1.18.2 or newer:
        https://github.com/koniu/recoll-webui/archive/master.zip
If your Recoll version version is 1.17-1.18.1:
        https://github.com/koniu/recoll-webui/archive/v1.18.1.zip
You can fetch the full git repository like this:
        ``git clone https://github.com/koniu/recoll-webui.git``

Usage
=====

**Recoll WebUI** can be used as a standalone application or through a web
server via WSGI/CGI. Regardless of the mode of operation you need Recoll
to be configured on your system as the WebUI only provides a front-end for
searching and does not handle index configuration etc.

Run standalone
--------------
Run ``webui-standalone.py`` and connect to ``http://localhost:8080``.

There's some optional command-line arguments available:::

    -h, --help            show this help message and exit
    -a ADDR, --addr ADDR  address to bind to [127.0.0.1]
    -p PORT, --port PORT  port to listen on [8080]

Run as WSGI/CGI
---------------
TODO


Issues
======

Can't open files when Recoll WebUI is running on a server
---------------------------------------------------------
By default links to files in the result list correspond to the file's
physical location on the server. If you have access to the file tree
via a local mountpoint or eg. ftp/http you can provide replacement
URLs in the WebUI settings. If in doubt, ask your network administrator.

Opening files via local links
-----------------------------
For security reasons modern browsers prevent linking to local content from
'remote' pages. As a result URLs starting with file:// will not, by default,
be opened when linked from anything else than pages in file:// or when
accessed directly from the address bar. Here's ways of working around it:

Firefox
~~~~~~~
1. Insert contents of ``examples/firefox-user.js`` into
   ``~/.mozilla/firefox/<profile>/user.js``
2. Restart Firefox

Chrom{e,ium}
~~~~~~~~~~~~
Install *LocalLinks* extension:

* http://code.google.com/p/locallinks/
* https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida

Opera
~~~~~
1. Copy ``examples/opera-open.sh`` into your PATH (eg. ``/usr/local/bin``)
2. Go to ``Tools > Preferences > Advanced > Programs > Add``
3. In ``Protocol`` field enter ``local-file``
4. Select ``Open with other application`` and enter ``opera-open.sh``
5. In WebUI settings replace all ``file://`` with ``local-file://``