new: Hister guide - #2019
Conversation
| Prerequisites | ||
| ============= | ||
|
|
||
| You might want to expose Hister under a specific sub domain: |
There was a problem hiding this comment.
Don't mention additional document roots. Keep it simple. Don't use subfolders. Always use the standard document root ~/html. Always assume the document root is empty.
| .. include:: includes/web-backend.rst | ||
|
|
||
| .. note:: | ||
| Uberspace's web backend will handle HTTPS and proxy all requests (including WebSockets) to your Hister service. |
There was a problem hiding this comment.
I'd strike that note. Web Backends are explained in the backends manual article.
|
|
||
| Download the latest Hister binary from the releases_ page and place it in your ``~/bin`` directory: | ||
|
|
||
| [user@stardust ~]$ wget -O ~/bin/hister https://github.com/asciimoo/hister/releases/download/v0.15.0/hister_0.15.0_linux_amd64 |
There was a problem hiding this comment.
this is missing a
.. code-block::
|
|
||
| Create additional users accordingly. | ||
|
|
||
| Security |
There was a problem hiding this comment.
this is not necessary. Files and folders in your home folder are not world-readable by default.
|
|
||
| .. code-block:: console | ||
|
|
||
| [user@stardust ~]$ hister create-config ~/.config/hister/config.yml |
There was a problem hiding this comment.
include (expected) command output
✓ Config file created: /home/isabell/.config/hister/config.yml
|
|
||
| .. code-block:: console | ||
|
|
||
| [isabell@stardust ~]$ hister listen |
There was a problem hiding this comment.
include expected command output
2026-07-10T11:30:52Z | INFO | server/server.go:189 > Starting webserver Address=0.0.0.0:4433 URL=https://isabell.uber.space/ Version="v0.15.0 (6c51924)"
| To run Hister behind Uberspace's native web backend (reverse proxy), you need to: | ||
|
|
||
| - Set Hister to listen on interface ``0.0.0.0:4433`` by editing the entry server/address in ``~/.config/hister/config.yml``. | ||
| - Configure your public domain that you have created above by setting ``server/base_url`` e.g. ``https://hister.user.uber.space``. |
| autostart=true | ||
| autorestart=true | ||
| stopsignal=INT | ||
| startsecs=5 |
There was a problem hiding this comment.
If you're setting up a supervisord-service, make sure to include startsecs=60 in the service definition.
| ------------------------------- | ||
|
|
||
| Now, connect the Uberspace web backend to your running Hister instance | ||
| (use the port configured in your configuration file, like ``4433`` and your configured domain name instead of /): |
There was a problem hiding this comment.
just assume the default.
.. note::
Hister is running on port 4433.
| Usage | ||
| ===== | ||
|
|
||
| Test your setup by visiting your instance in a browser: ``https://hister.user.uber.space``. |
Guide for setting up Hister (personal search index).